Manual for apt
Tom H
tomh0665 at gmail.com
Sun Sep 4 14:07:43 UTC 2016
On Sun, Sep 4, 2016 at 9:12 AM, Ralf Mardorf <silver.bullet at zoho.com> wrote:
> On Sun, 4 Sep 2016 08:20:21 -0400, Tom H wrote:
>>
>> I've filed a bug report for "Keep-Downloaded-Packages":
>>
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836598
>
> taking a look at...
>
> [weremouse at moonstudio ~]$ cat /etc/apt/apt.conf.d/70debconf
> // Pre-configure all packages with debconf before they are installed.
> // If you don't like it, comment it out.
> DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
> [weremouse at moonstudio ~]$ cat /etc/apt/apt.conf.d/99synaptic
> APT::Install-Recommends "true";
> [weremouse at moonstudio ~]$ apt-config dump | grep Color
> Binary::apt::APT::Color "1";
> [weremouse at moonstudio ~]$ apt-config dump | grep Fancy
> Binary::apt::DPkg::Progress-Fancy "1";
>
> ...I noticed "Binary::apt::". Perhaps "Binary::apt-get::" is possible,
> ^^^ ^^^^^^^
> too.
>
> [weremouse at moonstudio ~]$ apt-config dump | grep apt-get
> [weremouse at moonstudio ~]$ echo $?
> 1
>
> The apt-get defaults are
>
> APT::Keep-Downloaded-Packages "1"
> APT::Color "0"
> DPkg::Progress-Fancy "0"
>
> so there's no need to mention it by a config.
Thanks. That's the explanation!
I installed ldnsutils with
# cat /etc/apt/apt.conf.d/90test
Binary::apt-get::APT::Keep-Downloaded-Packages "0";
and I got
# ls /var/cache/apt/archives/
lock partial
#
I installed dnsutils with
# cat /etc/apt/apt.conf.d/90test
Binary::apt-get::APT::Keep-Downloaded-Packages "1";
and I got
# ls /var/cache/apt/archives/
bind9-host_1%3a9.10.3.dfsg.P4-10.1_amd64.deb
libbind9-140_1%3a9.10.3.dfsg.P4-10.1_amd64.deb
libisc160_1%3a9.10.3.dfsg.P4-10.1_amd64.deb
liblwres141_1%3a9.10.3.dfsg.P4-10.1_amd64.deb
dnsutils_1%3a9.10.3.dfsg.P4-10.1_amd64.deb
libdns162_1%3a9.10.3.dfsg.P4-10.1_amd64.deb
libisccc140_1%3a9.10.3.dfsg.P4-10.1_amd64.deb lock
geoip-database_20160812-1_all.deb libgeoip1_1.6.9-2_amd64.deb
libisccfg140_1%3a9.10.3.dfsg.P4-10.1_amd64.deb partial
#
More information about the ubuntu-users
mailing list