Package: apt
Version: 3.3.3
Severity: minor
X-Debbugs-Cc: [email protected]

Dear Maintainer,

* What led up to the situation?

A recent u-u upgrade left file

  /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist

and I got curious whether APT would properly ignore that.

* What exactly did you do (or not do) that was effective (or
  ineffective)?

Checked the man page apt.conf(5), which says:

  The  Ignore-Files-Silently  list  can  be  used to specify which files APT
  should silently ignore while parsing the files in  the  fragment  directo‐
  ries.   Per  default  a  file  which  ends  with  .disabled,  ~,  .bak  or
  .dpkg-[a-z]+ is silently ignored. As seen in the last default value  these
  patterns can use regular expression syntax.

So according to the man page, the *.ucf-dist file would *not* be ignored.
However, "apt-config dump" shows that the default value of that variable
comprises

  Dir::Ignore-Files-Silently:: "\.ucf-[a-z]+$";

so all is well.

Probably the man page should be updated, and if only to mention that other
files are ignored as well, and that "apt-config dump" could be used to
get the complete truth.

Thanks!

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (no /etc/apt/preferences.d/CVS present) --


-- (/etc/apt/preferences.d/local-sources present, but not submitted) --


-- (/etc/apt/sources.list present, but not submitted) --


-- (no /etc/apt/sources.list.d/CVS present) --


-- (/etc/apt/sources.list.d/local-sources.list present, but not submitted) --


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.13+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt depends on:
ii  adduser                 3.159
ii  base-passwd             3.6.8
ii  debian-archive-keyring  2025.1
ii  libapt-pkg7.0           3.3.3
ii  libc6                   2.43-5
ii  libgcc-s1               16.2.0-1
ii  libseccomp2             2.6.1-1+b1
ii  libssl3t64              3.6.4-1
ii  libstdc++6              16.2.0-1
ii  libsystemd0             261.2-1
ii  sqv                     1.5.0-1

Versions of packages apt recommends:
ii  ca-certificates  20260816

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.13-8.1
ii  dpkg-dev        1.23.7
ii  gnupg           2.4.9-7
ii  powermgmt-base  1.39

-- Configuration Files:
/etc/logrotate.d/apt changed [not included]

-- no debconf information

Reply via email to