View Issue Details

IDProjectCategoryView StatusLast Update
0009248Kali LinuxKali Package Bugpublic2025-07-18 13:15
Reportervanguard Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0009248: Dependency problem when building kali-live
Description

Dear maintainers,

when building my own kali-live with my added package-list, the build crashes due to dependency problems. This is the last output of buuld.log:

--- snip ---

(Reading database ... 7851 files and directories currently installed.)
Removing dctrl-tools (2.24-3+b1) ...
(Reading database ... 7810 files and directories currently installed.)
Purging configuration files for dctrl-tools (2.24-3+b1) ...
Reading package lists...
Building dependency tree...
Reading state information...
[2025-07-14 09:44:48] lb chroot_install-packages install
P: Begin installing packages (install pass)...
Reading package lists...
Building dependency tree...
Reading state information...
systemd-sysv is already the newest version (257.7-1).
Solving dependencies...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grub-common : Depends: libfuse3-4 (>= 3.17.2) but 3.17.1~rc1-3 is to be installed
Recommends: os-prober (>= 1.33) but it is not going to be installed
guestfish : Depends: libguestfs0t64 (= 1:1.54.1-2+b1) but it is not installable
guestmount : Depends: libguestfs0t64 (= 1:1.54.1-2+b1) but it is not installable
libguestfs-tools : Depends: libguestfs0t64 (= 1:1.54.1-2+b1) but it is not installable
Depends: guestfs-tools but it is not installable
vmdb2 : Depends: qemu-utils but it is not installable
E: Unable to correct problems, you have held broken packages.
E: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:

  1. libfuse3-4:amd64=3.17.2-2 is not selected for install
  2. libfuse3-4:amd64=3.17.2-2 is selected for install because:
    1. vmdb2:amd64=0.40-2 is selected for install
    2. vmdb2:amd64 Depends qemu-utils
    3. qemu-utils:amd64 Depends libfuse3-4 (>= 3.17.2)
      E: An unexpected failure occurred, exiting...
      P: Begin unmounting filesystems...
      P: Saving caches...
      Reading package lists...
      Building dependency tree...
      Reading state information...
      Build of kali-rolling/xfce/amd64 live image failed (see build.log for details)

--- snap ---

It would be nice, if you could take a look at this.

If you could fix it, please also take a look at the same issue for i386 (yes, I know, i386 will be abandoned soon, but please do though).

Thanks for reading this!

Best regards

Hans

Activities

vanguard

vanguard

2025-07-15 09:08

reporter   ~0020735

Created a fresh live-build tree from git to avoid mistakes by my build environment.

But same issue again: The build crashes!

So it looks like the problem can not fixed by me (except I avoid adding the packages into my live-file, what I do not want).

I am not sure, you are teling the path changed:
"Project 'kalilinux/build-scripts/live-build-config' was moved to 'kalilinux/build-scripts/kali-live'. Please update any links and bookmarks that may still have the old path.",

but the docu says:
git clone https://gitlab.com/kalilinux/build-scripts/live-build-config.git

Should'n it be now:
git clone https://gitlab.com/kalilinux/build-scripts/kali-live.git

Maybe you could enlighten me along with this issue, too.

Best

Hans

arnaudr

arnaudr

2025-07-17 15:46

manager   ~0020739

Hello! I had a quick look at your logs, this line is surprising:

grub-common : Depends: libfuse3-4 (>= 3.17.2) but 3.17.1~rc1-3 is to be installed

I don't know why 3.17.1~rc1-3 is to be installed, given that in the Kali repository we have 3.17.2 at least, and for a while:

libfuse3-4 | 3.17.2-2 |     debian-testing | i386, amd64, armel, armhf, arm64
libfuse3-4 | 3.17.2-1 | kali-last-snapshot | i386, amd64, armel, armhf, arm64
libfuse3-4 | 3.17.2-2 |       kali-rolling | i386, amd64, armel, armhf, arm64
libfuse3-4 | 3.17.2-2 |           kali-dev | i386, amd64, armel, armhf, arm64

I suspect some of the extra packages that you want to install depend on a old version of libfuse3-4, and that's what breaks the build. Did you try to build a live image without your added package-list to see if that works?

Best,

arnaudr

arnaudr

2025-07-17 15:47

manager   ~0020740

but the docu says:
git clone https://gitlab.com/kalilinux/build-scripts/live-build-config.git

Should'n it be now:
git clone https://gitlab.com/kalilinux/build-scripts/kali-live.git

Yes the documentation needs a refresh in that regard

vanguard

vanguard

2025-07-17 18:51

reporter   ~0020744

Nope. When I ran into this issue before, I managed to download the libfuse-package manually and put it in package.chroot.
Thus it could be found., but that is working no more, because of version change.

Maybe I could remove my mylist.list in packages.lists, but this might then build, but will not solve the problem.

One chance I might try, is to download libfuse3-4_3.17.2 from the repo and put it in packages.chroot. I am sure, thsn this point will work.
However, there are also other dependencies, also libguestfs0t64 is missing, which will break the build, too.

You are right, I could remove the guest* packages, then this error will disappear, too.

Biut I suppose you will admit: This will also not solve the problem.


To the other thing: At the moment both commands are working, live-build-config.git as well as kali-live.git.

Question: In the past I did an update of the config files using

git pull origin master

but since some time, it is telling, there is no master. What am I doing wrong, what should I know?

Best

Hans

vanguard

vanguard

2025-07-18 13:04

reporter   ~0020745

