Results 1 to 7 of 7

Thread: apt upgrade error

  1. #1
    Join Date
    2016-Dec
    Posts
    21

    apt upgrade error

    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:

    Code:
    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?

  2. #2
    Join Date
    2020-Jul
    Posts
    2
    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.

  3. #3
    Join Date
    2020-Jul
    Posts
    1
    Hello,

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

    Code:
    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:~#

  4. #4
    Raspberry Pi 4 8Gb too error

  5. #5
    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...

  6. #6
    Join Date
    2020-Jul
    Posts
    2
    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!!!

  7. #7
    Join Date
    2020-Oct
    Location
    Tunisia
    Posts
    3

    -

    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:

Similar Threads

  1. Kali Update && Upgrade && dist-upgrade Error
    By Dickz in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2017-09-12, 07:11
  2. Replies: 3
    Last Post: 2016-10-15, 11:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •