Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#29427 - [mkinitcpio] failed to run command '/sbin/mkinicpio'
Attached to Project:
Arch Linux
Opened by Ben Vassie (vassie) - Friday, 13 April 2012, 11:37 GMT
Last edited by Dave Reisner (falconindy) - Friday, 13 April 2012, 20:27 GMT
Opened by Ben Vassie (vassie) - Friday, 13 April 2012, 11:37 GMT
Last edited by Dave Reisner (falconindy) - Friday, 13 April 2012, 20:27 GMT
|
DetailsDescription:
initicpio images fail to build after configuring system Executing chroot /mnt /sbin/mkinitcpio -p linux >>/var/log/aif/mkinitcpio.log 2>&1\n chroot: failed to run command '/sbin/mkinicpio' : No such file or directory Additional info: mkinitcpio-0.8.7-1-any.pkg.tar.xz Steps to reproduce: Fresh install using archlinux-2011.08.19-netinstall-dual.iso initicpio images fail to build after configuring system Executing chroot /mnt /sbin/mkinitcpio -p linux >>/var/log/aif/mkinitcpio.log 2>&1\n chroot: failed to run command '/sbin/mkinicpio' : No such file or directory |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 13 April 2012, 20:27 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#29420
Friday, 13 April 2012, 20:27 GMT
Reason for closing: Duplicate
Additional comments about closing:

Unless I'm mistaken, isn't mkinitcpio in /bin not /sbin?

'type -p' or 'which' or 'pacman -Ql' would tell you It's in /usr/bin. The real problem here is that AIF doesn't want to do a path lookup.

type -p mkinitcpio says /sbin/mkinitcpio, I'm still booted into the live environment and mkinitcpio is indeed in /sbin ?

On the install CD it does...

I am using archlinux-2011.08.19-netinstall-dual.iso. I also see that AIF is doing a chroot to /mnt to run mkinitcpio where mkinitcpio does not exist in /sbin or /bin but /usr/bin rather. I just did a symlink of /usr/bin/mkinitcpio to /sbin and AIF continues just fine. Was this a recent change in mkinitcpo location?

No, it was removal of a symlink. mkinitcpio has been in /usr/bin for several months now.

I see it was removed a few days ago in 0.8.7-1, why was that?