Hi Arnaudr,

due to your suggestion, I tried to build kali-live again without any additions from myfile.list.chroot (moved it completely away).

However, it does no more break like before, but it breaks now at another point. This are the last lines of build.log:

--- snip ----

Preparing to unpack .../2385-zstd_1.5.7+dfsg-1_amd64.deb ...^M
Unpacking zstd (1.5.7+dfsg-1) ...^M
Selecting previously unselected package gnupg-utils.^M
Preparing to unpack .../2386-gnupg-utils_2.4.7-21+b1_amd64.deb ...^M
Unpacking gnupg-utils (2.4.7-21+b1) ...^M
Errors were encountered while processing:^M
/tmp/apt-dpkg-install-x6iMiK/1036-firmware-nexmon_0.2_all.deb^M
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: An unexpected failure occurred, exiting...
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
Reading state information...

--- snap ---

I do not know, if further things will happen, as the build is stopping then.

Best

Hans

vanguard

vanguard

2025-07-18 13:15

reporter   ~0020746

Maybe I should provide my list of added packages, so one can see, if there are packages the maintainers silently removed from kali-repo which I might have missed.
Please note, the build ran perfectly before with this last a few months ago,

I already noticed, that the firmware.list.chroot is already gone, which installs b43-frimware from Broadcom. I suppose, it is because of license change.

mylist.list.chroot (2,694 bytes)   
### packages we want to install
### kali packages to improve the system
# kali-linux-all
kali-linux-large
kali-nethunter-full
kali-undercover
default-jre
task-laptop
task-german
task-german-desktop
console-data

# Special tools not in KALI-full
linux-exploit-suggester
forensics-full
gvm
gvm-tools
parsero
shellnoob
teamsploit
veil
websploit
device-pharmer
libreoffice


### here you might want to add stuff for personal needs
adb
network-manager
network-manager-gnome
# network-manager-fortisslvpn-gnome
network-manager-l2tp-gnome
network-manager-openconnect-gnome
network-manager-openvpn-gnome
network-manager-pptp-gnome
network-manager-ssh
network-manager-ssh-gnome
# network-manager-strongswan
network-manager-vpnc-gnome
firefox-esr
firefox-esr-l10n-de
# ftp
claws-mail
claws-mail-plugins
claws-mail-extra-plugins
claws-mail-acpi-notifier
claws-mail-address-keeper
claws-mail-archiver-plugin
claws-mail-attach-remover
claws-mail-attach-warner
claws-mail-clamd-plugin
claws-mail-feeds-reader
claws-mail-fetchinfo-plugin
# claws-mail-gdata-plugin
claws-mail-i18n
claws-mail-libravatar
claws-mail-mailmbox-plugin
claws-mail-multi-notifier
claws-mail-newmail-plugin
claws-mail-pdf-viewer
claws-mail-perl-filter
claws-mail-pgpinline
claws-mail-pgpmime
claws-mail-smime-plugin
claws-mail-spam-report
claws-mail-spamassassin
claws-mail-tnef-parser
claws-mail-vcalendar-plugin
# thunderbird
# thunderbird-l10n-de
armitage
# java-package
lynx
# bluewho
mc
privoxy
# xdiskusage
# nvidia-legacy-340xx-driver
etherape
alsa-utils
locales
# remmina
# remmina-plugin-nx
# remmina-plugin-rdp
# remmina-plugin-vnc
# remmina-plugin-telepathy
# remmina-plugin-xdmcp
routersploit
aptitude
fancontrol
wodim
strace
wavemon
tmux
screen
cupp
kismet
kismet-plugins
gvm
gvm-tools
spectools
clonezilla
maltego
maltego-teeth
lynis
aide
# apt-listbugs
debsecan
debsums
fail2ban
tripwire
amap
memtest86+
bleachbit
ddrescueview
hardinfo2
synaptic

### packages from airgeddon
airgeddon
dsniff
beef-xss
asleap


### Virtualisierung 
virtualbox
# virtualbox-ext-pack
virtualbox-guest-utils
virtualbox-guest-additions-iso
virtualbox-guest-x11
virtualbox-dkms

virt-manager
virt-p2v
vmdb2
aqemu
qemu-system

### EEEPC specials i386
# eeepc-acpi-scripts

### in case you want use easy-creds script
### hamster and ferret are already in the repo
hostapd
ipcalc
isc-dhcp-server

### this is for skype only. For version 4.3 and higher uncomment pulseaudio
### for my patched version 4.2.0.11-2 leave pulseaudio commented out.
pulseaudio
pavucontrol

### special purposes
apt-cacher-ng
live-build
cdebootstrap

# needed packages for airgeddon
xterm
# sslstrip
bettercap
ccze
dnsmasq
hcxdumptool
mdk4
lighttpd
hcxtools
hostapd-wpe
mylist.list.chroot (2,694 bytes)   

Issue History

Date Modified Username Field Change
2025-07-14 09:51 vanguard New Issue
2025-07-15 09:08 vanguard Note Added: 0020735
2025-07-15 21:08 steev Assigned To => arnaudr
2025-07-15 21:08 steev Status new => assigned
2025-07-17 15:46 arnaudr Note Added: 0020739
2025-07-17 15:47 arnaudr Note Added: 0020740
2025-07-17 18:51 vanguard Note Added: 0020744
2025-07-18 13:04 vanguard Note Added: 0020745
2025-07-18 13:15 vanguard Note Added: 0020746
2025-07-18 13:15 vanguard File Added: mylist.list.chroot