PDA

View Full Version : apt-get (SOLVED)



nu-buntu
Nov 3rd 2009, 02:54 PM
greetings,

i'm somewhat new to linux, im trying to use the apt-get command but i keep on getting this "error" message for anything i want to download

Package firefox is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package firefox has no installation candidate

^^^ the above message happens when i try to install "adept" or "synaptic" etc..

firefox is already installed and when i attempt to run it it get this:

The program 'firefox' can be found in the following packages:
* firefox-3.5
* firefox-3.0
Try: apt-get install <selected package>
firefox: command not found

thanks

GreyGeek
Nov 3rd 2009, 03:02 PM
The correct command sequence is

sudo apt-get install somepackagename

and then when prompted for it you must enter your account password. (Not root, because there is NO root password). Running apt-get without sudo fails because YOU do not have permission to access the files that apt-get needs unless you use sudo.