aptitude is a front-end to the Advanced Packaging Tool (APT). It displays a list of software packages and allows the user to interactively pick packages to install or remove. In addition to a curses based interface, it also has a command line interface.

learn more… | top users | synonyms

7
votes
3answers
7k views

Tell aptitude to ignore broken package

I installed a Amsynth from Lucid in Karmic using: dpkg --force-depends-version -i amsynth_1.2.2-1_i386.deb The reason for installing the Lucid version is because Karmic version is 3 years old and ...
0
votes
0answers
21 views

Is there an equivalent of arch linux's yaourt in debian?

I am an arch linux user using some debian machines. I am very used to using yaourt to install any and every random thing I can think of so that even random packages are version controlled on my ...
37
votes
3answers
50k views

How to install local .deb packages with apt-get

Is there a way to install packages store on your HD with apt-get, like a "apt-get install ./package.deb ? If not how to handle the dependencies in a very very easy way.
27
votes
8answers
6k views

How do you track which packages were installed on Ubuntu (Linux)?

(This question is very similar to 10458. It was suggested that Fedora and Ubuntu/Debian are different enough to warrant different answers.) As I use any Ubuntu setup I gradually install a number of ...
17
votes
7answers
12k views

Find packages installed from a certain repository with aptitude

I'm in search for something analog to this question: Zypper: How do I display all packages from a certain repository? Since I'm on Ubuntu, I need an aptitude based solution: How can I get a list of ...
5
votes
1answer
137 views

Upgrade from 10.04 to 12.04: apt/aptitude debug information

I have an issue mentioned here: during update from 10.04 to 12.04 The workaround: apt-get -f install -o APT::Immediate-Configure=false python-minimal seems to work, but there are two problems with ...
6
votes
1answer
14k views

How do I completely remove and reinstall Samba on Debian?

My Samba installation has become a mess, and now the services won't even start correctly anymore, for some reason. Is there a way to completely remove Samba, as if it was never there, and then ...
13
votes
7answers
21k views

How to fix broken synaptic updates: “Package is in a very bad inconsistent state”

I have a Dell Mini9 running Ubuntu 8.10. One day I had the bright idea to see if I could install a LAMP stack. I had trouble installing MySQL 5.0. I don't recall the error, but ever since all ...
0
votes
0answers
23 views

Packages in (K)ubuntu

1) First question How to list really installed packages in ubuntu? The problem of dpkg --get-selections (the command written in almost any forum) is that its second column (= install / deinstall) ...
1
vote
0answers
83 views

apt-get update still doesn't find autoconf

I'm using Debian Squeeze, was trying to update automake and then in the process of configuring found that autoconf was too old. Trying to install autoconf, I get this: apt-get install autoconf ...
0
votes
1answer
39 views

Installing build-essentials with linux-headers package

