Attempting to upgrade Ubuntu to 15.10 version from 15.04. package libpython2.7-stdlib 2.7.9-2ubuntu3 failed to install/upgrade: cannot copy extracted data for './usr/lib/python2.7/tarfile.py' to '/usr/lib/python2.7/tarfile.py.dpkg-new': unexpected end of file or stream

Bug #1555837 reported by Brian
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Upgrade appears to have failed. lsb_release -rd reports 15.10 but it has not upgraded.
It appeared that a number of packages failed to install and system did not restart. This bug report tool appeared when I selected myself to restart the system.

ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: libpython2.7-stdlib 2.7.9-2ubuntu3
ProcVersionSignature: Ubuntu 3.19.0-51.58-generic 3.19.8-ckt13
Uname: Linux 3.19.0-51-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.8
Architecture: amd64
Date: Thu Mar 10 21:17:48 2016
DuplicateSignature: package:libpython2.7-stdlib:2.7.9-2ubuntu3:cannot copy extracted data for './usr/lib/python2.7/tarfile.py' to '/usr/lib/python2.7/tarfile.py.dpkg-new': unexpected end of file or stream
ErrorMessage: cannot copy extracted data for './usr/lib/python2.7/tarfile.py' to '/usr/lib/python2.7/tarfile.py.dpkg-new': unexpected end of file or stream
InstallationDate: Installed on 2015-06-13 (271 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
RelatedPackageVersions:
 dpkg 1.18.2ubuntu5.1
 apt 1.0.10.2ubuntu1
SourcePackage: python2.7
Title: package libpython2.7-stdlib 2.7.9-2ubuntu3 failed to install/upgrade: cannot copy extracted data for './usr/lib/python2.7/tarfile.py' to '/usr/lib/python2.7/tarfile.py.dpkg-new': unexpected end of file or stream
UpgradeStatus: Upgraded to wily on 2016-03-10 (0 days ago)

Revision history for this message
Brian (brianb-8) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Brian (brianb-8) wrote :

There was also some message about missing architecture.

Revision history for this message
Brian (brianb-8) wrote :

Is it related to this bug? #1544781

Revision history for this message
Brian (brianb-8) wrote :

Could it be just that the package on the server is corrupted?

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that there was an error on your system when trying to install a particular package. Please execute the following command, as it will clear your package cache, in a terminal:

sudo apt-get clean

Then try performing the update again. This will likely resolve your issue, but the failure could be caused by filesystem or memory corruption. So please also run a fsck on your filesystem(s) and a memory test. Thanks in advance!

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: corrupted-package
Changed in python2.7 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.