News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

apt-get no installation candidate problem - FIXED

Started by corcorelli, March 08, 2008, 02:29:24 PM

Previous topic - Next topic

corcorelli

Don't know if this was happening to anyone else. I kept having this problem when I would apt-get install <package> and go the error either saying <package> was not found or that there was no installation candidate. No amount of tinkering with sources.list seemed to solve this. However, following found in the Ubuntu forums fixed the problem ...


cd /etc/apt
sudo mv sources.list sources.list.bak
sudo vi sources.list # then save and quit (:wq) to create a blank file
sudo apt-get update
sudo rm sources.list
sudo cp sources.list.bak sources.list
sudo apt-get update


After this I was able to apt-get to my heart's content.

totallymaxed

#1
Quote from: corcorelli on March 08, 2008, 02:29:24 PM
Don't know if this was happening to anyone else. I kept having this problem when I would apt-get install <package> and go the error either saying <package> was not found or that there was no installation candidate. No amount of tinkering with sources.list seemed to solve this. However, following found in the Ubuntu forums fixed the problem ...


cd /etc/apt
sudo mv sources.list sources.list.bak
sudo vi sources.list # then save and quit (:wq) to create a blank file
sudo apt-get update
sudo rm sources.list
sudo cp sources.list.bak sources.list
sudo apt-get update


After this I was able to apt-get to my heart's content.


Just do the following if apt-get install <package> fails;

sudo apt-get update <return>
sudo apt-get install 'your_package' <return>


Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

corcorelli

Hi Andrew

I tried this first thing when I had problems as it should work just as you say. For some reason it didn't. I only got joy once I had updated with a blank sources file and then updated again with my original sources list back in place. I've no idea why this should be, but its the only way I got apt-get back in operation.

Joe