I'm trying to update the network card drivers on my Debian based server. I'm following this guide: Driver installation guide I reached the step aptitude install build-essential linux-headers-`uname ...
4
votes
6answers
2k views

Smallest linux with apt repositories?

Does someone knows a small linux distro that comes with apt package? I tried puppy linux and dsl, but I didn't like any of those. I am looking to setup a LAMP into a virtual machine with a small ...
0
votes
1answer
41 views

How do I see aptitude “Search patterns”? (~n, ~i, ~U,..)

While opening man aptitude I see this in many places: (see the section “Search Patterns” in the aptitude reference manual). How do I open this reference manual? I want to find patterns like ~i ...
7
votes
3answers
4k views

How can I specify the repository from which a package will be installed? (emacs-snapshot)

I want to install emacs-snapshot from http://emacs.orebokech.com But there is already an emacs-snapshot in Ubuntu's repositories. How can I specify the repository from which a package will be ...
0
votes
1answer
17 views

Mark package never to be installed with aptitude

I'm using aptitude as package manager in Debian. How to mark the package never to be installed by it? Because from time to time, when I install some gnome utilities etc., systemd package gets ...
3
votes
1answer
3k views

Removing iceweasel from Debian

On Debian Wheezy, when trying to remove Iceweasel, aptitude suggests, both when I try it via GUI and via aptitude remove iceweasel to also remove the following: 1) gnome ...
50
votes
3answers
10k views

What are “Super Cow Powers” and why doesn't my aptitude have them?

sudo aptitude help aptitude 0.4.11.11 Usage: aptitude [-S fname] [-u|-i] aptitude [options] <action> ... Actions (if none is specified, aptitude will enter interactive mode): ... This ...
0
votes
2answers
356 views

Debian is saying that i'm out of space when ever i try to install or remove packages

here's the return from df: ~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/debian-root 321041 310074 0 100% / udev 10240 ...
3
votes
5answers
271 views

How can I find out what distro I am running? [duplicate]

I have been assigned to do a job on a server but am unsure what dist is running. /proc/version tells me: Linux version 2.6.18-194.26.1.el5.028stab079.2 (root@rhel5-build-x64) (gcc version 4.1.2 ...
3
votes
2answers
7k views

Authenticating and adding public key for apt

I was trying to get the official mongodb for Ubuntu, following the instructions at http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages After adding the deb ...
1
vote
2answers
176 views

How do I restore original configuration file that's in the home directory?

I'm asking in general but also because I'd like to know how to restore a configuration file of the Transmission bittorrent client (apt package is named transmission-gtk). I'm on Ubuntu 13.10, and it ...
0
votes
0answers
38 views

Corrupt display when upgrading Ubuntu 12.04 to 12.04.3

I'm using Vagrant to install the precise64 box (Ubuntu 12.04), then running apt-get update and apt-get -y upgrade near the start of the provisioning to upgrade it to 12.04.3 When aptitude is set up ...
7
votes
3answers
4k views

Debian - Can't stop MySQL; permissions?

I just tried to upgrade from debian squeeze to unstable by replacing 'squeeze' with 'unstable' in /etc/apt/sources.list. The upgrade went smoothly except for mysql, which failed because it couldn't ...
45
votes
3answers
102k views

How to reinstall a package using apt-get?

It seems that my aptitude is somehow broken sudo aptitude update 0% [Working]Segmentation fault dmesg [223282.616599] aptitude[30972]: segfault at 67707f ip 7f954dcfae5d sp 7ffff5a5f950 error 4 in ...
71
votes
7answers
33k views

Find what package a file belongs to in Ubuntu/Debian?

I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is ...
2
votes
1answer
157 views

Ubuntu - compare original package and installed parameters

I'd like to compare the actual config files for, say, Apache and the ones provided in the original package. The purpose is to have a list of modifications since initial installation because I didn't ...
24
votes
6answers
33k views

Apt-cache: How to list all installed packages with version number?

apt-cache dump --installed doesn't work, it lists uninstalled packages as well. I want to list the install packages each by one line, with the installed version number.
0
votes
0answers
336 views

Unable to update libc6:armhf 2.13-38+rpi2

I'm trying to install PION package and I'm unable to do this on RaspberryPi: pi@raspberrypi ~ $ sudo aptitude install libpion-dev The following NEW packages will be installed: libc-dev-bin{a} ...
15
votes
4answers
40k views

How do I add a apt-get repository without editing /etc/apt/sources.list?

I want to add a repository to apt-get (without potentially messing up /etc/apt/sources.list) through the user of a script. This script may run multiple times so I can't just append the entry each ...
2
votes
2answers
426 views

How do I list all packages from unstable / experimental?

I'm running a Debian testing system with some packages installed from unstable or experimental, using apt pinning. How can I list all packages that come from unstable or experimental? I'd like to use ...
0
votes
1answer
173 views

Get changes to local config files with apt

When I'm updating a package and a new configuration file is shipped, I'm asked whether I want to keep my version, install the new one or view the differences. As I have to document an older server, ...
12
votes
2answers
23k views

How to get source with apt-get source in Ubuntu?

I need to install pure-ftpd from source and need to do apt-get source pure-ftpd but I get this message: E: You must put some 'source' URIs in your sources.list I found some documentation about this ...
0
votes
1answer
2k views

E: Some index files failed to download. They have been ignored…” when tunning “sudo aptitude update”?

This is what the end of output after I run sudo apt-get update on Ubuntu 12.04: 35% [Working]W: Failed to fetch http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/precise/main/source/Sources 404 ...
1
vote
2answers
304 views

How to keep a Debian install running after several apt-get dist-upgrade

I have been using my Debian install for a while and I kept dist-upgrading because I didn't want to reinstall everything after every new Release. But now I'm starting to get a few errors at the reboot ...
2
votes
1answer
86 views

Could not perform immediate configuration on 'perl'

I'm trying to upgrade a debian squeeze system to wheezy. I've done an apt-get update && apt-get -V upgrade on squeeze, then changed my source.list to reference wheezy not squeeze. then, ...
1
vote
2answers
2k views

Linux offline install apt-get

I'm new the Linux world and I have what is probably a very basic question but I can't seem to find out how to do it. I trying to find a way to make offline installs of applications I get from ...
7
votes
5answers
6k views

apt-get hangs when upgrading mysql-server-5.1

When I attempt to do the following: sudo apt-get update sudo apt-get upgrade on my Ubuntu Server 10.04 installation, it hangs at the following line: Preparing to replace mysql-server-5.1 ...
12
votes
7answers
42k views

How can I undo or rollback an “apt-get upgrade” command on Ubuntu?

Is there a way in Ubuntu to rollback or undo the last upgrade after doing an apt-get upgrade if you don't like the results?
1
vote
0answers
427 views

apt over SSH hangs on my Raspberry Pi

I have a very strange phenomenon on my R-Pi. If I run either apt or aptitude via a remote SSH shell, the processor jumps to 100% (top shows it's apt). If I connect my keyboard and run it on an ...
1
vote
1answer
448 views

Installing older version of gcc using apt-get

i am trying to install GCC version 3.2 using apt-get. But it complains the following root@chid-VirtualBox:/home/chid/Downloads# apt-get install gcc=3.2 Reading package lists... Done Building ...
1
vote
0answers
97 views

Privoxy causes problems with apt-get update

I recently got a strange problem with privoxy when using apt-get (or aptitude) to fetch new package lists. This is especially strange since it worked fine for several months... I'm running Ubuntu ...
2
votes
1answer
619 views

apt-get install: Error: Timeout was reached?

What has gone wrong if this error message appears AFTER apt-get has finished downloading and installing packages? ... Processing triggers for menu ... Error: Timeout was reached Edit: This ...
4
votes
3answers
21k views

apt error: Could not perform immediate configuration on

I have issues running the following command: root@X100e:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... ...
0
votes
1answer
821 views

Installing Erlang & RabbitMQ on debian - package issues

I'm trying to get RabbitMQ setup, but something funky is going on with my dependencies. I'm running a Debian 7.1 that will be used as a server, hence has no desktop environment. I try to install ...
0
votes
0answers
107 views

libgphoto2-2-dev is installed, but pkg-config wont list it. Deb Wheezy new install

I am trying to use node-gphoto2 from npm, but I am having trouble with the libgphoto2-2-dev dependency. I've installed it, but pkg-config says it's not there. $ sudo aptitude search gphoto p ...
2
votes
0answers
82 views

Why does aptitude include Minesweeper? [closed]

Any of the more observant of you will have noticed that aptitude(8) contains the game Minesweeper, accessable from the Actions menu. Is there a particular reason or some history as to why this was ...
4
votes
3answers
965 views

Howto build g++ from source *and* pass options to `configure`

I would like to rebuild g++ with my own specific settings. Here is what I did so far: sudo aptitude install build-dep g++-4.2 mkdir trial && cd trial apt-get source g++-4.2 Now I want to ...
1
vote
1answer
340 views

Linux, Debian, Wheezy, Aptitude/DPKG consistency check

In a foolhardy and stupid attempt to solve space issues on my desktop machine, I on purpose deleted Spotify from /opt before realizing that I could remove it using the package manager. After deleting ...
1
vote
1answer
556 views

Having trouble installing VLC-2.0.3-5 on Debian

I know that the package is in the repository squeeze-backports, so I added that to my sources.list file. One apt-get update later, I attempt to use sudo apt-get -t squeeze-backports install vlc ...
26
votes
3answers
7k views

How do I find out which package owns a file?

How do I find out what Debian package a file came from?