View Issue Details

IDProjectCategoryView StatusLast Update
0007295Kali LinuxKali Package Bugpublic2021-08-27 20:45
Reporterind3p3nd3nt Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Product Version2021.2 
Summary0007295: dpkg error with systemd in nethunter
Description

Preparing to unpack .../systemd_247.9-1_amd64.deb ...
mv: cannot move '/etc/pam.d/systemd-user' to '/etc/pam.d/systemd-user.dpkg-remove': No such file or directory
dpkg: error processing archive /var/cache/apt/archives/systemd_247.9-1_amd64.deb (--unpack):
new systemd package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../libsystemd0_247.9-1_amd64.deb ...
Unpacking libsystemd0:amd64 (247.9-1) over (240-6) ...
Errors were encountered while processing:
/var/cache/apt/archives/systemd_247.9-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Used distribution

https://build.nethunter.com/kalifs/kalifs-latest/

Linux kernel version used (uname -a)
Linux localhost 4.9.0-16-amd64 0000001 SMP Debian 4.9.272-2 (2021-07-19) x86_64 GNU/Linux

CPU architecture issue was seen on
amd64

Expected behaviour you didn't see
apt would finish correctly

Unexpected behaviour you saw
dpkg error while doing an apt install xfce4

Steps to reproduce the problem
in a root I did this:
wget -O install_kali https://is.gd/kaliuniverse
chmod +x install_kali
./install_kali

then I typed in the root
remote install
(which does: nh -r apt update && nh -r apt install tightvncserver kali-defaults-desktop kali-menu net-tools xterm lxterminal -y;)

seems like systemd is broken in the chroot

Issue History

Date Modified Username Field Change
2021-08-25 15:08 ind3p3nd3nt New Issue
2021-08-27 11:02 g0tmi1k Severity block => minor
2021-08-27 11:03 g0tmi1k Priority high => normal
2021-08-27 20:45 g0tmi1k Note Added: 0015048
2021-08-27 20:45 g0tmi1k Status new => closed
2021-08-27 20:45 g0tmi1k Resolution open => won't fix