PDA

View Full Version : apt upgrade error



martinii
2020-07-18, 19:32
Hi there,

I have fresh image of Kali Linux on my Raspberry Pi 3 and after apt update and apt full-upgrade i get this errors:


root@111:~# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up kali-themes (2020.3.0) ...
cp: cannot create symbolic link '/boot/grub/themes/kali/background.png': Operation not permitted
dpkg: error processing package kali-themes (--configure):
installed kali-themes package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of kali-desktop-core:
kali-desktop-core depends on kali-themes; however:
Package kali-themes is not configured yet.

dpkg: error processing package kali-desktop-core (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kali-desktop-xfce:
kali-desktop-xfce depends on kali-desktop-core; however:
Package kali-desktop-core is not configured yet.

dpkg: error processing package kali-desktop-xfce (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
kali-themes
kali-desktop-core
kali-desktop-xfce
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@111:~#

What is this? How to fix it?

vadim245
2020-07-20, 17:25
Hi! The same trouble using 32 or 64 bit versions of Kali 2020.2b - 7 days of searching for solution - no result.
Tried to upgrade without GUI - the same error.

Xelator
2020-07-20, 20:41
Hello,

i got the same problem on apt upgrade and when i want to install an VNC client


root@kali:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up kali-themes (2020.3.0) ...
cp: cannot create symbolic link '/boot/grub/themes/kali/background.png': Operation not permitted
dpkg: error processing package kali-themes (--configure):
installed kali-themes package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of kali-desktop-core:
kali-desktop-core depends on kali-themes; however:
Package kali-themes is not configured yet.


dpkg: error processing package kali-desktop-core (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
kali-themes
kali-desktop-core
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@kali:~#

freemansmail
2020-07-21, 15:33
Raspberry Pi 4 8Gb too error

Kali-by-Bali
2020-07-22, 07:03
make sure your paths are all there:

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

and the kali-theme today updated just fine, could've been the old theme was flawed...

vadim245
2020-07-22, 17:14
I was constantly getting the same error at least 4 times:
- I used a 32 bit Kali image to record directly the file with Etcher (checksum error, but nothing serious)
- I used a 64 bit Kali image to record directly the file with Etcher (checksum error, but nothing serious)
I changed Samsung 64Gb card to red-grey SanDisk 32Gb one then
- I used a 32 bit Kali image to record directly the file with Etcher (checksum error, but nothing serious)
- I used a 64 bit Kali image to record directly the file with Etcher (checksum error, but nothing serious)
Each attempt to upgrade after first boot led to the same error as yours.
BUT I have just tried to extract image to a folder before recording to sd card with Etcher. So Etcher verified checksum (of course because the checksum file was not in archive this time) without an error.
I do not think this is the reason. But another thing I did was the 3-d (!) sd card, this time it was a white-grey SanDisk 32Gb card.
So - another SD card and another writing method. A real magic :-) but no errors at upgrade process!!!

Thomasunede
2020-12-15, 00:50
I did a clean installing of Knoppmyth 5.5. I can boot and use the system.Due to some issues with video driver I need to install some more packages. I use apt but I receive several dependency problems:Code: