It's just a VM for testing purpose, but thanks anyway, it could be a solution for those who wish to avoid the /usr/ merge. I think in that case I'd rather switch to Devuan totally (and get rid of systemd at the same time).
I tested your solution and it works so far, but I have to underline that it leads to an unsupported system. Again:
The Technical Committee resolves that Debian 'bookworm' should support only the merged-usr root filesystem layout, dropping support for the non-merged-usr layout.
Before:
Code: Select all
$> cat /etc/debian_version
11.5
$> cat /etc/apt/preferences.d/init-system-helpers.pref
Package: *
Pin: release o=Devuan
Pin-Priority: -1
Package: init-system-helpers
Pin: release o=Devuan
Pin-Priority: 999
$> apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
-1 http://deb.devuan.org/merged chimaera-security/main amd64 Packages
release v=4.0,o=Devuan,a=stable-security,n=chimaera-security,l=Devuan-Security,c=main,b=amd64
origin deb.devuan.org
-1 http://deb.devuan.org/merged chimaera/main amd64 Packages
release v=4.0,o=Devuan,a=stable,n=chimaera,l=Devuan,c=main,b=amd64
origin deb.devuan.org
500 http://deb.debian.org/debian bullseye-updates/main amd64 Packages
release v=11-updates,o=Debian,a=stable-updates,n=bullseye-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian-security bullseye-security/non-free amd64 Packages
release v=11,o=Debian,a=stable-security,n=bullseye-security,l=Debian-Security,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
release v=11,o=Debian,a=stable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/contrib amd64 Packages
release v=11.5,o=Debian,a=stable,n=bullseye,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/non-free amd64 Packages
release v=11.5,o=Debian,a=stable,n=bullseye,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/main amd64 Packages
release v=11.5,o=Debian,a=stable,n=bullseye,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:
init-system-helpers -> 1.60+devuan1 with priority 999
$> apt policy init-system-helpers
init-system-helpers:
Installed: 1.60+devuan1
Candidate: 1.60+devuan1
Version table:
*** 1.60+devuan1 999
-1 http://deb.devuan.org/merged chimaera/main amd64 Packages
100 /var/lib/dpkg/status
1.60 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
$> ls -ld /bin /lib* /sbin
drwxr-xr-x 2 root root 4096 23 sept. 21:23 /bin
drwxr-xr-x 17 root root 4096 29 mars 18:37 /lib
drwxr-xr-x 2 root root 4096 23 sept. 21:22 /lib64
drwxr-xr-x 2 root root 4096 23 sept. 21:22 /sbin
After:
Code: Select all
$> cat /etc/debian_version
bookworm/sid
$> apt policy usrmerge
usrmerge:
Installed: (none)
Candidate: 31
Version table:
31 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
-1 http://deb.devuan.org/merged daedalus/main amd64 Packages
$> apt policy init-system-helpers
init-system-helpers:
Installed: 1.65.2devuan1
Candidate: 1.65.2devuan1
Version table:
*** 1.65.2devuan1 999
-1 http://deb.devuan.org/merged daedalus/main amd64 Packages
100 /var/lib/dpkg/status
1.65.2 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
$> ls -ld /bin /lib* /sbin
drwxr-xr-x 2 root root 4096 25 sept. 23:41 /bin
drwxr-xr-x 17 root root 4096 25 sept. 23:40 /lib
drwxr-xr-x 2 root root 4096 25 sept. 23:39 /lib64
drwxr-xr-x 2 root root 4096 25 sept. 23:41 /sbin
$> apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
-1 http://deb.devuan.org/merged daedalus/main amd64 Packages
release v=5.0,o=Devuan,a=testing,n=daedalus,l=Devuan,c=main,b=amd64
origin deb.devuan.org
500 http://deb.debian.org/debian bookworm/contrib amd64 Packages
release o=Debian,a=testing,n=bookworm,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bookworm/non-free amd64 Packages
release o=Debian,a=testing,n=bookworm,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bookworm/main amd64 Packages
release o=Debian,a=testing,n=bookworm,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:
init-system-helpers -> 1.65.2devuan1 with priority 999