Subject: bug#850: Daedalus->Excalibur upgrade - usrmerge fails on libsane1

From: sachy <[email-masked]>
Date: Sat, 8 Jun 2024 17:51:45 +0200

Package: libsane1
Version: 

When upgrading from Daedalus to Excalibur, the usrmerge configure step fails on following files provided by libsane1 package:

/usr/lib/udev/hwdb.d/20-sane.hwdb
/usr/lib/udev/rules.d/60-libsane1.rules
/usr/lib/udev/rules.d/99-libsane1.rules

When this happens in su/sudo environment, the user can not escalate priviledges anymore because packages providing PAM authentication are not correctly upgraded yet.

Hotfix: Reboot to recovery console and delete mentioned files manually, then:
# apt-get install -f
# apt-get dist-upgrade
and reboot.

Circumvention: Execute "apt-get dist-upgrade" from root shell.

---

From: Mark Hindley <[email-masked]>
Date: Sun, 9 Jun 2024 16:49:30 +0100

Control: reassign -1 devuan-project
Control: severity -1 critical
Control: Document Daedalus->Excalibur usrmerge before upgrade in Release Notes

Sachy,

Thanks for taking the time to report this.

I have been unable to reproduce in a daedalus VM with libsane1
installed. However, I suspect it is an ordering thing. I think users will need
to

 1) apt install usrmerge/daedalus
 2) sed -i s/daedalus/excalibur/ /etc/apt/sources.list
 3) apt update
 4) apt dist-upgrade

That is something we will need to specify clearly in the Release Notes.

But there are still merged-usr changes coming through from ceres which may
simplify that process. When we get to the freeze, we can review further.

I don't think there is a bug in libsane1 as such, so reassigning.

Mark

---

From: sachy <[email-masked]>
Date: Sun, 9 Jun 2024 20:02:07 +0200

Dear Mark,

that can be it - I did not installed usrmerge on Daedalus manually and proceeded directly by updating sources.list.

So its my user error -> sorry for false report.

Totally agree on need to specify the correct steps in big, bold text in the Release notes. Lot of people will ignore/forget it anyway...

Regards,
sachy

---

From: Mark Hindley <[email-masked]>
Date: Sun, 9 Jun 2024 20:14:32 +0100

Sachy,

> So its my user error -> sorry for false report.

Absolutely not. A really useful report.

We are all feeling our way through the usrmerge process and it is still unclear
exactly how it will finish. Whatever that it, we need to ensure users are
clearly informed how to navigate it once excalibur is released.

I really appreciate you taking the time.

Best wishes

Mark

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Sat, 08 Nov 2025 10:02:02 +0000

This is an automatic notification regarding your bug report
which was filed against the devuan-project package:

#850: Document Daedalus->Excalibur usrmerge before upgrade in Release Notes

It has been closed by Mark Hindley <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <[email-masked]> by
replying to this email.

-- 
850: https://bugs.devuan.org/cgi/bugreport.cgi?bug=850
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: Closing as done
From: Mark Hindley <[email-masked]>
To: [email-masked]
Date: Sat, 8 Nov 2025 10:00:41 +0000

This was included in the Release Notes.

Closing.

Mark

Subject: Daedalus->Excalibur upgrade - usrmerge fails on libsane1
From: sachy <[email-masked]>
To: [email-masked]
Date: Sat, 8 Jun 2024 17:51:45 +0200

Package: libsane1
Version: