Results 1 to 4 of 4

Thread: Upgraded to Kali Rolling and having dpkg warnings/errors

  1. #1
    Join Date
    2016-Dec
    Posts
    2

    Upgraded to Kali Rolling and having dpkg warnings/errors

    First I have to say, I enjoy these forums. Lets me learn and gain knowledge in something I am very new in. So thanks for all the posts!

    So I upgraded to Kali Rolling but when I do an update this is the error I get:

    dpkg: warning: unable to delete old directory '/usr/local/lib': Directory not empty
    dpkg: warning: unable to delete old directory '/usr/local': Directory not empty
    Errors were encountered while processing:
    /tmp/apt-dpkg-install-fhleYb/347-libwine_1.8.5-1_amd64.deb
    /tmp/apt-dpkg-install-fhleYb/407-python3-matplotlib_1.5.3-1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I am a little new so any help would be great.

  2. #2
    Join Date
    2016-Dec
    Posts
    2
    # apt-get install isc-dhcp-server
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    isc-dhcp-server is already the newest version (4.3.5~b1-1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    8 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 python3-pkg-resources (28.7.1-1) ...
    [Errno 5] Input/output error
    dpkg: error processing package python3-pkg-resources (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of python3-chardet:
    python3-chardet depends on python3-pkg-resources; however:
    Package python3-pkg-resources is not configured yet.

    dpkg: error processing package python3-chardet (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of python3-requests:
    python3-requests depends on python3-chardet; however:
    Package python3-chardet is not configured yet.

    dpkg: error processing package python3-requests (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of python3-cupshelpers:
    python3-cupshelpers depends on python3-requests; however:
    Package python3-requests is not configured yet.

    dpkg: error processing package python3-cupshelpers (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of python3-debian:
    python3-debian depends on python3-chardet; however:
    Package python3-chardet is not configured yet.

    dpkg: error processing package python3-debian (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of system-config-printer-common:
    system-config-printer-common depends on python3-cupshelpers (= 1.5.7-2); however:
    Package python3-cupshelpers is not configured yet.
    system-config-printer-common depends on python3-requests; however:
    Package python3-requests is not configured yet.

    dpkg: error processing package system-config-printer-common (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of system-config-printer-udev:
    system-config-printer-udev depends on python3-cupshelpers (= 1.5.7-2); however:
    Package python3-cupshelpers is not configured yet.

    dpkg: error processing package system-config-printer-udev (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of debtags:
    debtags depends on python3-debian; however:
    Package python3-debian is not configured yet.

    dpkg: error processing package debtags (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    python3-pkg-resources
    python3-chardet
    python3-requests
    python3-cupshelpers
    python3-debian
    system-config-printer-common
    system-config-printer-udev
    debtags
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  3. #3
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    Based on your error message, you chose to continue when the version of isc-dhcp-server was already the latest version in the repos. From my experience, doing this can cause all sorts of weird/bad things.

    If feasible, I'd blow away & reinstall from a weekly build at http://cdimage.kali.org/kali-images/kali-weekly/

  4. #4
    Quote Originally Posted by bruce13 View Post
    # apt-get install isc-dhcp-server
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    isc-dhcp-server is already the newest version (4.3.5~b1-1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    8 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 python3-pkg-resources (28.7.1-1) ...
    [Errno 5] Input/output error
    dpkg: error processing package python3-pkg-resources (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of python3-chardet:
    python3-chardet depends on python3-pkg-resources; however:
    Package python3-pkg-resources is not configured yet.

    dpkg: error processing package python3-chardet (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of python3-requests:
    python3-requests depends on python3-chardet; however:
    Package python3-chardet is not configured yet.

    dpkg: error processing package python3-requests (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of python3-cupshelpers:
    python3-cupshelpers depends on python3-requests; however:
    Package python3-requests is not configured yet.

    dpkg: error processing package python3-cupshelpers (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of python3-debian:
    python3-debian depends on python3-chardet; however:
    Package python3-chardet is not configured yet.

    dpkg: error processing package python3-debian (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of system-config-printer-common:
    system-config-printer-common depends on python3-cupshelpers (= 1.5.7-2); however:
    Package python3-cupshelpers is not configured yet.
    system-config-printer-common depends on python3-requests; however:
    Package python3-requests is not configured yet.

    dpkg: error processing package system-config-printer-common (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of system-config-printer-udev:
    system-config-printer-udev depends on python3-cupshelpers (= 1.5.7-2); however:
    Package python3-cupshelpers is not configured yet.

    dpkg: error processing package system-config-printer-udev (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of debtags:
    debtags depends on python3-debian; however:
    Package python3-debian is not configured yet.

    dpkg: error processing package debtags (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    python3-pkg-resources
    python3-chardet
    python3-requests
    python3-cupshelpers
    python3-debian
    system-config-printer-common
    system-config-printer-udev
    debtags
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    thank you for the answers to the content above.

Similar Threads

  1. Kali nethunter proot error dpkg warnings
    By kazz2020 in forum NetHunter General Questions
    Replies: 0
    Last Post: 2018-11-02, 16:18

Posting Permissions

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