/usr/share/doc/aptitude/html/en/ch02s02s06.html is in aptitude-doc-en 0.8.10-6ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | <?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Managing automatically installed packages</title><link rel="stylesheet" type="text/css" href="aptitude.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" title="aptitude user's manual" /><link rel="up" href="ch02s02.html" title="Managing packages" /><link rel="prev" href="ch02s02s05.html" title="Understanding and managing package trust" /><link rel="next" href="ch02s03.html" title="Resolving package dependencies" /><link rel="preface" href="pr01.html" title="Introduction" /><link rel="chapter" href="ch01.html" title="Chapter 1. Getting started" /><link rel="chapter" href="ch02.html" title="Chapter 2. aptitude reference guide" /><link rel="chapter" href="ch03.html" title="Chapter 3. aptitude frequently asked questions" /><link rel="chapter" href="ch04.html" title="Chapter 4. Credits" /><link rel="reference" href="rn01.html" title="Command-line reference" /><link rel="refentry" href="rn01re01.html" title="aptitude" /><link rel="refentry" href="rn01re02.html" title="aptitude-create-state-bundle" /><link rel="refentry" href="rn01re03.html" title="aptitude-run-state-bundle" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Managing automatically installed packages</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s02s05.html"><img src="images/prev.gif" alt="Prev" /></a> </td><th width="60%" align="center">Managing packages</th><td width="20%" align="right"> <a accesskey="n" href="ch02s03.html"><img src="images/next.gif" alt="Next" /></a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="secAutoInstall"></a>Managing automatically installed packages</h3></div></div></div><p>
To install one package, it is often necessary to install
several others (to fulfill its dependencies). For instance,
if you wish to install the
<code class="systemitem">clanbomber</code> package, you must also
install the package <code class="systemitem">libclanlib2</code>.
If you remove <code class="systemitem">clanbomber</code> again, you
probably no longer need the
<code class="systemitem">libclanlib2</code> package; <span class="command"><strong>aptitude</strong></span>
will attempt to detect this and automatically remove the
<code class="systemitem">libclanlib2</code> package.
</p><p>
It works like this: when you install a package, <span class="command"><strong>aptitude</strong></span>
will automatically install any other packages on which it
depends. These packages are marked as having been
<span class="quote">“<span class="quote">automatically installed</span>”</span>; <span class="command"><strong>aptitude</strong></span> will monitor them and
remove them when they are no longer depended upon by any
manually installed package
<a href="#ftn.idm1912" class="footnote" id="idm1912"><sup class="footnote">[10]</sup></a>
. They will appear in the preview as
<span class="quote">“<span class="quote">packages being removed because they are no longer used.</span>”</span>
</p><p>
As with any automatic process, there is a potential for
things to go haywire. For instance, even if a package was
automatically installed to start with, it might turn out to
be useful in its own right. You can cancel the <span class="quote">“<span class="quote">automatic</span>”</span>
flag at any time by pressing <span class="keycap"><strong>m</strong></span>; if the
package is already being removed, you can use
<span class="guimenu">Package</span> → <span class="guimenuitem">Install</span> (<span class="shortcut"><strong><span class="keycap"><strong>+</strong></span></strong></span>) to cancel the removal and clear the
<span class="quote">“<span class="quote">automatic</span>”</span> flag.
</p><div class="footnotes"><br /><hr style="width:100; text-align:left;margin-left: 0" /><div id="ftn.idm1912" class="footnote"><p><a href="#idm1912" class="para"><sup class="para">[10] </sup></a>
More precisely: they will be removed when there is no
path via Depends, PreDepends, or Recommends to them from
a manually installed package. If <a class="link" href="ch02s05s05.html#configApt-AutoRemove-SuggestsImportant">APT::AutoRemove::SuggestsImportant</a>
is true, a Suggests relationship is also enough to keep
a package installed.
</p></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02s05.html"><img src="images/prev.gif" alt="Prev" /></a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s02.html"><img src="images/up.gif" alt="Up" /></a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03.html"><img src="images/next.gif" alt="Next" /></a></td></tr><tr><td width="40%" align="left" valign="top">Understanding and managing package trust </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.gif" alt="Home" /></a></td><td width="40%" align="right" valign="top"> Resolving package dependencies</td></tr></table></div></body></html>
|