PDA

View Full Version : [ubuntu] How to use apt-get to install aptitude...



rnickens
February 26th, 2009, 03:03 PM
I would like to have both apt-get and aptitude working properly on my Ubuntu 8.10 install. However, when I run the command apt- get install aptitude I get the following error:


root@lixx-xxx:~# apt-get install aptitude
Reading package lists... Done
Building dependency tree... Done
Package aptitude 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 aptitude has no installation candidate
root@lixx-xxx:~#

(Ubuntu 8.10 minimal install)

Can someone please provide a working example to help me have both tools installed properly?
Thank you.
-rln

sudosu
February 26th, 2009, 03:13 PM
I would like to have both apt-get and aptitude working properly on my Ubuntu 8.10 install. However, when I run the command apt- get install aptitude I get the following error:


root@lixx-xxx:~# apt-get install aptitude
Reading package lists... Done
Building dependency tree... Done
Package aptitude 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 aptitude has no installation candidate
root@lixx-xxx:~#

(Ubuntu 8.10 minimal install)

Can someone please provide a working example to help me have both tools installed properly?
Thank you.
-rln

have you tried something like:


sudo aptitude install <something-you-want-to-install>

or you can just run


sudo aptitude

to run aptitude.

rnickens
February 27th, 2009, 12:15 AM
Here is a solution that worked for me:



# apt-get update
# apt-get upgrade
# apt-get install aptitude