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

0
votes
1answer
47 views

I cannot update Kali Linu via apt-get, it's a fresh install

I installed Kali for the second time, since I tried to update to Sana. And now I can't update. It looks like it's using kotnet.kuleuven.be:53 specifically, which is this University log-in for internet ...
3
votes
1answer
5k views

Postgresql has broken apt-get on Ubuntu

On ubuntu 12.04, whenever I try to install a package using apt-get I'm greeted by: The following packages have unmet dependencies: postgresql-9.1 : Depends: postgresql-client-9.1 but it is not going ...
11
votes
3answers
750 views

Making aptitude less verbose

People say that aptitude on Debian is so much better than apt-get, but I find it less usable. (See examples below.) Is there any configuration magic for aptitude to get rid of those useless status ...
0
votes
0answers
58 views

Where to reset sources list for apt-get on Mint 16?

I'm trying to fix my apt-get, as it has been 404ing on sudo apt-get update for a while. However, nothing I do seems to fix these numerous 404s. It appears that there are many different places to ...
5
votes
3answers
2k views

In Ubuntu/Debian, how do I mark a package as non-auto removable?

Suppose I have a package (a Python package in this case) that I install using Synaptic. Because the version of this package is somewhat outdated, I remove it in Synaptic and then install it using ...
3
votes
2answers
337 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 ...
38
votes
4answers
11k 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
31 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 >> ...
84
votes
5answers
40k 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
268 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
31 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
3k 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
38 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
975 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
44k 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
16k 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
27 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
197 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, ...
4
votes
2answers
66 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
635 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 ./" > ...
70
votes
4answers
186k 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
29 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 ...
140
votes
8answers
59k 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
36 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 ...
73
votes
3answers
95k 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
244 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
1k 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 ...
34
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 ...
27
votes
7answers
19k 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
206 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
19k 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
23k 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
503 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
136 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
221 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
8k 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
35 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
8k 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
916 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
163 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 ...