Re: APT configuration file



Kc9EYE wrote:
Following the thread on apt defaulting to install recommends, I would
like to turn this option off. A previous poster stated to add this
line to the "/etc/apt/apt.conf" file: APT::Install-Recommends "0"; . I
would love to do that but I am unable as yet to find a file named
/etc/apt/apt.conf. I do however have one in the
/usr/share/doc/apt/examples directory. I do have a directory
/etc/apt/apt.conf.d/ containing configuration fragments. I also can
run apt-config dump and get a list of the configuration options that
apt is currently using, but I haven't been able to find out where
those options are being read from. In that list of options I have one
stating "Dir::Etc::main "apt.conf", yet there is no apt.conf in
/etc/apt. I have asked google repeatedly for any information
pertaining to apt configuration, apt.conf, apt howto. Yet can find
nothing on my MIA apt.conf. So, where exactly is apt-config dump
reading these configuration options from?
Thanks,


YMMV but what I would do is
cp /usr/share/doc/apt/examples/apt.conf /etc/apt/

Now, you have a apt.conf file you can modify to suit your needs,
while referring to the apt.conf man page to understand what all those
entries mean.

Cheers

Wayne

WA1BBB


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • APT configuration file
    ... Following the thread on apt defaulting to install recommends, ... where exactly is apt-config dump ... reading these configuration options from? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • APT::Cache-Limit 16777216 still needed?
    ... for the current version of apt? ... $ which apt-get|xargs strings -a|grep -i limit ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
    (Debian-User)
  • Re: A question for the list:
    ... and X and the radeon driver... ... Assuming you want to use apt: ... experimental troll cuisine. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [APT] how to debug "Hash Sum mismatch"?
    ... Also, the apt-get update output seems to be snipped, is the CRAN ... mismatch" error indicates you have packages which don't agree with APT ... TTBOMK, and someone please correct me if I'm wrong, your troubles are ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: 64-bit Flash Player
    ... But apt then asked me to include the sid main repository ... Enabling sid main however made apt attempt to upgrade ... every piece of software in my Etch distribution! ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)