aptitude
Table of Contents
If you want to send us your comments, please do so. Thanks
More on comments
aptitude
On the command line
Install a package | |
---|---|
aptitude install nano | |
aptitude search '~c' | Search for configuration files of uninstalled packages |
aptitude search ?any-version (nano) | This does not work. It is unclear from the man page / manual what the right syntax is |
aptitude purge '~c' | Remove the configuration files of uninstalled packages. Check if you really want to delete them |
aptitude clean | Remove all previously downloaded .deb files from the package cache directory (/var/cache/apt/archives) |
aptitude autoclean | Remove cached packages which can no longer be downloaded |
Ncurses
Settings
Some useful settings via: Options > Preferences. Changes to the default settings
Setting | State | Remark |
---|---|---|
Prompt for confirmation at exit | Off | |
Use a 'status line' download indicator for all downloads | Off | Off: Full screen. On: 3 lines on the bottom of the screen |
Display tabs for the information area | On | |
Install recommended packages automatically | Off | |
Remove unused package automatically | Off |
Some remarks
- The menu is activated with CTRL-c or F10
- When searching ( initiated with “ / ” )
- make sure to escape “ + ” tokens with a “ \ ” Example: libstdc++6 becomes libstdc\+\+6
- Use ^ to find package names which start with the text searched for
- Limit the search result view to only the found packages start the seach with 'l' (letter el). Undo this limiting by going to the Search item in the menu: Do CTRL-T → → → → u (→ is RIGHT ARROW)
- Packages can be set on hold before updating / installing (that is after U > g) with the : key
- They can not been set on hold in the main screen.
- They can be unhold in the main screen via the : key
- Packages can set on hold via the command line interface with the aptitude hold <packagename> command. Multiple, space separated, packages are allowed
Keybindings
Key | Function | Remark |
---|---|---|
l | Open the searchbox |
Locations
/etc/apt/sources./list /var/lib//apt /var/lib/aptitude
Errors and Warnings
When running
aptitude install something.deb
The file something.deb exists
Couldn't find any package whose name or description matched "something.deb"
Solution: aptitude can not install files which are not in the repository. Run dpkg -i something.deb
When updating
Preconfiguring packages ... Can't exec "/tmp/debconf.config.wkPzbH": Permission denied at /usr/share/perl/5.28/IPC/Open3.pm line 178. open2: exec of /tmp/debconf.config.wkPzbH configure 1.5.71 failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
insserv: warning: current start runlevel(s) (empty) of script `apache-htcacheclean' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `apache-htcacheclean' overrides LSB defaults (0 1 6).
When purging configuration files
W: Can not find PkgVer for 'packagename'
Possible bugs
- When checking dependencies packages which are installed are not always shown as installed in the “Why Installed” view
Useful links
Debian on aptitude
Aptitude manual
Aptitude Survival Guide
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.
aptitude.txt · Last modified: 26-02-2024 16:00 by wim