Public bug reported: Every apt-get install or upgrade fails with a similar error, only the package name differs. In the below example, I'm trying to update apt with the recommended update. "apt-get upgrade" emits a similar error, although for the first package which it selects.
$ sudo apt-get install apt Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: dpkg-dev apt-doc The following packages will be upgraded: apt 1 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. Need to get 1,820kB of archives. After this operation, 0B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ lucid-updates/main apt 0.7.25.3ubuntu9.5 [1,820kB] Fetched 1,820kB in 3s (485kB/s) (Reading database ... 39902 files and directories currently installed.) Preparing to replace apt 0.7.25.3ubuntu9.4 (using .../apt_0.7.25.3ubuntu9.5_amd64.deb) ... Unpacking replacement apt ... dpkg: error processing /var/cache/apt/archives/apt_0.7.25.3ubuntu9.5_amd64.deb (--unpack): unable to create `/usr/bin/apt-cache.dpkg-new' (while processing `./usr/bin/apt-cache'): Invalid argument dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/apt_0.7.25.3ubuntu9.5_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) $ lsb_release -rd Description: Ubuntu 10.04.2 LTS Release: 10.04 $ apt-cache policy apt apt: Installed: 0.7.25.3ubuntu9.4 Candidate: 0.7.25.3ubuntu9.5 Version table: 0.7.25.3ubuntu9.5 0 500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages *** 0.7.25.3ubuntu9.4 0 100 /var/lib/dpkg/status 0.7.25.3ubuntu7 0 500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages ** Affects: apt (Ubuntu) Importance: Undecided Assignee: Massimo Forti (maxforti) Status: Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/807619 Title: apt updates fail with invalid argument To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/807619/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
