Michael Vogt лет назад: 20
Родитель
Сommit
624630eb4c
2 измененных файлов с 17 добавлено и 2 удалено
  1. 4 2
      debian/changelog
  2. 13 0
      doc/apt-get.8.xml

+ 4 - 2
debian/changelog

@@ -1,8 +1,10 @@
 apt (0.6.45ubuntu15) edgy; urgency=low
 
-  * 
+  * doc/apt-get.8.xml:
+    - documented autoremove, thanks to Vladimír Lapáček 
+      (lp: #62919)
 
- -- 
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Mon,  2 Oct 2006 15:53:14 +0200
 
 apt (0.6.45ubuntu14) edgy; urgency=low
 

+ 13 - 0
doc/apt-get.8.xml

@@ -47,6 +47,7 @@
          <arg>check</arg>
          <arg>clean</arg>
          <arg>autoclean</arg>
+         <arg>autoremove</arg>
       </group>   
    </cmdsynopsis>
  </refsynopsisdiv>
@@ -203,6 +204,11 @@
      <literal>APT::Clean-Installed</literal> will prevent installed packages from being
      erased if it is set to off.</para></listitem>
      </varlistentry>
+
+     <varlistentry><term>autoremove</term>
+     <listitem><para><literal>autoremove</literal> is used to remove packages that were automatically
+     installed to satisfy dependencies for some package and that are no more needed.</para></listitem>
+     </varlistentry>
    </variablelist>
  </refsect1>
  
@@ -382,6 +388,13 @@
      Configuration Item: <literal>APT::Get::Remove</literal>.</para></listitem>
      </varlistentry>
 
+     <varlistentry><term><option>--auto-remove</option></term>
+     <listitem><para>If the command is either <literal>install</literal> or <literal>remove</literal>,
+     then this option acts like running <literal>autoremove</literal> command, removing the unused
+     dependency packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>.
+     </para></listitem>
+     </varlistentry>
+
      <varlistentry><term><option>--only-source</option></term>
      <listitem><para>Only has meaning for the
      <literal>source</literal> and <literal>build-dep</literal>