Results 1 to 3 of 3

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

  1. #1
    Join Date
    Aug 2014
    Beans
    2

    Unhappy help Sub-process /usr/bin/dpkg returned an error code (1)

    sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    chromium-codecs-ffmpeg-extra wine-gecko2.24 wine-gecko2.24:i386
    wine-mono4.5.2
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    wine1.6-amd64
    The following NEW packages will be installed:
    wine1.6-amd64
    0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
    2 not fully installed or removed.
    Need to get 0 B/15.9 MB of archives.
    After this operation, 123 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 175219 files and directories currently installed.)
    Preparing to unpack .../wine1.6-amd64_1%3a1.6.2-0ubuntu4_amd64.deb ...
    Unpacking wine1.6-amd64 (1:1.6.2-0ubuntu4) ...
    2dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/wine1.6-amd64_1%3a1.6.2-0ubuntu4_amd64.deb' to decompressor pipe: failed to read (Input/output error)
    dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
    dpkg-deb: error: subprocess <decompress> returned error exit status 2
    dpkg: error processing archive /var/cache/apt/archives/wine1.6-amd64_1%3a1.6.2-0ubuntu4_amd64.deb (--unpack):
    cannot copy extracted data for './usr/lib/x86_64-linux-gnu/wine/oleaut32.dll.so' to '/usr/lib/x86_64-linux-gnu/wine/oleaut32.dll.so.dpkg-new': unexpected end of file or stream
    Errors were encountered while processing:
    /var/cache/apt/archives/wine1.6-amd64_1%3a1.6.2-0ubuntu4_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  2. #2
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

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

    The dpkg error seems clear:

    Quote Originally Posted by alhrby26 View Post
    Code:
    Unpacking wine1.6-amd64 (1:1.6.2-0ubuntu4) ...
    2dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/wine1.6-amd64_1%3a1.6.2-0ubuntu4_amd64.deb' to decompressor pipe: failed to read (Input/output error)
    dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
    dpkg-deb: error: subprocess <decompress> returned error exit status 2
    dpkg: error processing archive /var/cache/apt/archives/wine1.6-amd64_1%3a1.6.2-0ubuntu4_amd64.deb (--unpack):
     cannot copy extracted data for './usr/lib/x86_64-linux-gnu/wine/oleaut32.dll.so' to '/usr/lib/x86_64-linux-gnu/wine/oleaut32.dll.so.dpkg-new': unexpected end of file or stream
    The system is saying "Hey, this is incomplete." The package wine1.6-amd64 is corrupt or incomplete.
    Stop trying to install the broken package. Delete it from your cache and let the package manager download a fresh (complete) copy.

    Delete the broken package using the command:
    Code:
    sudo rm /var/cache/apt/archives/wine1.6-amd64_1%3a1.6.2-0ubuntu4_amd64.deb
    Last edited by ian-weisser; August 11th, 2014 at 12:48 PM.

  3. #3
    Join Date
    Aug 2014
    Beans
    2

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

    Thank you

Bookmarks

Posting Permissions

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