Figure 2.1. Commands available in the Actions menu
Command | Description |
---|---|
g) | → (If an installation preview is not visible, display one; otherwise, perform an install run as described in the section called “Downloading, installing, and removing packages”. |
u) | → (Bring the package list up-to-date. |
→ (U) | Flag all upgradable packages, except those which are held or forbidden from upgrading, for upgrade. |
f) | → (Discard all information about what packages are “new” (empty the “New Packages” tree). |
→ | Cancel all pending actions from this session (including installations, removals, upgrades, holds, marking as automatically installed...). This is roughly equivalent to restart the program. |
→ | Delete all the compressed packages that were downloaded by aptitude [a]. |
→ | Delete any compressed packages that were downloaded by aptitude [a] and are no longer available. These are presumed to be packages which are obsolete, and can be deleted to save disk space without requiring an otherwise unnecessary download. |
→ | Play a game of Minesweeper, as described in the section called “Playing Minesweeper”. |
→ |
Continue working as the root user; see the section called “Becoming root ”.
|
Q) | → (Quit aptitude, saving any changes to package states. |
[a]
Or any other |
Figure 2.2. Commands available in the Undo menu
Command | Description |
---|---|
Control+u) | → (Cancel the effect of the last change to a package's state, up to the last time aptitude was started, the package list was updated, or an install run was performed. |
Figure 2.3. Commands available in the Package menu
Command | Description |
---|---|
+) | → (Flag the currently selected package for installation. |
L) | → (Flag the currently selected package for reinstallation. |
-) | → (Flag the currently selected package for removal. |
_) | → (Flag the currently selected package to be purged. |
:) | → (Cancel any pending installation, upgrade, or removal of the currently selected package, and remove any hold that was set on the package. |
=) | → (Hold the currently selected package back. |
M) | → (Mark the currently selected package as an “automatically installed” package. For more information on manually and automatically installed packages, see the section called “Managing automatically installed packages”. |
m) | → (Mark the currently selected package as a “manually installed” package. For more information on manually and automatically installed packages, see the section called “Managing automatically installed packages”. |
F) | → (If a package that can be upgraded is selected, forbid it from being upgraded to the currently available version. If a version of a package is selected, forbid the package from being upgraded to that version. |
enter) | → (Display a screen containing information about the currently selected package, such as the packages it depends upon, the packages which depend upon it, and its available versions. |
i) | → (When browsing the package list, cycles through the information that can be displayed in the information area (the lower half of the display). The information area can display the long description of the selected package (its default behavior), a summary of the dependencies related to the package, or an analysis of which other packages require or suggest the selected package. |
C) | → (Display the currently selected package's Debian changelog. To see the changelog of a particular version, select that version and execute this command. |
Figure 2.4. Commands available in the Resolver menu
Command | Description |
---|---|
e) | → (Display a detailed description of the problem resolver's current suggestion (see the section called “Resolving Dependencies Interactively”). |
!) | → (Carry out the actions that the problem resolver is currently suggesting. |
.) | → (Select the problem resolver's next suggestion. |
,) | → (Select the problem resolver's previous suggestion. |
<) | → (Select the problem resolver's first suggestion. |
>) | → (Select the problem resolver's most recently generated solution (see the section called “Resolving Dependencies Interactively”). |
→ (r) | When examining a solution, toggle whether the currently selected action is rejected and move to the next action (see the section called “Resolving Dependencies Interactively”). If the action is currently approved, its approval will be cancelled. |
→ (a) | When examining a solution, toggle whether the currently selected action is approved and move to the next action (see the section called “Resolving Dependencies Interactively”). If the action is currently rejected, its rejection will be cancelled. |
Enter) | → (When examining a solution, view detailed information about the package which is affected by the currently selected action (see the section called “Resolving Dependencies Interactively”). |
→ |
Reject (as if with r)) all
actions that would break a hold on a package or
install a forbidden version. These actions are
rejected by default unless Aptitude::ProblemResolver::Allow-Break-Holds
is set to true , but this menu
item allows you to reject them manually at any
time.
| → (
Figure 2.5. Commands available in the Search menu
Command | Description |
---|---|
/) | → (Find the next package in the package list that matches a search pattern (see the section called “Search patterns”). |
\) | → (Find the previous package in the package list that matches a search pattern (see the section called “Search patterns”). |
n) | → (Repeat the last Find command. |
N) | → (Repeat the last Find command, but in the opposite direction. If the last Find command was Find Backwards, this will perform a forwards search, and vice versa. |
→ (l) | Filter the current package list by removing any packages which do not match a search pattern (see the section called “Search patterns”). |
→ | Un-filter the current package list (all packages will be shown). |
b) | → (
Find the next broken package. This is
equivalent to searching for ?broken .
|
Figure 2.6. Commands available in the Options menu
Command | Description |
---|---|
→ |
Open a new top-level view in which you can
modify aptitude's settings. Configuration
options are displayed in a tree similar to the
tree of packages; to enable or disable an
option, select it and press
Space or
Enter. Configuration options
are saved to
~/.aptitude/config
immediately upon being selected.
|
→ | Reset all options to their default values. |
Note | |
---|---|
For an overview of how views work, see the section called “Working with multiple views”. |
Figure 2.7. Commands available in the Views menu
Command | Description |
---|---|
F6) | → (Change to the next active view. |
F7) | → (Change to the previous active view. |
q) | → (Close the current view. |
→ | Create a new view of the package list. |
→ | Create a view that displays packages which are not installed, and which a package installed on your system Recommends. |
→ | Create a new view of the package list in which packages are not categorized. |
→ | Create a new view of the package list in which packages are categorized according to their debtags entries. |
Additional items | A number of additional menu items appear; these correspond to the currently active views. To switch directly to a view, select it from the menu. |
Figure 2.8. Commands available in the Help menu
Command | Description |
---|---|
→ | Display some copyright information. |
?) | → (Display the on-line help page. |
→ | Display the User's Manual (this document). |
→ | Display the aptitude FAQ. |
→ | Display a history of the major changes made to aptitude. |
→ | Display the terms under which you may copy, modify, and distribute aptitude. |