Results 1 to 2 of 2

Thread: Unable to upgrade, dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

  1. #1
    Join Date
    2019-Aug
    Posts
    13

    Unable to upgrade, dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

    Hi there, i have another Problem and dont know where it comes from. My system is a persistent USB HDD 64bit with Kali 2019.2 on it.
    When i run apt update this is the output:

    root@whoami:~# apt update
    Hit:1 http://deb.i2p2.no unstable InRelease
    Hit:2 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    10 packages can be upgraded. Run 'apt list --upgradable' to see them.


    after apt install -f the error occurs:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
    linux-headers-5.2.0-kali2-common
    The following packages will be upgraded:
    linux-headers-5.2.0-kali2-common
    1 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/8,894 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Reading changelogs... Done
    (Reading database ... 691895 files and directories currently installed.)
    Preparing to unpack .../linux-headers-5.2.0-kali2-common_5.2.9-1kali2_all.deb ...
    Unpacking linux-headers-5.2.0-kali2-common (5.2.9-1kali2) over (5.2.9-1kali1) ...
    dpkg: error processing archive /var/cache/apt/archives/linux-headers-5.2.0-kali2-common_5.2.9-1kali2_all.deb (--unpack):
    unable to stat './usr/src/linux-headers-5.2.0-kali2-common/arch/arm' (which I was about to install): Structure needs cleaning
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/linux-headers-5.2.0-kali2-common_5.2.9-1kali2_all.deb
    needrestart is being skipped since dpkg has failed
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I tried apt --fix-broken install

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
    linux-headers-5.2.0-kali2-common
    The following packages will be upgraded:
    linux-headers-5.2.0-kali2-common
    1 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/8,894 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Reading changelogs... Done
    (Reading database ... 691895 files and directories currently installed.)
    Preparing to unpack .../linux-headers-5.2.0-kali2-common_5.2.9-1kali2_all.deb ...
    Unpacking linux-headers-5.2.0-kali2-common (5.2.9-1kali2) over (5.2.9-1kali1) ...
    dpkg: error processing archive /var/cache/apt/archives/linux-headers-5.2.0-kali2-common_5.2.9-1kali2_all.deb (--unpack):
    unable to stat './usr/src/linux-headers-5.2.0-kali2-common/arch/arm' (which I was about to install): Structure needs cleaning
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/linux-headers-5.2.0-kali2-common_5.2.9-1kali2_all.deb
    needrestart is being skipped since dpkg has failed
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    I dont know how to solve this problem and hope some of you can help me....

    I tried this one,too. But every time the same failure Message.
    dpkg -i --force-overwrite path-to-the-deb-file


  2. #2
    Join Date
    2019-Aug
    Posts
    13
    Problem solved. I made a full Install on my ext. HDD and now i can update the Kernel without Problems. It seems that persistence was the Problem.

Similar Threads

  1. Apt --fix-broken install dpkg-divert: error: unknown option--no-rename
    By HackingBharat in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-08-24, 08:15
  2. Armitage error db_nmap broken pipe?
    By flashanky in forum General Archive
    Replies: 0
    Last Post: 2015-12-09, 01:33
  3. Kali upgrade error - subprocess new pre-removal script
    By SCSIJumper in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-05-17, 17:58

Posting Permissions

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