Manual for apt

Ralf Mardorf silver.bullet at zoho.com
Sun Sep 4 13:12:47 UTC 2016


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

Hi Tom,

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.

It's just odd that it's not easy to find any good documentation and
most odd is the claim that a weak man page is something user-friendly.

Since /etc/apt/apt.conf.d/ is used for every tool, it might have impact
on apt, too. Perhaps there already is separation possible by "Binary::".

I don't have time to google this now.

Regards,
Ralf





More information about the ubuntu-users mailing list