Your message dated Fri, 22 Aug 2025 15:32:30 +0000 with message-id <E1upTkk-00HKOi-0T@fasolo.debian.org> and subject line Bug#1111039: fixed in init-system-helpers 1.65.2+deb12u1 has caused the Debian Bug report #1111039, regarding Upgrading a system installed with Debian live from Bookworm to Trixie does not change /etc/os-release due to dpkg diversion to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1111039: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111039 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Upgrading a system installed with Debian live from Bookworm to Trixie does not change /etc/os-release due to dpkg diversion
- From: Johannes Schauer Marin Rodrigues <josch@debian.org>
- Date: Wed, 13 Aug 2025 22:27:03 +0200
- Message-id: <[🔎] 175511682358.1890769.229322613390076373.reportbug@localhost>
Source: live-build Version: 1:20240810 Severity: serious X-Debbugs-Cc: bluca@debian.org Hi, I'm letting this bug have RC severity because: - it interferes with files installed by another package (base-files) without coordination on actual user installations (not just during a live session) - the information "what release am i on" is a crucial part of what the OS should report correctly to the user (and to utilities querying the information) I'm CC-ing Luca because the problem got introduced by this commit in live-build: https://salsa.debian.org/live-team/live-build/-/commit/24bfe093f82ccc134ab5d91fb4058ee0b52ec942 The commit is over a year old but the problem only showed now as users are upgrading their installations that they made from a Debian Live CD from Bookworm to Trixie. The problem is this dpkg diversion: mmmm@mmmm-linuxdummyvirt:~$ dpkg-divert --list | grep os-release local diversion of /etc/os-release to /etc/os-release.debootstrap According to the commit message the diversion is supposed to guard against potential upgrades of base-files overwriting the contents of /etc/os-release with its own contents. The problem is, that the calamares installer which can be used from a Debian Live CD to permanently install Debian, creates a copy of the Debian Live system and installs that to the disk. This includes the diversion which was only meant for the live system itself. There are multiple things to fix here: 1. live-build itself should clean up the diversion after it is done installing (and potentially upgrading) the packages that end up on the live CD. The diversion is not useful anymore on the running Debian Live system itself. Once that is done, new installations made with Calamares will no longer include that diversion for the upgrade from Trixie to Forky. 2. existing installations of Debian Bookworm that were made with Calamares from the Debian Live CD should somehow have the diversion cleaned up such that the contents of /etc/os-release after the upgrade reflect what base-files ships. Since a system installed from a Debian Live CD with calamares also installs the live-* packages, maybe a new upload of live-config or live-tools could contain a postinst maintainer script which performs the necessary magic? Maybe the second part should be done quickly because there are a bunch of users out there which are currently very confused by this issue: - https://www.reddit.com/r/debian/comments/1mmbjdh/old_etcosreleases_file_after_upgrading_to_debian/ - https://www.reddit.com/r/debian/comments/1mmldrq/upgraded_to_debian_13_but_still_showing_as/ - https://www.reddit.com/r/debian/comments/1moe5bz/trixie_upgrade_doesnt_upgrade_etcosrelease/ Unfortunately I don't have a reddit account, so I cannot be of further assistance on that platform. Thanks! cheers, josch
--- End Message ---
--- Begin Message ---
- To: 1111039-close@bugs.debian.org
- Subject: Bug#1111039: fixed in init-system-helpers 1.65.2+deb12u1
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Fri, 22 Aug 2025 15:32:30 +0000
- Message-id: <E1upTkk-00HKOi-0T@fasolo.debian.org>
- Reply-to: Luca Boccassi <bluca@debian.org>
Source: init-system-helpers Source-Version: 1.65.2+deb12u1 Done: Luca Boccassi <bluca@debian.org> We believe that the bug you reported is fixed in the latest version of init-system-helpers, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1111039@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Luca Boccassi <bluca@debian.org> (supplier of updated init-system-helpers package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 20 Aug 2025 19:58:21 +0100 Source: init-system-helpers Architecture: source Version: 1.65.2+deb12u1 Distribution: bookworm Urgency: medium Maintainer: Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org> Changed-By: Luca Boccassi <bluca@debian.org> Closes: 1111039 Changes: init-system-helpers (1.65.2+deb12u1) bookworm; urgency=medium . * Add postinst to work around live-build issue on some systems. Needs to be somewhere that will be for sure installed, but all the live-* packages get removed on install, so there's nothing else. This is prio: essential so it's guaranteed to be there to do the cleanup. Can be dropped after Forky ships. (Closes: #1111039) Checksums-Sha1: 03b3f1e3a0868db490193e76059448ef4e95548a 2227 init-system-helpers_1.65.2+deb12u1.dsc 6585fe0b5bcd99329aa56c91614386433d48be2b 44996 init-system-helpers_1.65.2+deb12u1.tar.xz 234d2fffbe2c3d93eb98c148c08583f8746443aa 6890 init-system-helpers_1.65.2+deb12u1_source.buildinfo Checksums-Sha256: d4c6d21578b0cc835b8941f2d0f1fc3de6c75af63c840d59e75a9a01a0fd4a09 2227 init-system-helpers_1.65.2+deb12u1.dsc 84e6f3d88a72004751a8b01b48aa21f6e6c47da57aa2337d010901e2d5862b56 44996 init-system-helpers_1.65.2+deb12u1.tar.xz 75e0c4ff0773adaf074f3eee08738dae5016894f68a99446ff10cddebe7a51df 6890 init-system-helpers_1.65.2+deb12u1_source.buildinfo Files: 7d64a1fb391dd327225c2cc8da71104d 2227 admin optional init-system-helpers_1.65.2+deb12u1.dsc 2604fab1b2342b30f472612f4ccd18c7 44996 admin optional init-system-helpers_1.65.2+deb12u1.tar.xz 787ff82e46dbf292620013a4f6adbeef 6890 admin optional init-system-helpers_1.65.2+deb12u1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEErCSqx93EIPGOymuRKGv37813JB4FAmimOmcRHGJsdWNhQGRl Ymlhbi5vcmcACgkQKGv37813JB4zZQ/7BePEn0Mv3/bm/9I4pMPA5YkZWS+1bf1w jeIFJtaLxSm/lglDOq18v8h9dHlnE3MkwQ4Va60lpJqbIh+ZweQaSwgr/l+x3MHe vgO5BpIHO7Wnh90Z1ndMTZoWTcpdKDSgRxxAEwZ11Gvm1DfMKj3bRa0DLcYqX2Li HU64v0C4mvt43UnSXlI2WTnB76tOd9A2DxIeC5ygTeNJL7H5xnrSLZIPBnu/aLc5 8NdXPC/2gw0MrGqP9+cVnfF7BOikHNMOenZR0x89CSizvQ/MPiQxW/u1KzfZdb9R flTUwuWJxujQQP0keWYfK3bNPxo+11seh/Z0XTQl5yXGGlvyOus2ugRVEEspcFmb 7Eq5NPZytAQ6l+jVNVrZ2fRVXGajue5qfEX4fRwfcp2JxQiykzUTVSuAfTTkLxPm h7oszillQdvcFVj2UI5hrZx9YpoUOpxNuZqc+Qp+hSTsqhIC6cLTglVo7zNtEidI T1qMiQm9hVhhwYLLuDEOrApoXqI+byMFJXPUFmqnl1OxGHpAX1mLCeivyJwVtjot wJLDcpIP/L1/zXURtw7Eq2bVK6piYX8GbWz0NuKGS92ioflC3gMONBXSbM/A7lyx ePOAZOFrjskN+TCSwqJ7PJIaANwLX/lb0Y0KuYnisLf94FmCmxJzsxvZXMkpeK2P /HFNBkw2PGw= =zLA0 -----END PGP SIGNATURE-----Attachment: pgp8mTXQtEDM0.pgp
Description: PGP signature
--- End Message ---