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.
Questions tagged [aptitude]
255 questions
5
votes
1 answer
aptitude search ?narrow vs ?and
What is the difference between the ?narrow and ?and options of aptitude search? For example, why would aptitude search "?and(?installed,?origin(backports))" return results on my system, but aptitude search "?narrow(?installed,?origin(backports))"…

pavon
- 238
5
votes
1 answer
Can aptitude group or search for packages which nothing depends on?
With aptitude:
I can see the number of reverse dependencies with %r in the display format string (preferences), but how can I group/limit the package list according to that count?
I want to see/filter/search all packages which nobody depends on.

Robert Siemer
- 2,081
5
votes
1 answer
How can I search for packages depending on a exact package?
I'm experimenting a bit with aptitude search terms and finally discovered how to do search on dependencies, which is:
aptitude search '?depends("searchterm")'
The only problem that I've found is... that the "searchterm" uses expansions. If I use…

Braiam
- 35,991
4
votes
2 answers
Wildcards in aptitude
I want to do something like
aptitude -P install mypackage*
which should install all packages which start with "mypackage". How can I do this with aptitude?

student
- 18,305
3
votes
2 answers
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 search "?provides(java-runtime)" on your system to…

Tomáš Zato
- 1,776
3
votes
1 answer
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 find out what virtuals are installed?

syockit
- 753
- 2
- 6
- 17
2
votes
1 answer
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 install another package after invoking that command I…

student
- 18,305
2
votes
0 answers
Show aptitude parameters in visual mode
How can I see aptitude command line parameters when running in visual mode?
In visual mode, when an action is performed, aptitude leaves visual mode and goes back to cli. I would like to see the performed commands for didactic proposes.

Fernando César
- 263
- 2
- 10
2
votes
0 answers
Export download packages in Aptitude
I have badly damaged my Debian with some stupid stunt. I am now trying to fix it with a live CD, mounting the system on HDD, and chrooting into the system to fix it with aptitude.
I am able to fix my broken with aptitude, but the chrooted system…

Residuum
- 1,076
1
vote
1 answer
How do I get progress output from Aptitude?
I'm upgrading some packages using Aptitude, and I want to get some program-readable status updates. I thought I could direct dpkg --status-fd to a file I open in advance (regular file for this experiment, but ultimately a named pipe), like…

Toby Speight
- 8,678
1
vote
1 answer
aptitude unmarkauto trying to remove packages
aptitude unmarkauto seems to have behaved strangely for me. I had numerous packages that apt-get autoremove wanted to remove:
# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The…

Cornelius
- 11
0
votes
1 answer
Why is apt upgrading suggested packages while installing a package (no command line options)?
I'm trying to understand how aptitude works. I've downloaded all dependencies of a package (afaik all, by substituting empty dpkg status file). Later after substituting back current status file of the system when installing the package I saw apt…

Martian2020
- 1,167
0
votes
1 answer
How do I fix this "Permission denied" error I get every time I execute aptitude?
When I execute, for example, aptitude search ruby2.5, I get the following errors as first lines of the output. (It's the same error message repeated twice.)
E: Error saving configuration file - apt_dumpcfg (13: Permission denied)
E: Error saving…

apaderno
- 825
0
votes
0 answers
Aptitude reacts very slowly when fixing unresolved issues
When Aptitude's bottom status line permanently states
[1(0)/...] Resolving dependencies
(i.e. Aptitude can't find a solution given the current constraints), changing the status of any package (e.g. telling it to install a different version) results…

Matthias Urlichs
- 292
0
votes
1 answer
Aptitude wants to remove tons of packages
I've used the search engine but do not manage to find a simple answer to this simple question:
How to avoid aptitude wanting to deinstall tons of packages when a simple upgrade of a single package would suffice?

Envite
- 153