On Tue, 14 Mar 2023 08:39:55 -0600 Antonio Russo <aeru...@aerusso.net> wrote: > Package: usrmerge > Version: 35 > Severity: important > X-Debbugs-Cc: aeru...@aerusso.net > > Dear Maintainer, > > Under WSL, I installed Debian bullseye (months? a year? ago), and have now > decided to upgrade it to bookworm. My process was: > > 1. s/bullseye/bookworm/g for /etc/apt/sources.list > 2. apt update > 3. apt install aptitude > 4. Using the aptitude TUI, upgraded everything. > > (in retrospect, I understand that installing aptitude might seem weird, and > may in fact be what precipitated this bug) > > During the install process, I got "FATAL ERROR: Can't rename /lib" permission > denied error in convert-usrmerge. > > dpkg/aptitude continued to try to set things up (despite the "do not install or > update" anything else bold warning). > > Some other packages "successfully" installed. > > Then, usrmerge tried again (and failed) to install. > > It looks like at a minimum, a better mechanism to stop dpkg from doing anything > while usrmerge has failed is in order. > > I cannot play around on this system, unfortunately, so I will be untangling the > /lib mess, installing either usrmerge or usr-is-merged (after doing it by hand), > and finishing the upgrade.
WSL1 is semi-deprecated upstream. As with other containers it cannot be upgrade in place because of filesystem setups and constraints beyond the guest's control, so you need to remove it and reinstall it - the latest images (including bullseye) in the windows store are usr-merged by default. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part