Aptitude is a front-end to the Advanced Packaging Tool (APT) It was initially created for Debian.
Questions tagged [aptitude]
73 questions
65
votes
15 answers
Ubuntu apt-get unable to fetch packages
Just installed Ubuntu 13.10 (Saucy) and anything I try to install via sudo apt-get install is failing and throwing a series of 404 erros.
Example - installing tmux
[jeeves@HAL] hadoop > sudo apt-get install tmux
[sudo] password for jeeves:
Reading…

user2490003
- 10,706
- 17
- 79
- 155
20
votes
5 answers
What is the equivalent of "aptitude" in Mac OSX?
How to do "sudo apt-get install " on OSX?

TIMEX
- 259,804
- 351
- 777
- 1,080
15
votes
3 answers
Aptitude: Show What Repo a Package is From, Listing Contents of a Repo
I am trying to prepare an AWS instance by installing some software, one of which is Fabric for Python, a SSH connection library.
By default, AWS's yum doesn't have access to a Fabric distribution to install, so I was attempting to figure out where…

kand
- 2,268
- 6
- 31
- 43
15
votes
4 answers
why can't I find my.cnf?
I did updatedb.
I did locate my.cnf
But I cannot find it? Nothing.
(I installed MYSQL using aptitude install mysql-server, and mysql does work right now.)

TIMEX
- 259,804
- 351
- 777
- 1,080
14
votes
2 answers
How can I change the apt-get install directory
The default install directory of apt-get is /opt.
Can I change it to another directory?

tommywang
- 339
- 1
- 5
- 9
12
votes
1 answer
Multiple package manager
Is there a pitfall of using multiple package managers? Could I use Redhat's yum with Debian's aptitude at the same time?
I came across this article and this infographic -
I was inclined to choose Debian, but a quick VM install showed that the…

Lord Loh.
- 2,437
- 7
- 39
- 64
10
votes
4 answers
How can I list the minimal set of Debian packages needed to recreate a set of installed packages?
Is there a way of getting dpkg, apt-get or aptitude to produce a list of the packages which need to be installed on a second machine to duplicate the packages installed on a first?
i.e. If I've installed a plain Ubuntu server, chose the sshd option…

fadedbee
- 42,671
- 44
- 178
- 308
9
votes
1 answer
Where did the ubuntu wily sources go?
I'm getting fail to fetch errors in apt-get:
Failed to fetch
http://us.archive.ubuntu.com/ubuntu/dists/wily/main/binary-amd64/Packages
404 Not Found [IP: 91.189.91.23 80]
I thought it was a sources error, or DNS error, but /dists/wily/ really…

Justin
- 113
- 2
- 7
6
votes
2 answers
How can I upgrade python on a Debian server?
I just created a Debian 8 cloud server and it has Python 2.7.9 installed by default, even after sudo aptitude update && sudo aptitude upgrade. How can I upgrade python (in /usr/bin/python) to 2.7.11?
I've tried:
sudo aptitude install python
sudo…

YPCrumble
- 26,610
- 23
- 107
- 172
6
votes
2 answers
Which shell command can find all packages providing a certain full virtual package?
As the title suggests, I want to get a list of all packages that provide a certain virtual package.
A way of doing this would be to write a shell script that parses all output of
apt-cache search -f .*
and outputs all packages that have the virtual…

Ioan Alexandru Cucu
- 11,981
- 6
- 37
- 39
5
votes
0 answers
Apt update "failed to fetch" in WSL (yes me too). Connectivity ok but apt fails
Unlike for many others, it did not turn out that I have firewall software blocking me. I turned it all off. Including Windows Firewall and Windows Defender. Problem never was with connectivity. I can manually wget the files in question. Just apt…

abalter
- 9,663
- 17
- 90
- 145
5
votes
3 answers
How to access local apt repository that requires HTTP authentication?
I have a couple of local apt repositories which are setup using reprepro.
I want to make them available on the local network and I've got next to everything setup.
However the repos are sitting behind https (this is out of my control) so when I…

Kash.
- 242
- 1
- 3
- 15
4
votes
4 answers
Multiple versions of python when installing a package with aptitude
On a lab machine where I can't just go clobbering things, there appears to be more than one version of python installed.
If I python --version I see 2.7.1.
I've installed numpy via "apt-get install numpy" and it says it is installed, but when I…

zsimpson
- 765
- 2
- 9
- 13
4
votes
1 answer
apt-cache showing 2 records for the same package?
I upgraded Parallels Plesk 10 yesterday using apt-get or aptitude. Now when I run apt-cache, there seems to be the same package (psa) installed twice with different versions! How is that possible and how do I fix…

Rolf
- 5,550
- 5
- 41
- 61
4
votes
1 answer
"The database cluster was initialized with CATALOG_VERSION_NO X, but the server was compiled with CATALOG_VERSION_NO Y." after aptitude upgrade
Today I upgraded all software on Ubuntu server:
sudo aptitude upgrade
Upgrading performed not well and postgresql didn't start, with error:
alex@db:~$ sudo service postgresql start
* Starting PostgreSQL 9.5 database server[fail]
* The PostgreSQL…

Alexander Matveev
- 298
- 1
- 3
- 12