How to use apt-get to install aptitude…

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:~#

Can someone please provide a working example to help me have both tools installed properly?

Thank you.

-rln

2 Replies

Hi

do a apt-get update first … then apt-get upgrade (or safe-upgrade) and then apt-get install aptitude.

@nfn:

Hi

do a apt-get update first … then apt-get upgrade (or safe-upgrade) and then apt-get install aptitude.

Thank you. Your solution worked for me.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct