Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [aptitude]

Alternative package manager for Debian and derivatives which offers an ncurses based text-mode user interface (TUI) and mighty search patterns besides a command-line interface similar to `apt-get`'s command-line interface.

Filter by
Sorted by
Tagged with
4
votes
1answer
15k views

How to deal with a package “not upgraded” using aptitude?

I'm (still) on Debian Squeeze. When I try to upgrade the system, here's what I get: [09:20]/root# aptitude upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly ...
4
votes
1answer
981 views

apt-get doesn't upgrade openssl on debian 7

I'm facing the following problem. If I run the command sudo apt-get upgrade, I get: Reading package lists... Done Building dependency tree Reading state information... Done The following ...
4
votes
1answer
895 views

How to de-select packages of a certain architecture in aptitude

I'm upgrading some Debian machines from i386 arch to amd64. The process is fairly straitforward: Boot a amd64 kernel For libraries which are multiarch-capable, install their amd64 companion libraries ...
4
votes
1answer
2k views

apt-get won't install: dpkg: files list for package 'gnome-themes-standard-data' is not a regular file

I'm trying to install packages to get a webcam stream running on my raspberry pi. All of a sudden, apt-get is totally busted -- every time I try to install, reinstall or purge something that might fix ...
4
votes
1answer
849 views

Apt/Aptitude: how to filter packages that are impossible to install?

Especially when running Sid, there are many packages that become non-installable as the dependencies change ABI versions, or the dependencies themselves may have been dropped. It'd be good to know how ...
3
votes
3answers
2k views

The following packages have been kept back

The following packages have been kept back: click click-dev gir1.2-click-0.4 libclick-0.4-0 0 BUT It's clear that all of these packages are either on hold somewhere, or are in some kind of conflict, ...
3
votes
3answers
1k views

write error: No space left on device. Removing 'extra' packages. Attempting recovery

The Issue: When I type: dpkg-query -Wf '${Package;-40}${Priority}\n' | sort -b -k2,2 -k1,1 I get a list of all installed packages on my machine, example: ... raspberrypi-artwork ...
3
votes
2answers
381 views

What's this magic? aptitude search “?provides(java-runtime)”

I was looking up how to install java on Debian properly. Came to Debian wiki (that's one thing I really appreciate on Debian, the wiki's great), and this is the tip I got there: Just run aptitude ...
3
votes
1answer
4k views

Is there apt-get for windows?

If it was windows machine that had no internet connection, what I would do is downloading the installers/programs on another computer, putting them on a portable media, copying them on the ...
3
votes
2answers
5k views

aptitude search output

Can someone please explain this situation to me? I do an aptitude search and I get the following output: i package ... p package:i386 ... When I start up synaptic I see package but not package:...
3
votes
1answer
2k views

`apt clean` vs `apt-get clean`

Are these apt commands identical to their apt-get counterparts / namesakes? apt clean apt-get clean apt autoclean apt-get autoclean apt autoremove apt-get autoremove They do appear to be. ...
3
votes
1answer
99 views

why isn't there a historical pretty log of your upgrades, downgrades and package purges in Debian?

I wanted to lookup history of my recent updates/upgrades, package purges and found out that other than aptitude and ugly dpkg.log, there doesn't seem to be anything else which does the same. See ...
3
votes
1answer
354 views

How to change automatically installed package to intentionally intalled?

I'm using Debian Jessie. I'm installing some software Z from source. Installation instructions inform that it depends on Debian package X. I checked in aptitude and I have this package installed, but ...
3
votes
1answer
971 views

How can I regenerate the default '/etc/' config files?

I've removed nagios3 with apt-get remove nagios3 and then removed the files in by using the command sudo rm -R /etc/nagios* Now when I run apt-get install nagios3 the config files (/etc/nagios3/*) ...
3
votes
1answer
440 views

Aptitude: What is the filter for virtual packages that has been provided?

The ~v flag will display all virtual packages, but even if they are already provided by installed packages, adding ~i will make the list empty as virtual packages can never have i flag. So how do I ...
3
votes
1answer
36 views

How to highlight specific packages before updating

Whenever I update my Debiansystem I use sudo aptitude (update/upgrade) in my terminal. This sometimes produces a long confusing list of upgradeable packages. Most of those are not of my interest. ...
3
votes
2answers
3k views

