Bug#964335: linux-headers-amd64: cannot upgrade to 5.7.6-1
Package: linux-headers-amd64
Version: 5.6.14-2
Severity: serious
Try to upgrade linux-headers-amd64, linux-image-amd64 and linux-perf to
version 5.7.6-1 results in the following errors:
Preparing to unpack .../15-linux-headers-amd64_5.7.6-1_amd64.deb ...
dpkg-maintscript-helper: error: file '/usr/share/doc/linux-headers-amd64/copyright' not owned by package 'linux-headers-amd64'
dpkg-maintscript-helper: error: file '/usr/share/doc/linux-headers-amd64/changelog.gz' not owned by package 'linux-headers-amd64'
dpkg-maintscript-helper: error: directory '/usr/share/doc/linux-headers-amd64' contains files not owned by package linux-headers-amd64, cannot switch to symlink
dpkg: error processing archive /tmp/apt-dpkg-install-zTcKDN/15-linux-headers-amd64_5.7.6-1_amd64.deb (--unpack):
new linux-headers-amd64 package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../16-linux-image-amd64_5.7.6-1_amd64.deb ...
dpkg-maintscript-helper: error: file '/usr/share/doc/linux-image-amd64/NEWS.Debian.gz' not owned by package 'linux-image-amd64'
dpkg-maintscript-helper: error: file '/usr/share/doc/linux-image-amd64/copyright' not owned by package 'linux-image-amd64'
dpkg-maintscript-helper: error: file '/usr/share/doc/linux-image-amd64/changelog.gz' not owned by package 'linux-image-amd64'
dpkg-maintscript-helper: error: directory '/usr/share/doc/linux-image-amd64' contains files not owned by package linux-image-amd64, cannot switch to symlink
dpkg: error processing archive /tmp/apt-dpkg-install-zTcKDN/16-linux-image-amd64_5.7.6-1_amd64.deb (--unpack):
new linux-image-amd64 package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../17-linux-perf_5.7.6-1_amd64.deb ...
dpkg-maintscript-helper: error: file '/usr/share/doc/linux-perf/copyright' not owned by package 'linux-perf'
dpkg-maintscript-helper: error: file '/usr/share/doc/linux-perf/changelog.gz' not owned by package 'linux-perf'
dpkg-maintscript-helper: error: directory '/usr/share/doc/linux-perf' contains files not owned by package linux-perf, cannot switch to symlink
dpkg: error processing archive /tmp/apt-dpkg-install-zTcKDN/17-linux-perf_5.7.6-1_amd64.deb (--unpack):
new linux-perf package pre-installation script subprocess returned error exit status 1
Note that the dependencies linux-headers-5.7.0-1-{amd64,common},
linux-image-5.7.0-1-amd64, linux-perf-5.7 have all been upgrade to
5.7.6-1, it's only the versionless one that fail.
(I'm not sure how to tag this as also affecting the linux-image-amd64 and
linux-perf packages, sorry.)
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.7.0-1-amd64 (SMP w/12 CPU cores)
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=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages linux-headers-amd64 depends on:
ii linux-headers-5.6.0-2-amd64 5.6.14-2
linux-headers-amd64 recommends no packages.
linux-headers-amd64 suggests no packages.
-- no debconf information
Reply to: