Page 1 of 1
Bookworm - Upgrade Error. (SOLVED)
Posted: Wed Oct 26, 2022 9:05 pm
by soniabu
hello everyone, I hope you are all well. I'm fine.
Suddenly today in doing an update / upgrade I have this blocking error that I don't know how to fix.
If anyone has any info and suggestions I will be grateful.
I tried these commands with no effect though: apt remove --purge usrmerge apt clean apt autoremove dkpg --configure -a
My OS is Bookworm being tested.
thanks sonia
ciclk to enlarge
Re: Bookworm - Upgrade Error.
Posted: Wed Oct 26, 2022 10:55 pm
by dancytron
It's good that it stopped it from automatically doing the usbmerge in an uncontrolled way.
If you look at the end of the Bookworm script thread, you'll see what it is and what Fred is doing about it.
I'm sure Fred will be along with practical advice.
Re: Bookworm - Upgrade Error.
Posted: Thu Oct 27, 2022 1:17 pm
by fredx181
Yes, the forcing of converting to "usrmerge" (convert to symlinks /bin, /sbin and /lib) is giving trouble, it's a very drastic change and getting more and more difficult to avoid.
dancytron wrote:It's good that it stopped it from automatically doing the usbmerge in an uncontrolled way
Yes, as it detected 'overlay' and cannot convert to usr-merged system but in fact it is forcing us to convert because apt upgrade
fails (so in a way the system is broken then).
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@soniabu thanks for the report.
For info: the latest package init-system-helpers has dependency usrmerge, so that's what's causing it.
This "usr-merged" system has been introduced many years ago already, but there's was always choice to convert to it or not, now it seems that we are forced to use it)
But here's a workaround:
Install slighly older version of init-system-helpers( without dependency usrmerge)
apt update; apt install init-system-helpers=1.64
(if it says that 1.64 is already installed, it's OK, otherwise it says "downgrading ....")
And then put it on hold:
apt-mark hold init-system-helpers
(prevent upgrading)
Then apt upgrade
should work.
edit: if usrmerge is installed (or half) somehow from previous upgrade attempts, you can try to remove it apt purge usrmerge
Please tell me if you want to continue testing/using this Bookworm with this not so elegant solution (workaround keeping "non-usr-merged", as it now for you).
EDIT: I said earlier (somewhere) that perhaps the (stable) Bullseye may be better for you:
https://forum.puppylinux.com/viewtopic. ... 736#p14736
Bullseye ISO with kernel 5.18 from backports and firmware (squashfs) from Bookworm: DebLive_Bullseye-k-5.18_amd64.iso / md5
(works OK for now but I cannot know how it goes in the future)
I will soon upgrade the test ISO (with included "usr-merged" system), the downside of that is that you'll need to start fresh with the changes...
EDIT: See here for update of mklive-bookworm build script (with "usr-merged" system) and download link of new "Test ISO" : https://forum.puppylinux.com/viewtopic. ... 577#p70577
Re: Bookworm - Upgrade Error.
Posted: Thu Oct 27, 2022 11:03 pm
by soniabu
ouch ouch ouch, what a mess;
I will read it carefully as soon as I get back home I will try to understand which path to take from the recommended ones,
thanks Fred
P.s. Bullseye ISO would force me to start over and I wouldn't want to do it ... for now I prefer Bookworm which,
regardless of this mess, has worked well for my needs for now: and then I'm sure you are working on it to fix it properly.
Re: Bookworm - Upgrade Error.
Posted: Fri Oct 28, 2022 2:04 pm
by fredx181
soniabu wrote:P.s. Bullseye ISO would force me to start over and I wouldn't want to do it ... for now I prefer Bookworm which,
regardless of this mess, has worked well for my needs for now: and then I'm sure you are working on it to fix it properly.
Well, the *real* fix is switching to a usr-merged system, which I did already (new build script supporting it and new test ISO).
But you can try the workaround and see how long it lasts to keep a "non usr-merged" system without problems, let me know how it goes.
edit: btw, I wouldn't call it a mess, it's the consequence of running Debian "testing" that there are sometimes major changes (not with Debian "stable").
Re: Bookworm - Upgrade Error.
Posted: Fri Oct 28, 2022 2:57 pm
by soniabu
fredx181 wrote: Thu Oct 27, 2022 1:17 pm
@soniabu thanks for the report.
For info: the latest package init-system-helpers has dependency usrmerge, so that's what's causing it.
This "usr-merged" system has been introduced many years ago already, but there's was always choice to convert to it or not, now it seems that we are forced to use it)
But here's a workaround:
Install slighly older version of init-system-helpers( without dependency usrmerge)
apt update; apt install init-system-helpers=1.64
(if it says that 1.64 is already installed, it's OK, otherwise it says "downgrading ....")
And then put it on hold:
apt-mark hold init-system-helpers
(prevent upgrading)
Then apt upgrade
should work.
edit: if usrmerge is installed (or half) somehow from previous upgrade attempts, you can try to remove it apt purge usrmerge
F R ED X
Re: Bookworm - Upgrade Error.
Posted: Fri Oct 28, 2022 4:32 pm
by fredx181
Good that it worked, perhaps all good for later too, but it may happen that in the future some other package (new version, upgradable) wants the same (install usrmerge).
Then possibly some workaround does the trick again, but cannot go on forever, I guess.
Re: Bookworm - Upgrade Error.
Posted: Fri Feb 03, 2023 8:46 pm
by fredx181
@soniabu
I think that putting usrmerge and usr-is-merged on hold will fix that you get these "usr-merged" upgrade errors in the future.
apt-mark hold usrmerge usr-is-merged
But note that this will affect (hold back, prevent upgrading) a few other packages too.
For now that is probably OK, but in the long term I'd advice the newest Bookworm (with usr-merged system).
Re: Bookworm - Upgrade Error.
Posted: Sun Feb 05, 2023 10:39 am
by soniabu
Thanks Fred I did it yesterday
Re: Bookworm - Upgrade Error.
Posted: Sun Feb 05, 2023 11:17 am
by fredx181
soniabu wrote: Sun Feb 05, 2023 10:39 am
Thanks Fred I did it yesterday
What exactly, putting the packages on hold, or using the newest Bookworm ?
Re: Bookworm - Upgrade Error.
Posted: Tue Feb 07, 2023 4:37 pm
by soniabu
fredx181 wrote: Sun Feb 05, 2023 11:17 am
soniabu wrote: Sun Feb 05, 2023 10:39 am
Thanks Fred I did it yesterday
What exactly, putting the packages on hold, or using the newest Bookworm ?
Fred sorry for the delay in replying I did not understand the question: there is a new BookWorm release? Where?
Re: Bookworm - Upgrade Error.
Posted: Tue Feb 07, 2023 5:00 pm
by fredx181
soniabu wrote: Tue Feb 07, 2023 4:37 pm
fredx181 wrote: Sun Feb 05, 2023 11:17 am
soniabu wrote: Sun Feb 05, 2023 10:39 am
Thanks Fred I did it yesterday
What exactly, putting the packages on hold, or using the newest Bookworm ?
Fred sorry for the delay in replying I did not understand the question: there is a new BookWorm release? Where?
Oh, I thought that I told you that earlier (to prevent the usr-merge upgrade trouble you are possibly facing now with the older test iso) see here viewtopic.php?p=48359#p48359
EDIT: I see now that I did wrote about it, but you probably missed, see EDIT at bottom of post here: viewtopic.php?p=70553#p70553
But note, that you need to start fresh with the changes.
Re: Bookworm - Upgrade Error.
Posted: Tue Feb 07, 2023 5:05 pm
by soniabu
ok Fred I download the new image and make myself a new USB key to test it ( So I assume the new image is the new BookWorm)
Well i try.and I will update you.
thanks sonia
Re: Bookworm - Upgrade Error.
Posted: Thu Feb 23, 2023 10:26 am
by exton
Thanks soniabu!
Your upgrade tips were very useful. I could upgrade my "old" PuppEX Bookworm64 with Tint2 as DE today without problems. Could not be done before I saw your post.