Upgrade a single package from a target release

In Debian Squeeze I have installed a packageX from debian-backports. Q1: When I apt-get dist-upgrade or aptitude full-upgrade, what release is checked for updates for packageX? debian-backports or ...
3
votes
1answer
1k views

Trying to use multiple Debian repositories

General situation: I need to port a Qt project from MS Visual Studio 2010 to Linux (Debian). In VS 2010 I have Qt v.4.8.1, but in Debian it is Qt v.4.6.1. This difference prevents me from porting, as ...
3
votes
2answers
93 views

Having trouble successfully installing the DDD debugger from Debian Stable (Buster)

Having trouble successfully installing the DDD debugger from Debian Stable (Buster) When I try to install ddd, it fails to install with errors: robert@pip2:/tmp$ sudo -l [sudo] password for robert: ...
3
votes
1answer
5k views

How to “autoremove” packages with aptitude package manager?

Is it possible to perform an equivalent of apt-get autoremove with aptitude? If yes, how? The Debian Administrator's Handbook says that aptitude "autoremoves" packages automatically, but this is not ...
3
votes
1answer
223 views

Install ffmpeg on Netgear NAS running custom Debian Squeeze

I have a Netgear NAS ("ReadyNAS Duo v2") running a custom variant of Debian 6.0.3 "squeeze", named "RAIDiator-arm 5.3.12" and there are no further upgrades as the device is no longer supported. I ...
3
votes
2answers
218 views

How to install all with aptitude

How to install all packages whitch aptitude found? For example: sudo aptitude search eclipse ... found approximately 66 packages. How I can install all found packages without write separately?
3
votes
2answers
2k views

Aptitude regex engine

I was trying to lookup the versions of libdb in the debian archives with something like that: $ aptitude search '~S~ndev$(~nlibdb~(\d~|-~)!~v~rnative)' which didn't work as expected so I changed the ...
3
votes
2answers
5k views

How do I update my Debian kernel?

Essentially I have an Ubuntu laptop and a board running Debian. I have installed the same kernel module and a utility for managing it on each, using aptitude. Unfortunately, the versions of the ...
3
votes
1answer
762 views

Best way to use checkinstall

I was researching on how to properly uninstall Debian programs that I have compiled from source. One advice was to make use of checkinstall. But then I read on some sites that checkinstall doesn't ...
3
votes
1answer
1k views

Weird issue with unmet dependencies when cloning package states from earlier installation on same machine [closed]

I've been doing the usual routine of saving the package selections and also marking the packages as auto or manual as outlined in the question and answer here: Restoring all data from backup of dpkg --...
2
votes
2answers
2k views

How can I “reset” aptitude?

I've inherited an Ubuntu 12.04 server where package management is completely messed up. Any aptitude command fails with errors like this one (for every installed package, as far as I can tell): dpkg: ...
2
votes
3answers
5k views

How to download a package and its dependencies with aptitude?

I am trying to download some debian packages and their dependencies in a directory. I tried using the command aptitude download <package_name> it downloaded the package without its dependencies....
2
votes
1answer
325 views

Does aptitude use safe-upgrade or full-upgrade in visual mode?

Sometimes I use Aptitude in visual mode[1] to install and upgrade packages. When I upgrade from the command line using apt or aptitude I often use full-upgrade instead of safe-upgrade[2] because I ...
2
votes
1answer
5k views

Can't install Python3 package in Debian 7

I get error while installing python3 in Debian 7 (I have all updates installed): root@nuclight:~# aptitude install python3 The following NEW packages will be installed: python3 python3.2{a} 0 ...
2
votes
2answers
2k views

What is the equivalent of apt-key in aptitude?

I'm trying to avoid apt-* commands and trying to use aptitude for all my Debian systems. In my documentations, there is a command written as sudo apt-key add key.asc. How do I convert apt-key add ...
2
votes
2answers
1k views

'less' width issues

I'm connecting to my Linux boxes (primarily Debian Squeeze) using Putty for Windows. Whenever I run a 'less' command, e.g. on an aptitude search, less truncates the listing to much less than my ...
2
votes
1answer
390 views

How do I tell aptitude that a package was installed manually?

I installed a package (don't remember which one but that shouldn't be too important) and needed "the real" ffmpeg so I purged the debian package for ffmpeg and installed the other version manually. ...
2
votes
1answer
777 views

