Aptitude is native packet manager for debian linux which is based on apt. I prefer to use it if available because of easiness. Below some tips on how to use it in graphic mode.
- Update packet database before do anything else by pressing
- Action on selected packages:
+for add or update;
=for hold version.
Ctr+Tto open menu with all available commands
- Aptitude uses different screens. For example during the update new screen appears but the main screen is not closed but only overlapped, you can navigate through them with
F7. And you can close any screen by pressing
q. Aptitude is quits if you close last screen.
nfor next element. Alternatively press
lfor reducing the package tree for only search results. Un-Limit is again by deleting filter or by navigation through menu-> Search->Un-Limit Display…
[Shift+U]select all packets for upgrade.
- by conflicts you can examinate them by pressing “e” and then switch between proposals by pressing
.However sometimes it’s there are just um any. Therefore to guide aptitude you ca select particular package then switch in the info-panel by pressing
Taband explicitly reject one of the proposal by pressing
r. For example you maybe want to reject any proposal of removal of that particular package.
Current state column
||-||the package is installed and all its dependencies are satisfied.|
||-||the package was removed, but its configuration files are still present.|
||-||the package and all its configuration files were removed, or the package was never installed.|
||-||the package is virtual.|
||-||the package has broken dependencies.|
||-||the package has been unpacked but not configured.|
||-||half-configured: the package’s configuration was interrupted.|
||-||half-installed: the package’s installation was interrupted.|
Action flags (what will be done)
||-||the package will be installed.|
||-||the package will be upgraded.|
||-||the package will be deleted: it will be removed, but its configuration files will remain on the system.|
||-||the package will be purged: it and its configuration files will be removed.|
||-||the package will be held back: it will be kept at its current version, even if a newer version becomes available, until the hold is cancelled.|
||-||An upgrade of the package has been forbidden.|
||-||the package will be reinstalled.|
||-||the package is “broken”: some of its dependencies will not be satisfied. aptitude will not allow you to install, remove, or upgrade anything while you have broken packages|
||-||automatically installed package as dependency|
||-||Package from Untrusted source|