Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  dpkg warning about merged-usr-via-aliased-dirs  (Read 3980 times)

Offline dpanter

  • User
  • Posts: 61
dpkg warning about merged-usr-via-aliased-dirs
« on: 2022/03/18, 14:40:29 »
Spotted in the DU log today, just a heads up in case you've been blissfully unaware of the usrmerge debate over the last year or so. Your system is NOT broken. Don't panic. However, you can quickly break it by using the tool in the link. So:

DO NOT RUN dpkg-fsys-usrunmess FROM THE LINKED WIKI PAGE

Code: [Select]
Setting up dpkg (1.21.2) ...
dpkg: warning: System unsupported due to merged-usr-via-aliased-dirs.
dpkg: warning: See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>.

Again, DO NOT RUN dpkg-fsys-usrunmess FROM THE LINKED WIKI PAGE

I mean it's obvious right, but just to be clear, don't do it. :)
If you want to waste a lot of time, google 'Debian usrmerge' or this tool name.
<< insert signature here >>

Online dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: dpkg warning about merged-usr-via-aliased-dirs
« Reply #1 on: 2022/03/18, 19:43:54 »
Thanks for the warning -- I never heard of it.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline michaa7

  • User
  • Posts: 2.295
Re: dpkg warning about merged-usr-via-aliased-dirs
« Reply #2 on: 2022/03/18, 20:07:08 »
I had this warning, too, some days ago. I was about to use this above mentioned tool, but i felt insecure. After googling a bit I really didn't know whether or not to use it. But then I decided to only use it if some whose opinion I trust would recommend it.

As I had this warning only once I think I will live with it for now.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline Pip

  • User
  • Posts: 161
Re: dpkg warning about merged-usr-via-aliased-dirs
« Reply #3 on: 2022/03/18, 20:09:22 »
You could have save me a lot of pain. Thanks for that.

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: dpkg warning about merged-usr-via-aliased-dirs
« Reply #4 on: 2022/03/19, 09:12:54 »
To give a little background information: dpkg maintainer Guillem Jover is responsible for this warning message, as can be seen in the changelog, where he writes:
Code: [Select]
- Update bug-script to clarify usrmerge systems are unsupported. Jover is denying support for usr-merge since over a year now against a clear Debian decision [1].

Usr-merge is officialy standard since Debian 10 »Buster« and will be mandatory with Debian 12 »Bookworm« [2]. Debian is one of the last distributions to make the change. I wrote a lengthy article on the usr-merge, the history and reasoning behind it 2 years ago for LinuxUser magazine. It is in German, but translators should give you the gist of it [3].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994388#132
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23978636#178
[3] https://www.linux-community.de/ausgaben/linuxuser/2019/08/zusammengefasst/

Offline michaa7

  • User
  • Posts: 2.295
Re: dpkg warning about merged-usr-via-aliased-dirs
« Reply #5 on: 2022/03/19, 10:12:32 »
Thanks for clarifying this.


Edit:
Out of sheer curiosity:
I do not understand this part of your linked article:
Code: [Select]
Seit 2015 ist der FHS mit der Linux Standard Base (LSB) unter dem Dach der Linux Foundation vereint. Distributionen, die den Usrmerge umsetzen, sind damit nicht mehr LSB-konform.
"... die den Usrmerge umsetzen" oder "... die den Usrmerge nicht umsetzen"?

If it is like you wrote, then all major Linux distributions did Usrmerge with the outcome of NOT being LSB-compliant anymore?
« Last Edit: 2022/03/21, 01:42:12 by michaa7 »
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: dpkg warning about merged-usr-via-aliased-dirs
« Reply #6 on: 2022/03/22, 06:05:19 »
When it comes to the part that deals with the FHS, yes, they are not compliant anymore.