Hello Witold Baryluk, I'll be adapting live-build to the firmware locations soon. Can you try with: ARCHIVE_AREAS="main non-free non-free-firmware contrib"
I didn't try your command yet, but I think that I need to know which packages are mentioned in 'config/packages-lists', to determine which package is pulling in the firmware packages.
With kind regards, Roland Clobus PS: the 'lb config' command does not need to be run as root. On 04/02/2023 15:13, Witold Baryluk wrote:
Package: live-build Version: 1:20230131 Severity: important X-Debbugs-Cc: witold.bary...@gmail.com This started at least few days ago. Was working find about month ago. ARCHIVE_AREAS="main non-free contrib" sudo --preserve-env=DEBIAN_FRONTEND,APT_LISTCHANGES,NEEDRESTART_MODE,NEEDRESTART_SUSPEND,DEBIAN_FRONT \ nice lb config \ --color \ --apt-indices false \ --apt-recommends true \ --archive-areas "${ARCHIVE_AREAS}" \ --binary-images iso-hybrid \ --backports false \ --bootloaders syslinux,grub-efi \ --debootstrap-options "--include=ca-certificates" \ --debconf-priority critical \ --debian-installer live \ --debian-installer-gui true \ --distribution "${CODENAME}" \ --security true \ --zsync false \ --bootappend-live "${BOOTAPPEND}" \ --mirror-bootstrap "${MIRROR_URL}" \ --mirror-chroot "${MIRROR_URL}" \ --mirror-chroot-security "${MIRROR_SECURITY_URL}" \ --mirror-binary "${FINAL_MIRROR_URL}" \ --mirror-binary-security "${MIRROR_SECURITY_URL}" \ --mirror-debian-installer "${MIRROR_URL}" \ --memtest "memtest86+" \ --checksums sha256 \ "${COMPRESS_OPTS[@]}" \ --image-name "${LB_IMAGE_NAME}" In my package list I do not have any firmware packages. It is live-build that decides to install it. Which is good. But it fails now: Package firmware-linux is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'firmware-linux' has no installation candidate E: An unexpected failure occurred, exiting... P: Begin unmounting filesystems... I think the reason is that previously firmware-linux was in non-free, but now it is split into firmware-linux-free and firmware-linux-nonfree? I tried modifing /usr/lib/live/build/chroot_firmware and /usr/lib/live/build/installer_debian-installer to use that packages instead, but build still fails with siomilar message. 0204 13:54:29.677550 Package firmware-linux-nonfree is not available, but is referred to by another package. 0204 13:54:29.677629 This may mean that the package is missing, has been obsoleted, or 0204 13:54:29.677661 is only available from another source 0204 13:54:29.677692 0204 13:54:29.680763 E: Package 'firmware-linux-nonfree' has no installation candidate 0204 13:54:29.684112 E: An unexpected failure occurred, exiting... 0204 13:54:29.684308 P: Begin unmounting filesystems... Looking at archive, it looks firmware-linux-nonfree and firmware-misc-nonfree is not present in bookworm/non-free. But looking at official cd-unofficial-with-firmware, (build using lwr, not live-build), I do see these packages used during the build and fetch. But last upload there was about month ago, so maybe it is also failing now. I looked a bit at changelogs in PTS, and wiki about firmware, but could not find any solution. -- Package-specific info: -- System Information: Debian Release: bookworm/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.2.0-rc5 (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages live-build depends on: ii debootstrap 1.0.128+nmu2 Versions of packages live-build recommends: ii apt-utils 2.5.5 ii bzip2 1.0.8-5+b1 ii cpio 2.13+dfsg-7.1 ii cryptsetup 2:2.6.0-2 ii file 1:5.44-3 ii live-boot-doc 1:20220505 ii live-config-doc 11.0.3+nmu1 ii live-manual-html [live-manual] 2:20151217.2 ii rsync 3.2.7-1 ii systemd-container 252.5-2 ii wget 1.21.3-1+b2 ii xz-utils 5.4.1-0.0 Versions of packages live-build suggests: ii e2fsprogs 1.46.6~rc1-1.1 ii mtd-utils 1:2.1.5-1 ii parted 3.5-3 -- no debconf information -- debsums errors found: debsums: changed file /usr/lib/live/build/chroot_firmware (from live-build package) debsums: changed file /usr/lib/live/build/installer_debian-installer (from live-build package) debsums: changed file /usr/share/live/build/functions/firmwarelists.sh (from live-build package)
OpenPGP_signature
Description: OpenPGP digital signature