On Thu, 14 Aug 2025 at 07:15, Johannes Schauer Marin Rodrigues
<[email protected]> wrote:
> Also: this is just addressing how to fix the problem going forward. The more
> pressing fix (I think) is to think about how to fix existing installations
> which have the wrong /etc/os-release because of this.
>
> Somebody (and not me within the next few days because I'm attending my
> brother's wedding on the weekend) would have to come up with a clever postinst
> script to clean up the mess and then get that into the next point release and
> hope that users uprade their Bookworm before upgrading to Trixie...

This is not clever but does the job:

if dpkg-divert --list /etc/os-release | grep -q os-release.debootstrap; then
  dpkg-divert --quiet --local --remove --no-rename /etc/os-release
  rm -f /etc/os-release
  ln -s ../usr/lib/os-release /etc/os-release
fi

However, the main problem is where to have it - I just checked a
calamares installation, and there's no live-* packages unfortunately.

Is there any calamares-specific package that is installed in these rootfses?

Reply via email to