Results 1 to 3 of 3

Thread: Sub-process /usr/bin/dpkg returned an error code (1)

  1. #1
    Join Date
    2014-Jul
    Posts
    2

    Red face Sub-process /usr/bin/dpkg returned an error code (1)

    Hi Guys

    how to fix this problem ?


    Code:
    root@kali:~# apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 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 extlinux (3:6.03~pre1+dfsg-1kali3) ...
    P: Checking for EXTLINUX directory... found.
    /boot/vmlinuz-3.14-kali1-amd64
    P: Writing config for /boot/vmlinuz-3.14-kali1-amd64...
    I: os-proper disabled in /etc/default/extlinux: Skipping /boot/extlinux/os-proper.cfg
    E: /usr/share/EXTLINUX/themes/debian: No such file or directory
    dpkg: error processing extlinux (--configure):
     subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     extlinux
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@kali:~#

  2. #2
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Hi there,

    This will sort you out

    Open terminal or if you can't get into the GUI boot into Kali recovery mode and run:
    Code:
    apt-get autoremove
    After that, reboot (if you are in recovery) or if still in terminal run:
    Code:
    apt-get update && apt-get upgrade
    and you should have no more errors.

    Reinstall what was removed
    Code:
    apt-get install libnet-daemon-perl libplrpc-perl memtest86+ syslinux-themes-debian syslinux-themes-debian-wheezy

  3. #3
    Join Date
    2014-Jul
    Posts
    2
    Quote Originally Posted by staticn0de View Post
    Hi there,

    This will sort you out

    Open terminal or if you can't get into the GUI boot into Kali recovery mode and run:
    Code:
    apt-get autoremove
    After that, reboot (if you are in recovery) or if still in terminal run:
    Code:
    apt-get update && apt-get upgrade
    and you should have no more errors.

    Reinstall what was removed
    Code:
    apt-get install libnet-daemon-perl libplrpc-perl memtest86+ syslinux-themes-debian syslinux-themes-debian-wheezy
    thank you : )

Similar Threads

  1. E: Sub-process /usr/bin/dpkg returned an error code (1)
    By LucaWebs in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-09-03, 02:02
  2. Replies: 2
    Last Post: 2019-02-18, 22:18
  3. E: Sub-process /usr/bin/dpkg returned an error code (1)
    By trevordeonmpofu in forum Building Archive
    Replies: 0
    Last Post: 2018-12-21, 10:32
  4. Sub-process /usr/bin/dpkg returned an error code (1)
    By iceman_3233 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-03-04, 19:10

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
  •