Hi Santiago, Santiago Vila <sanvila@debian.org> writes: > Could this be your problem? > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111039 > This is it! I do have a diverged /etc/os-version (alongside /etc/os-version.debootstrap). To show the diff: ,---- | $ diff -u /etc/os-release{,.debootstrap} | --- /etc/os-release 2025-05-17 02:13:04.000000000 -0700 | +++ /etc/os-release.debootstrap 2025-05-12 12:25:00.000000000 -0700 | @@ -1,11 +1,10 @@ | -PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" | +PRETTY_NAME="Debian GNU/Linux 13 (trixie)" | NAME="Debian GNU/Linux" | -VERSION_ID="12" | -VERSION="12 (bookworm)" | -VERSION_CODENAME=bookworm | +VERSION_ID="13" | +VERSION="13 (trixie)" | +VERSION_CODENAME=trixie | +DEBIAN_VERSION_FULL=13.0 | ID=debian | HOME_URL="https://www.debian.org/" | SUPPORT_URL="https://www.debian.org/support" | BUG_REPORT_URL="https://bugs.debian.org/" | -IMAGE_ID=live | -BUILD_ID=20250517T091304Z `---- And the suggested fix[1] works! ,---- | $ sudo sh -c "dpkg-divert --quiet --local --remove --no-rename /etc/os-release && apt install --reinstall base-files" | Summary: | Upgrading: 0, Installing: 0, Reinstalling: 1, Removing: 0, Not Upgrading: 3 | Download size: 73.2 kB | Space needed: 0 B / 111 GB available | | Get:1 https://deb.debian.org/debian trixie/main amd64 base-files amd64 13.8 [73.2 kB] | Fetched 73.2 kB in 0s (306 kB/s) | (Reading database ... 361533 files and directories currently installed.) | Preparing to unpack .../base-files_13.8_amd64.deb ... | Unpacking base-files (13.8) over (13.8) ... | Setting up base-files (13.8) ... | Processing triggers for install-info (7.1.1-1+b1) ... | Processing triggers for man-db (2.13.1-1) ... `---- Now I have the correct /etc/os-release: ,---- | $ cat /etc/os-release | PRETTY_NAME="Debian GNU/Linux 13 (trixie)" | NAME="Debian GNU/Linux" | VERSION_ID="13" | VERSION="13 (trixie)" | VERSION_CODENAME=trixie | DEBIAN_VERSION_FULL=13.0 | ID=debian | HOME_URL="https://www.debian.org/" | SUPPORT_URL="https://www.debian.org/support" | BUG_REPORT_URL="https://bugs.debian.org/" `---- And unattended-upgrades is now back to normal: ,---- | $ sudo unattended-upgrade --dry-run --apt-debug -v | Starting unattended upgrades script | Allowed origins are: origin=Debian,codename=trixie,label=Debian, origin=Debian,codename=trixie,label=Debian-Security, origin=Debian,codename=trixie-security,label=Debian-Security | Initial blacklist: | Initial whitelist (not strict): | Upgrading linux-image-amd64:amd64 < 6.12.38-1 | 6.12.41-1 @ii umH > due to linux-headers-amd64:amd64 | Installing linux-image-6.12.41+deb13-amd64:amd64 as Depends of linux-image-amd64:amd64 | Installing linux-headers-6.12.41+deb13-amd64:amd64 as Depends of linux-headers-amd64:amd64 | Upgrading linux-libc-dev:amd64 < 6.12.38-1 | 6.12.41-1 @ii umH > due to linux-headers-6.12.41+deb13-amd64:amd64 | Installing linux-headers-6.12.41+deb13-common:amd64 as Depends of linux-headers-6.12.41+deb13-amd64:amd64 | Installing linux-kbuild-6.12.41+deb13:amd64 as Depends of linux-headers-6.12.41+deb13-amd64:amd64 | Upgrading linux-image-amd64:amd64 < 6.12.38-1 | 6.12.41-1 @ii umH > due to linux-headers-amd64:amd64 | Installing linux-image-6.12.41+deb13-amd64:amd64 as Depends of linux-image-amd64:amd64 | Installing linux-headers-6.12.41+deb13-amd64:amd64 as Depends of linux-headers-amd64:amd64 | Upgrading linux-libc-dev:amd64 < 6.12.38-1 | 6.12.41-1 @ii umH > due to linux-headers-6.12.41+deb13-amd64:amd64 | Installing linux-headers-6.12.41+deb13-common:amd64 as Depends of linux-headers-6.12.41+deb13-amd64:amd64 | Installing linux-kbuild-6.12.41+deb13:amd64 as Depends of linux-headers-6.12.41+deb13-amd64:amd64 | Option --dry-run given, *not* performing real actions | Packages that will be upgraded: linux-headers-amd64 linux-image-amd64 linux-libc-dev | Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log | Upgrading linux-headers-amd64:amd64 < 6.12.38-1 | 6.12.41-1 @ii umH > due to linux-image-amd64:amd64 | Installing linux-headers-6.12.41+deb13-amd64:amd64 as Depends of linux-headers-amd64:amd64 | Upgrading linux-libc-dev:amd64 < 6.12.38-1 | 6.12.41-1 @ii umH > due to linux-headers-6.12.41+deb13-amd64:amd64 | Installing linux-headers-6.12.41+deb13-common:amd64 as Depends of linux-headers-6.12.41+deb13-amd64:amd64 | Installing linux-image-6.12.41+deb13-amd64:amd64 as Depends of linux-headers-6.12.41+deb13-amd64:amd64 | Installing linux-kbuild-6.12.41+deb13:amd64 as Depends of linux-headers-6.12.41+deb13-amd64:amd64 | /usr/bin/dpkg --status-fd 10 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-NOi2b8 | /usr/bin/dpkg --status-fd 10 --configure --pending | All upgrades installed | The list of kept packages can't be calculated in dry-run mode. `---- Problem solved. Thanks everyone! [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111039#103 -- Regards, Xiyue Deng
Attachment:
signature.asc
Description: PGP signature