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

Re: "FATAL: kernel too old" when running mmdebootstrap'd riscv64 chroot



On Tue, Oct 23, 2018 at 08:56:54PM +0100, Luke Kenneth Casson Leighton wrote:

> the mmdebootstrap chroot i may retry (it's not working at present,
      ^^^^^^^^^^^^^
debootstrap or mmdebstrap?

> however now that qemu can run it may work if i retry it).  the sid one
> that was recommended, it was missing libudev which stops "apt-get
> update" running, so i copied libudev over from the *other* chroot...
> :)
> 
> now libffi.7.so is missing, so /usr/lib/apt/methods/http doesn't
> start: that's easily fixed by manually downloading the relevant .deb.

This sounds very much like you are either using debootstrap
instead of mmdebstrap to build the chroot, or you are using
mmdebstrap but don't pass it a repository line for the
"unreleased" suite.

Debootstrap can only use one suite, in this case the "unstable"
suite, so a riscv64 chroot created with debootstrap misses all
the parts of the base system that are currently only available in
the "unreleased" suite (which for now includes the systemd/udev
bits and libffi7).

The point of using mmdebstrap instead of debootstrap is exactly
that it can pull the packages from more than one suite, provided
one passes the corresponding suite sources; cf. the last two
parameters in

  sudo mmdebstrap --architectures=riscv64 --include="debian-ports-archive-keyring" sid /tmp/riscv64-chroot "deb http://deb.debian.org/debian-ports/ sid main" "deb http://deb.debian.org/debian-ports/ unreleased main"

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.


Reply to: