Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

apt.conf.d: Multiple declarations of one value?

8 views
Skip to first unread message

mad

unread,
Oct 27, 2014, 1:40:06 PM10/27/14
to
Hi!

Does anyone know if it is possible to specify a configuration option in
apt.conf.d multiple times and all values will be used?

Example:

$ cat 50unattended-upgrades
[...]
Unattended-Upgrade::Origins-Pattern {
"origin=Debian,archive=${distro_codename},label=Debian-Security";
};
[...]

$ cat 90local
[...]
Unattended-Upgrade::Origins-Pattern {
"origin=Other,label=Other-Security";
};
[...]

Or will then only the last definition be used?

TIA
mad


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/544E820...@sharktooth.de

Andrei POPESCU

unread,
Oct 27, 2014, 5:10:03 PM10/27/14
to
On Lu, 27 oct 14, 18:34:04, mad wrote:
> Hi!
>
> Does anyone know if it is possible to specify a configuration option in
> apt.conf.d multiple times and all values will be used?
>
> Example:
>
> $ cat 50unattended-upgrades
> [...]
> Unattended-Upgrade::Origins-Pattern {
> "origin=Debian,archive=${distro_codename},label=Debian-Security";
> };
> [...]
>
> $ cat 90local
> [...]
> Unattended-Upgrade::Origins-Pattern {
> "origin=Other,label=Other-Security";
> };
> [...]
>
> Or will then only the last definition be used?

Try

apt-config dump | grep Unattended-Upgrade

Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt
signature.asc
0 new messages