corrupted filesystem tarfile - corrupted package archive

Bug #773172 reported by blustar8
414
This bug affects 50 people
Affects Status Importance Assigned to Milestone
Zorin OS
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

'/VAR/CACHE/APT/ARCHIVES/PYTHON-QT4_4.8.3-2_AMD64.DEB' package may not be in working state. could not install'/VAR/CACHE/APT/ARCHIVES/PYTHON-QT4_4.8.3-2_AMD64.DEB'

Note well:

While comment #1 will resolve the immediate issue - it is possible that the package became corrupted on your system due to filesystem or memory corruption so one should run an fsck on your filesystem and a memory test.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that there was an error caused by a corrupted archive. Please execute the following commands, as it will clear your package cache, in a terminal ( Applications -> Accessories -> Terminal ) :

sudo apt-get clean
sudo apt-get update

Then try performing the update again. This will likely resolve your issue. If so please set the bug's status to Invalid. Thanks in advance!

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for update-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in update-manager (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Steve (srwade59) wrote :

steve@steve-laptop:~$ sudo apt-get clean
[sudo] password for steve:
steve@steve-laptop:~$ sudo apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
steve@steve-laptop:~$

Revision history for this message
Dick (oldcoot999) wrote :

The above 2 commands seems to have allowed the update to run OK on my system - Thanks

description: updated
tags: added: bugpattern-written
Revision history for this message
Allen Hobson (allen-hobson) wrote :

@Steve
Thanks that assisted me

sudo apt-get clean
Then
sudo apt-get update

bharankumar (bharan-428)
Changed in update-manager (Ubuntu):
status: Expired → Fix Released
assignee: nobody → bharankumar (bharan-428)
penalvch (penalvch)
Changed in update-manager (Ubuntu):
assignee: bharankumar (bharan-428) → nobody
status: Fix Released → Incomplete
bharankumar (bharan-428)
Changed in update-manager (Ubuntu):
status: Incomplete → Fix Released
bharankumar (bharan-428)
Changed in update-manager (Ubuntu):
assignee: nobody → bharankumar (bharan-428)
Revision history for this message
penalvch (penalvch) wrote :

bharankumar, please stop toggling this report.

Changed in update-manager (Ubuntu):
assignee: bharankumar (bharan-428) → nobody
status: Fix Released → Incomplete
Changed in update-manager (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
chitko (saintjohn769) wrote :

ck@fuckwindows:~$ sudo apt-fast --reinstall install ca-certificates-java
[sudo] password for ck:

 Working... this may take a while.

No files to download.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for ca-certificates-java:i386
ck@fuckwindows:~$

Revision history for this message
Denis Demkov (forekko) wrote :

I'm tried to do apt-get install --reinstall linux-headers and it helped me (u1210)

Revision history for this message
nick3499-ubuntu-amd64 (nick3499) wrote :

received error message in termal while upgrading: linux-image-3.5.0-25-generic

Revision history for this message
nick3499-ubuntu-amd64 (nick3499) wrote :
Revision history for this message
nick3499-ubuntu-amd64 (nick3499) wrote :
Revision history for this message
nick3499-ubuntu-amd64 (nick3499) wrote :

please disregard bug report above, just noticed the leading post

sudo apt-get clean
sudo apt-get update

that solved my problem, thank you Jean-Baptiste

Revision history for this message
Majal (majalmirasol) wrote :

If a package is broken, usually due to internet connection/download problems, I would usually delete the problematic package, eg:

sudo rm /VAR/CACHE/APT/ARCHIVES/PYTHON-QT4_4.8.3-2_AMD64.DEB

after that, running:

sudo apt-get -f install
or
reinstalling the program by command line

would solve the problem where apt-get would download a new copy of the package.

What I would like to suggest is that, during problems like these (damaged packages, error returns), apt-get could be set to first check the integrity (checksum/signature) of the problematic package, comparing it to the online signature, and if it is found to be different, a new copy could be automatically downloaded from the repos and installed. Just a suggestion, but I totally don't know the security/other concerns surrounding that implementation.

Revision history for this message
evalckea (evalckea) wrote : Re: [Bug 773172] Re: corrupted filesystem tarfile - corrupted package archive

Really the apt-get help mi to correct the problem, after this it has
installed without any problem.

2013/4/6 Majal Abe Mirasol <email address hidden>

> If a package is broken, usually due to internet connection/download
> problems, I would usually delete the problematic package, eg:
>
> sudo rm /VAR/CACHE/APT/ARCHIVES/PYTHON-QT4_4.8.3-2_AMD64.DEB
>
> after that, running:
>
> sudo apt-get -f install
> or
> reinstalling the program by command line
>
> would solve the problem where apt-get would download a new copy of the
> package.
>
> What I would like to suggest is that, during problems like these
> (damaged packages, error returns), apt-get could be set to first check
> the integrity (checksum/signature) of the problematic package, comparing
> it to the online signature, and if it is found to be different, a new
> copy could be automatically downloaded from the repos and installed.
> Just a suggestion, but I totally don't know the security/other concerns
> surrounding that implementation.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (993522).
> https://bugs.launchpad.net/bugs/773172
>
> Title:
> corrupted filesystem tarfile - corrupted package archive
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/773172/+subscriptions
>

Revision history for this message
Tess (tabbicat65) wrote :

sudo apt-get clean
sudo apt-get update

Solved my problem too.

affects: update-manager (Ubuntu) → zorin-os
To post a comment you must log in.