Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Testing - Trixie] netinst LUKS+LVM install broken

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
linux4life798
Posts: 5
Joined: 2013-03-27 04:29

[Testing - Trixie] netinst LUKS+LVM install broken

#1 Post by linux4life798 »

Hi all,

I'm having an issue with the guided partitioner in the Debian testing amd64 installer.
Specifically, the Guided - use entire disk and set up encrypted LVM errors out and emit the following error message:

Code: Select all

partman-lvm: pvcreate: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Is this a known issue?

Reproduction:

Code: Select all

# Download https://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-netinst.iso
pushd ~/Downloads/

md5sum debian-testing-amd64-netinst.iso
> e618afbebbbdf9495c74140bc87f2a4b  debian-testing-amd64-netinst.iso
sha256sum debian-testing-amd64-netinst.iso
> a72e2cd87f8bc1af3a6df65a12194c8e043c617fd15f23d545ddab8c55c82e51  debian-testing-amd64-netinst.iso
sha512sum debian-testing-amd64-netinst.iso
> db2ea5d9aecf92768d3904b2101a32b73a140e450335fcbfd4c640247b779c0b30938d50ad13938fb158f1063fdfd6514d1bbf38dd9b059fc5c6ac7b1ff3a50a  debian-testing-amd64-netinst.iso


dd if=/dev/zero of=~/Downloads/test-hda.img bs=1G count=8
# qemu-system-x86_64 -cdrom ~/Downloads/debian-testing-amd64-netinst.iso -hda ~/Downloads/test-hda.img -m 8G
qemu-system-x86_64 -enable-kvm -machine q35 -device intel-iommu -cpu host -cdrom ~/Downloads/debian-testing-amd64-netinst.iso -boot order=d -drive file=~/Downloads/test-hda.img,format=raw -m 8G
https://youtu.be/jJ-oOA2s8Wc

All the best,

Craig

dlu2021
Posts: 213
Joined: 2021-08-13 19:55
Location: Minnesota
Has thanked: 7 times
Been thanked: 42 times

Re: [Testing - Trixie] netinst LUKS+LVM install broken

#2 Post by dlu2021 »

It looks like there are currently build errors:

https://cdimage.debian.org/cdimage/weekly-builds/amd64/

linux4life798
Posts: 5
Joined: 2013-03-27 04:29

Re: [Testing - Trixie] netinst LUKS+LVM install broken

#3 Post by linux4life798 »

It looks like there are currently build errors:
I saw that, which kinda explains why the amd64 build is pretty old, compared to the arm64.

linux4life798
Posts: 5
Joined: 2013-03-27 04:29

Re: [Testing - Trixie] netinst LUKS+LVM install broken

#4 Post by linux4life798 »

It looks like the install image does have the libaio.so shared library, but it is named libaio.so.1t64.

Searching for that library name shows that someone has identified this issue in https://www.mail-archive.com/debian-bug ... 63781.html .

Also, there seems to be an open bug for this in the kalilinux bug tracker - https://gitlab.com/kalilinux/packages/d ... /issues/7/.

linux4life798
Posts: 5
Joined: 2013-03-27 04:29

Re: [Testing - Trixie] netinst LUKS+LVM install broken

#5 Post by linux4life798 »

I've come up with a bit of a workaround:
  1. During install, right after the Partition disks step starts, open a console (Ctrl-Alt-F3 or Alt-F3 in QEMU).
  2. Press Enter to activate the console.
  3. Create a symbolic link to libaio.so.1t64.0.2 with the expected shared object file name by doing the following:

    Code: Select all

    ln -s libaio.so.1t64.0.2 /usr/lib/x86_64-linux-gnu/libaio.so.1
    
  4. Go back to the installer GUI by pressing Ctrl-Alt-F1 (for expert install) and continue without error.

Post Reply