The officially official Devuan Forum!

You are not logged in.

#1 2024-01-14 12:21:34

linux0391
Member
Registered: 2024-01-14
Posts: 5  

[SOLVED] Can't install linux-image-amd64

When I try to install linux-image-amd64 on Ceres, I get errors:

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  apparmor busybox initramfs-tools initramfs-tools-core klibc-utils kmod
  libklibc linux-base linux-image-6.6.9-amd64 zstd
Suggested packages:
  apparmor-profiles-extra apparmor-utils bash-completion linux-doc-6.6
  debian-kernel-handbook grub-pc | grub-efi-amd64 | extlinux
The following NEW packages will be installed:
  apparmor busybox initramfs-tools initramfs-tools-core klibc-utils kmod
  libklibc linux-base linux-image-6.6.9-amd64 linux-image-amd64 zstd
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 98.8 MB/98.9 MB of archives.
After this operation, 106 MB of additional disk space will be used.
Get:1 http://pkgmaster.devuan.org/merged ceres/main amd64 apparmor amd64 3.0.12-1+b2 [628 kB]
Get:2 http://pkgmaster.devuan.org/merged ceres/main amd64 busybox amd64 1:1.36.1-6 [482 kB]
Get:3 http://pkgmaster.devuan.org/merged ceres/main amd64 libklibc amd64 2.0.13-2 [44.3 kB]
Get:4 http://pkgmaster.devuan.org/merged ceres/main amd64 klibc-utils amd64 2.0.13-2 [95.0 kB]
Get:5 http://pkgmaster.devuan.org/merged ceres/main amd64 initramfs-tools-core all 0.142 [105 kB]
Get:6 http://pkgmaster.devuan.org/merged ceres/main amd64 linux-base all 4.9 [31.8 kB]
Get:7 http://pkgmaster.devuan.org/merged ceres/main amd64 initramfs-tools all 0.142 [72.9 kB]
Get:8 http://pkgmaster.devuan.org/merged ceres/main amd64 linux-image-6.6.9-amd64 amd64 6.6.9-1 [96.6 MB]
Get:9 http://pkgmaster.devuan.org/merged ceres/main amd64 linux-image-amd64 amd64 6.6.9-1 [1,456 B]
Get:10 http://pkgmaster.devuan.org/merged ceres/main amd64 zstd amd64 1.5.5+dfsg2-2 [717 kB]
Preconfiguring packages ...
Fetched 98.8 MB in 13s (7,392 kB/s)
Selecting previously unselected package kmod.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 10533 files and directories currently installed.)
Preparing to unpack .../00-kmod_31-1_amd64.deb ...
Unpacking kmod (31-1) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../01-apparmor_3.0.12-1+b2_amd64.deb ...
Unpacking apparmor (3.0.12-1+b2) ...
Selecting previously unselected package busybox.
Preparing to unpack .../02-busybox_1%3a1.36.1-6_amd64.deb ...
Unpacking busybox (1:1.36.1-6) ...
Selecting previously unselected package libklibc:amd64.
Preparing to unpack .../03-libklibc_2.0.13-2_amd64.deb ...
Unpacking libklibc:amd64 (2.0.13-2) ...
Selecting previously unselected package klibc-utils.
Preparing to unpack .../04-klibc-utils_2.0.13-2_amd64.deb ...
Unpacking klibc-utils (2.0.13-2) ...
Selecting previously unselected package initramfs-tools-core.
Preparing to unpack .../05-initramfs-tools-core_0.142_all.deb ...
Unpacking initramfs-tools-core (0.142) ...
Selecting previously unselected package linux-base.
Preparing to unpack .../06-linux-base_4.9_all.deb ...
Unpacking linux-base (4.9) ...
Selecting previously unselected package initramfs-tools.
Preparing to unpack .../07-initramfs-tools_0.142_all.deb ...
Unpacking initramfs-tools (0.142) ...
Selecting previously unselected package linux-image-6.6.9-amd64.
Preparing to unpack .../08-linux-image-6.6.9-amd64_6.6.9-1_amd64.deb ...
Unpacking linux-image-6.6.9-amd64 (6.6.9-1) ...
Selecting previously unselected package linux-image-amd64.
Preparing to unpack .../09-linux-image-amd64_6.6.9-1_amd64.deb ...
Unpacking linux-image-amd64 (6.6.9-1) ...
Selecting previously unselected package zstd.
Preparing to unpack .../10-zstd_1.5.5+dfsg2-2_amd64.deb ...
Unpacking zstd (1.5.5+dfsg2-2) ...
Setting up linux-base (4.9) ...
Setting up kmod (31-1) ...
Setting up apparmor (3.0.12-1+b2) ...
Setting up busybox (1:1.36.1-6) ...
Setting up libklibc:amd64 (2.0.13-2) ...
Setting up klibc-utils (2.0.13-2) ...
No diversion 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils', none removed.
Setting up zstd (1.5.5+dfsg2-2) ...
Setting up initramfs-tools-core (0.142) ...
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-6.6.9-amd64 (6.6.9-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.6.9-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.6.9-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.6.9-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.6.9-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.6.9-amd64
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/share/initramfs-tools/hooks/thermal: 100: /sbin/modprobe: not found
/usr/share/initramfs-tools/hooks/thermal: 101: /sbin/modprobe: not found
/usr/share/initramfs-tools/hooks/thermal: 100: /sbin/modprobe: not found
/usr/share/initramfs-tools/hooks/thermal: 101: /sbin/modprobe: not found
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
/usr/sbin/mkinitramfs: 439: depmod: not found
Setting up linux-image-amd64 (6.6.9-1) ...
Processing triggers for initramfs-tools (0.142) ...
ln: failed to create hard link '/boot/initrd.img-6.6.9-amd64.dpkg-bak' => '/boot/initrd.img-6.6.9-amd64': Operation not permitted
update-initramfs: Generating /boot/initrd.img-6.6.9-amd64
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 100: /sbin/modprobe: not found
/usr/sbin/mkinitramfs: 101: /sbin/modprobe: not found
/usr/share/initramfs-tools/hooks/thermal: 100: /sbin/modprobe: not found
/usr/share/initramfs-tools/hooks/thermal: 101: /sbin/modprobe: not found
/usr/share/initramfs-tools/hooks/thermal: 100: /sbin/modprobe: not found
/usr/share/initramfs-tools/hooks/thermal: 101: /sbin/modprobe: not found
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
/usr/sbin/mkinitramfs: 439: depmod: not found

The same thing happens when I try to upgrade from Daedalus to Ceres on a freshly installed system.

Please help me.

Last edited by linux0391 (2024-01-14 12:22:05)

Offline

#2 2024-01-14 12:49:58

steve_v
Member
Registered: 2018-01-11
Posts: 325  

Re: [SOLVED] Can't install linux-image-amd64

More usr-merge borkage (esp. post #32). To be expected running unstable right now.
Merge your usr directories, or manually symlink the missing binaries (and expect to have to keep doing that until an official word on this comes down).

Last edited by steve_v (2024-01-14 12:52:07)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#3 2024-01-14 12:51:46

linux0391
Member
Registered: 2024-01-14
Posts: 5  

Re: [SOLVED] Can't install linux-image-amd64

I added --merged-usr to the debootstrap command and it worked.
Thank you!

Offline

#4 2024-01-14 13:06:27

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,098  

Re: [SOLVED] Can't install linux-image-amd64

Yes, that's due to the infamous "usrmerge" nonsense of Debian... they are in the process of moving stuff from /bin into /usr/bin because they think that everyone has set up links like /bin -> /usr/bin... and more. Web searching will tell.

You could have used --merged-usr for debootstrap and it would have configured the root filesystem with those stupid-links.

To come to there afterwards involves some manual copying hands-on and in particular a serious quirk in order to change /lib/ to a link without losing sight of the elf loader (e.g. /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2).

Offline

#5 2024-01-14 13:16:05

linux0391
Member
Registered: 2024-01-14
Posts: 5  

Re: [SOLVED] Can't install linux-image-amd64

Hopefully with time this mess will go away. Thanks again

Offline

Board footer