How to tell aptitude to automatically install missing packages instead of removing ones to statisfy dependencies?

I'm creating a live CD with Skype using live-build. During the build process I run the following script: # Download the Skype package suitable for Squeeze wget --continue -O skype-install.deb \ ...
2
votes
1answer
61 views

How can I know the dependency packages for an installed package?

Let's say I installed foo. The foo package depends on bar, so bar was installed to satisfy foo's dependency. How can I get Ubuntu/APT/dpkg to tell me that bar is installed because foo is installed? ...
2
votes
2answers
3k views

How to find packages only which package name equal to text with aptitude?

When I want to search a package which named 'z', aptitude find packages which contains 'z' in package name same as 'like' in SQL, so aptitude find a lots of packages. How can I search packages which ...
2
votes
1answer
55 views

Start installation of a package, when the working one is finished

Suppose I install a package on a debian based system via sudo aptitude install mypackage. Suppose the package is big and it takes long to download and install it. When I notice that I want to ...
2
votes
2answers
375 views

Automatic package is installed, but aptitude doesn't find any rdependencies. What am I doing wrong?

I have a package lm-sensors automatically installed on my Ubuntu 10.04, but can't find packages, that depend on it: $ aptitude show lm-sensors Package: lm-sensors New: yes State: installed ...
2
votes
1answer
58 views

aptitude, /etc/alternatives/aptitude, symbolic linking and aptitude-curses

Sometimes when I am running aptitude I run into problems (don't get me wrong, I love aptitude especially the CLI client, I have always wondered why /etc/alternatives/aptitude exist. I do know what /...
2
votes
1answer
795 views

Why does this apt-get remove have such deep consequences?

I wonder if someone can help me sort through my situation. So I'm keeping my system up-to-date today using the documented Debian process: sudo apt-get update sudo apt-get dist-upgrade The latter ...
2
votes
2answers
188 views

Finding packages in various states via aptitude

I'm looking for packages which have following situations : Deleted but not purged Installed but not configured I tried things like aptitude search '~id' and aptitude search "~iuA" but neither ...
2
votes
1answer
61 views

Force installation of doc packages

I often find myself missing documentation when I happen to be offline. For this reason, I would like to force aptitude to install the corresponding doc packages whenever I install a package. Is there ...
2
votes
2answers
2k views

sources.list - Understanding syntax & structure in Debian

I have generated a sources.list file from http://debgen.simplylinux.ch/ with the following parameters: Country: New Zealand Release: Stable (Wheezy) Architecture: 64 bits Sources: Main + Security + ...
2
votes
1answer
1k views

aptitude current status warning

After installing some packages, i.e. sudo aptitude install pkg ... , there was a line of message at the end of the output: Current status: 0 updates [-66]. What does it mean?
2
votes
1answer
174 views

How does aptitude in Debian 9 allow fine-grained purging of the new package list?

I was curious to note Stephen's assertion in Is there a way to list packages from date when they entered Debian archive? that: In Debian 9, aptitude allows finer-grained purging of the new packages ...
2
votes
1answer
388 views

How is the “apt” command different from “apt-get” and “aptitude”?

I just found out that there is a third command for installing packages available on my Debian GNU/linux distribution. I found that I can install packages by simply entering: apt install sl ...
2
votes
1answer
82 views

aptitude produces output twice

For quite a while, I get a double output of some messages from aptitude. Here’s an example: > sudo aptitude install mpw Couldn't find package "mpw". However, the following packages contain "mpw" ...
2
votes
1answer
712 views

apt-get can not detect correct python version when using update-alternatives for python

I have installed different python versions on my Linux Mint DE. I used the update-alternatives --set statement to easily switch between the different versions. Unfortunately sometimes apt-get install ...
2
votes
1answer
420 views

apt-get purge <packages> works fine, aptitude still has <packages> marked as installed and reinstalls them

I've created a Rubygem to help with removing old kernels that have built up over years and are eating disk space. (My laptop had 19 kernels on it alone, and on a small SSD...) I want to use apt-get ...
2
votes
1answer
318 views

Aptitude Search reports package installed, while Aptitude Show reports it not installed - how is that possible?

me@friedly_server:~$ aptitude search samba-tools i samba-tools - Samba testing utilities me@friendly_server:~$ aptitude show samba-tools ...