APT: Difference between revisions

No edit summary
No edit summary
 
Line 4: Line 4:
Dump the config via <tt>apt-config dump</tt>.
Dump the config via <tt>apt-config dump</tt>.


To disable retention of downloaded packages in the archive directory, add <tt>APT::Keep-Downloaded-Packages "false"</tt> to the config. Note that the <tt>Binary::apt::APT::Keep-Downloaded-Packages</tt> variable only applies to the <tt>apt</tt> binary, <i>not</i> e.g. <tt>apt-get</tt>.
To disable retention of downloaded packages in the archive directory, add <tt>APT::Keep-Downloaded-Packages "false";</tt> to the config. Note that the <tt>Binary::apt::APT::Keep-Downloaded-Packages</tt> variable only applies to the <tt>apt</tt> binary, <i>not</i> e.g. <tt>apt-get</tt>.