Package: tiny-initramfs-core
Version: 0.1-6
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I tried installing the version 0.1-6 of this package along with
tiny-initramfs package (btw, thanks for including the hibernate patch
from me!), but dpkg failed with the following error:

    Setting up tiny-initramfs (0.1-6) ...
    Installing new version of config file /etc/kernel/postinst.d/tiny-initramfs 
...
    Processing triggers for man-db (2.11.2-2) ...
    Processing triggers for tiny-initramfs (0.1-6) ...
    cp: cannot stat '/usr/lib/i386-linux-gnu/tiny-initramfs/init-static': No 
such file or directory
    dpkg: error processing package tiny-initramfs (--install):
     installed tiny-initramfs package post-installation script subprocess 
returned error exit status 1
    Errors were encountered while processing:
     tiny-initramfs
    Setting up tiny-initramfs (0.1-6) ...
    Installing new version of config file /etc/kernel/postinst.d/tiny-initramfs 
...
    Processing triggers for man-db (2.11.2-2) ...
    Processing triggers for tiny-initramfs (0.1-6) ...
    cp: cannot stat '/usr/lib/i386-linux-gnu/tiny-initramfs/init-static': No 
such file or directory
    dpkg: error processing package tiny-initramfs (--install):
     installed tiny-initramfs package post-installation script subprocess 
returned error exit status 1
    Errors were encountered while processing:
     tiny-initramfs

Apparently the post-install script can't find
/usr/lib/i386-linux-gnu/tiny-initramfs/init-static. 

Looking through the changelog I have noticed that it was moved to
/usr/libexec/tiny-initramfs/init-static.

But the /usr/sbin/mktirfs script still has the line

    PKGLIBEXECDIR="/usr/lib/i386-linux-gnu/tiny-initramfs"

inside of it, which, I beleive, is the problem, it should be now
    
    PKGLIBEXECDIR="/usr/libexec/tiny-initramfs"

for all architectures. I have changed it and reinstalled tiny-initramfs
package, which seemed to fix it, so I suggest making that change, because
othewise the package is unusable. Thanks!


-- System Information:
Debian Release: 12.9
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 6.1.0-29-686 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages tiny-initramfs-core depends on:
ii  cpio      2.13+dfsg-7.1
ii  xz-utils  5.4.1-0.2

tiny-initramfs-core recommends no packages.

tiny-initramfs-core suggests no packages.

-- no debconf information

Reply via email to