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

3
votes
2answers
324 views

Making aptitude work properly through a proxy invoked with sudo

I use Debian 6. I'm sitting behind a proxy, so I configured Debian to use that proxy. Browsing and any HTTP and FTP activity through GUI works OK. I wanted to update my package repository so I typed ...
37
votes
4answers
10k views
0
votes
7answers
4k views

why apt-get cannot install any application?

when trying to install application using apt-get, I always get /bin/sh: /usr/sbin/dpkg-preconfigure: not found for example: $sudo apt-get install libssl-dev [sudo] password for camino: ...
0
votes
0answers
24 views

aptitude safe-upgrade: apache2_invoke : already enabled messages

On my Ubuntu 14.04 LTS server I run unattended upgrades using that script in /etc/cron.daily: #! /bin/sh PATH=/usr/bin:/bin:/usr/sbin:/sbin export DEBIAN_FRONTEND=noninteractive date >> ...
82
votes
5answers
39k views

Aptitude vs. apt-get: Which is the recommended (aka the “right”) tool to use?

Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely ...
0
votes
2answers
182 views

Upgraded from Wheezy to Jessie, but aptitude still hits wheezy URLs

I upgraded Wheezy to Jessie by following the release notes - chapter 4, but now when I do an aptitude update I get URLs containing wheezy in them: root@debian:/home/paullik# aptitude update Hit ...
4
votes
6answers
3k views

Smallest linux with apt repositories? [closed]

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
0answers
20 views

How to hide foreign architecture?

I have an amd64 Debian but I had to install some i386 packages. I don't want to remove this foreign architecture, I just would like to hide it so that, for example, when I seach for libc in aptitude I ...
3
votes
3answers
2k views

How do I remove configuration files for a program that's not installed?

I'm basically looking for an apt-get purge for programs that are already uninstalled. (I'm running Debian squeeze and using aptitude for package management.)
0
votes
1answer
36 views

Will application version <X> be available natively in Ubuntu version <Y>?

Specifically I want to know if MySQL 5.7 will be available natively (fully integrated, no fiddling with repositories) in Ubuntu 15.04. But I'm really more interested in a general answer, like, is ...
1
vote
4answers
964 views

Upgrading only certain packages via the getdeb repo

I'm a bit confused about how getdeb.net works now. The last time I got a package from there was a while ago; at that point the procedure was that you would just download a .deb for each package that ...
34
votes
6answers
42k 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.
21
votes
3answers
15k views

Which Debian package architecture am I using?

What's the command to find out which Debian package architecture I'm using? eg, on a 64 bit x86, I'm expecting something like amd64, i386 on 32 bit x86 and darwin-x86_64 from OSX 10.6 (via Fink).
0
votes
1answer
24 views

Aptitude aborts automatically after running resolver

I'm having some issues with aptitude. I'm attempting to install all the fonts available in the debian repos, but apt-get doesn't seem to like the command apt-get install ttf* (its conflict resolver ...
2
votes
1answer
191 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, ...
2
votes
2answers
51 views

List of recently installed apt packages

I just spent an hour trying to solve dependencies to build freeCAD from their slightly outdated Wiki. Is there a way to get the packages I installed in the last hour or day with apt-get or aptitude? ...
8
votes
6answers
7k 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 ...
1
vote
1answer
455 views

How to fix apt-get missing key error after adding deb source for package?

I'm using Mint Linux 17. I tried to install a debian package by adding a repository to my source list like so: # add heroku repository to apt echo "deb http://toolbelt.heroku.com/ubuntu ./" > ...
68
votes
4answers
173k 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 ...
0
votes
1answer
28 views

Cannot install any packages in Ubuntu

I am not able to install any packages into my system using apt. My system was perfect yesterday Have a look please: $ sudo apt-get install indicator-stickynotes Reading package lists... Done ...
128
votes
8answers
55k 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 ...
0
votes
1answer
9 views

How to temporarily try dev branch of a Git project for which I used aptitude to install stable branch?

I have installed Zathura via aptitude and am running the Debian “Jessie” packaged version. I want to temporarily download and test the development branch from their Git project repository. I’m afraid ...
0
votes
1answer
35 views

aptitude search something # print only package names, no extranea?

aptitude (the less-user-hostile wrapper on apt-get, for you oldsters), searches and prints too much when it finds packages. If I only want to see package names, what type? I suppose a clever cut ...
69
votes
3answers
88k 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.
1
vote
1answer
228 views

Installed Wheezy package on Squeeze, how to rollback?

I 'accedentley' installed a wheezy package (by including the source in my sources.list) to a squeeze system. For the last few days I've been trying to restore it but I have no luck. Here is the ...
7
votes
3answers
8k 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
888 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 ...
33
votes
8answers
7k 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 ...
25
votes
7answers
18k 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
198 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
18k 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
22k 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 ...
1
vote
0answers
456 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
117 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 ...
1
vote
1answer
174 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
7k 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
33 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 ...
4
votes
1answer
4k 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 ...
55
votes
3answers
11k 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
2k 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
7k 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
10k 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
811 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 ...
8
votes
3answers
5k 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 ...
2
votes
1answer
162 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 ...
0
votes
0answers
710 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
52k 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 ...
4
votes
2answers
941 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
183 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, ...
13
votes
2answers
25k 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 ...