Results 1 to 6 of 6

Thread: Kali 2.0 to Rolling: /usr/bin/dpkg returned an error code

  1. #1
    Join Date
    2015-Sep
    Posts
    2

    Kali 2.0 to Rolling: /usr/bin/dpkg returned an error code

    I'm also getting errors when following the guide at https://www.kali.org/releases/kali-l...ition-2016-1/:

    Code:
    cat << EOF > /etc/apt/sources.list
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    EOF
    
    apt-get update
    apt-get dist-upgrade
    Error:

    Code:
    Processing triggers for man-db (2.7.0.2-5) ...
    dpkg: dependency problems prevent configuration of util-linux:
     util-linux depends on libudev1 (>= 183); however:
      Package libudev1:amd64 is not configured yet.
    
    dpkg: error processing package util-linux (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of systemd:
     systemd depends on util-linux (>= 2.27.1); however:
      Package util-linux is not configured yet.
    
    dpkg: error processing package systemd (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     util-linux
     systemd
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Is there any way to fix this?

  2. #2
    is that kali linux project going to be closed Lots of problems facing in the new rolling Version

  3. #3
    got better results with other linux OS and katoolin..

  4. #4
    Join Date
    2013-Mar
    Location
    localhost
    Posts
    41
    apt-get update
    apt-get install libudev1:amd64
    If you got error:
    apt-get install -f
    Y
    dpkg --configure libudev1:amd64
    r00tv.org
    moosy.org
    telegram @bondbenz

  5. #5
    Join Date
    2016-Mar
    Location
    Bitola, Macedonia
    Posts
    19
    Try this:

    apt-get clean
    apt-get autoclean
    apt-get -f install

    If that doesn't work, try to configure any and all existing unpacked and unconfigured packages running

    dpkg --configure -a

  6. #6
    Join Date
    2013-Aug
    Posts
    2
    I tried all solutions above but this didn't work for me.
    My solution is:

    apt-get autoremove
    apt-get update
    apt-get upgrade
    apt-get dist-upgrade

    ... and it works

Similar Threads

  1. Replies: 2
    Last Post: 2019-02-18, 22:18
  2. dpkg returned an error code (1)
    By discipuloosho in forum NetHunter General Questions
    Replies: 1
    Last Post: 2016-03-01, 21:26
  3. E: Sub-process /usr/bin/dpkg returned an error code (1)
    By r0o0t in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2014-06-13, 18:01

Tags for this Thread

Posting Permissions

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