Bug#1100398: apt: Reinstall does not reinstall all files

sidt <[email protected]>
Newsgroups gmane.linux.debian.apt.devel
Message-ID <174186463528.120585.10987118199573748563.reportbug__1222.79322692833$1741864887$gmane$org@linux.local>
Package: apt
Version: 2.9.33
Severity: normal
X-Debbugs-Cc: [email protected]

I've modified "/etc/logrotate.d/apt" few months ago. I wanted to restore the
original with "apt reinstall apt", but nothing happens even after removing
"/etc/logrotate.d/apt". Original "/etc/logrotate.d/apt" is not getting
installed in "/etc/logrotate.d/".

Relevant debug logs:
--------------------

Setting up apt (2.9.33) ...
D020000: trigproc_activate_packageprocessing pkg=apt:amd64
D000001: deferred_configure updating conffiles
D000020: conffderef in='/etc/apt/apt.conf.d/01autoremove'
result='/etc/apt/apt.conf.d/01autoremove'
D000020: deferred_configure '/etc/apt/apt.conf.d/01autoremove' (=
'/etc/apt/apt.conf.d/01autoremove') useredited=-1 distedited=-1 what=2
D000020: conffderef in='/etc/cron.daily/apt-compat'
result='/etc/cron.daily/apt-compat'
D000020: deferred_configure '/etc/cron.daily/apt-compat' (=
'/etc/cron.daily/apt-compat') useredited=-1 distedited=-1 what=2
D000020: deferred_configure '/etc/logrotate.d/apt' (= '/etc/logrotate.d/apt')
useredited=1 distedited=0 what=202
D000001: dpkg_db_reopen: unchanged /var/lib/dpkg/diversions, skipping
D020000: post_postinst_tasks - trig_incorporate
D000400:   checking group ...
D000400:     checking possibility  -> libc6
D000400:       checking non-provided pkg libc6:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libc6
D000400:       checking non-provided pkg libc6:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D020000: check_triggers_cycle pnow=libc-bin:amd64 first
Processing triggers for libc-bin (2.41-4) ...
D000001: dpkg_db_reopen: unchanged /var/lib/dpkg/diversions, skipping
D020000: post_postinst_tasks - trig_incorporate
D000400:   checking group ...
D000400:     checking possibility  -> bsdextrautils
D000400:       checking non-provided pkg bsdextrautils:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> groff-base
D000400:       checking non-provided pkg groff-base:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> debconf
D000400:       checking non-provided pkg debconf:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libc6
D000400:       checking non-provided pkg libc6:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libgdbm6t64
D000400:       checking non-provided pkg libgdbm6t64:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libpipeline1
D000400:       checking non-provided pkg libpipeline1:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> libseccomp2
D000400:       checking non-provided pkg libseccomp2:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> zlib1g
D000400:       checking non-provided pkg zlib1g:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D020000: tortoise_in_hare pnow=man-db tortoise=man-db
D020000: tortoise_in_hare pnow=man-db tortoise=man-db
tortoisetrig=/usr/share/man
D040000: tortoise_in_hare pnow=man-db tortoise=man-db
tortoisetrig=/usr/share/man haretrig=/usr/share/man
D020000: tortoise_in_hare pnow=man-db tortoise=libc-bin
D020000: tortoise_in_hare pnow=man-db tortoise=libc-bin tortoisetrig=ldconfig
D020000: tortoise_in_hare pnow=man-db tortoise=libc-bin OK
Processing triggers for man-db (2.13.0-1) ...
D000001: dpkg_db_reopen: unchanged /var/lib/dpkg/diversions, skipping
D020000: post_postinst_tasks - trig_incorporate


-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --


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


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


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


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.17-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.145
ii  base-passwd             3.6.6
ii  debian-archive-keyring  2023.4
ii  libapt-pkg7.0           2.9.33
ii  libc6                   2.41-4
ii  libgcc-s1               14.2.0-17
ii  libseccomp2             2.5.5-2+b1
ii  libssl3t64              3.4.1-1
ii  libstdc++6              14.2.0-17
ii  libsystemd0             257.4-1
ii  sqv                     1.2.1-6+b1

Versions of packages apt recommends:
ii  ca-certificates  20241223

Versions of packages apt suggests:
ii  apt-doc         2.9.33
ii  aptitude        0.8.13-7
ii  dpkg-dev        1.22.18
ii  gnupg           2.4.7-4
ii  gnupg2          2.4.7-4
ii  powermgmt-base  1.38
ii  synaptic        0.91.5+nmu2
ii  wajig           4.1.3

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.