[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#816096: initramfs-tools: Error reporting false missing dependancy on busybox



On Sun, 28 Feb 2016 12:41:03 +0000 Ben Hutchings <ben@decadent.org.uk> wrote:
> On Sun, 2016-02-28 at 12:47 +0100, Christophe wrote:
> > ----- Ben Hutchings <ben@decadent.org.uk> a écrit :
> > >
> > > On Sat, 2016-02-27 at 13:04 +0100, Christophe wrote:
> > > > Package: initramfs-tools
> > > > Version: 0.123
> > > > Severity: important
> > > >
> > > > [...]
> > > >
> > > > Let me know if there is some info you'd need to debug the issue.
> > >
> > > I wonder if busybox got upgraded too late.  Is this reproducible if you
> > > run 'update-initramfs -u' now?
> > >
> > > Ben.
> >
> > Hi Ben,
> >
> > Unfortunately running this command still gives me the error.
> > Out of curiosity I have started some investigations, and the message comes from the script "mkinitramfs" from this check:
> >
> > if [ "${BUSYBOX}" = "y" ] && [ -z "${BUSYBOXDIR}" ]; then
> >
> > I have seen this:
> >  - BUSYBOX is properly set to "y" from /etc/initramfs-tools/initramfs.conf
> >  - BUSYBOXDIR, however, is prepared empty at the beginning of mkinitramfs, but never given a value afterwards... Any idea how it is supposed to be defined?
>
> It's done by /usr/share/initramfs-tools/conf-hooks.d/busybox, which is
> installed by busybox.  Does that file exist?
>
> You originally said:
>
> > This is strange because I seem to have this:
> >   busybox => 1:1.22.0-18
> >   busybox-static => 1:1.22.0-18
>
> That's impossible because these packages conflict with each other.
>
> What does "debsums busybox busybox-static" report?  (You might need to
> install the debsums package.)
>
> Ben.
>
> --
> Ben Hutchings
> Knowledge is power.  France is bacon.

Hi Ben

I have the same error message. Running 'update-initramfs -u' gives the following error message:

update-initramfs: Generating /boot/initrd.img-4.3.0-1-686-pae
E: busybox or busybox-static, version 1:1.22.0-17~ or later, is required but not installed
update-initramfs: failed for /boot/initrd.img-4.3.0-1-686-pae with 1.

It looks like the new version of initramfs-tools treats busybox as "depends" while it should only be "recommends".

Can you confirm?

Regards
Reto

Reply to: