corrupted package archive

Asked by jhcoles

After having downloaded some updates I receive the following message:
"E: /var/cache/apt/archives/evolution_2.6.1-0ubuntu7.1_i386.deb: corrupted filesystem tarfile - corrupted package archive".
I tried (apprehensively!) to use the "fix broken packages" option but I really don't think I know what I'm doing. Any help/suggestions would be extremely welcome.
John Coles

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ralph Janke
Solved:
Last query:
Last reply:
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#1

You could manually delete that file. Next time you do an update it will re-download it.

sudo rm /var/cache/apt/archives/evolution_2.6.1-0ubuntu7.1_i386.deb

Revision history for this message
Best Ralph Janke (txwikinger) said :
#2

You can try to just remove the corrupted package file with the following command in the command line terminal:

sudo rm /var/cache/apt/archives/evolution_2.6.1-0ubuntu7.1_i386.deb

and the try the installation of the package again.

Revision history for this message
jhcoles (jhcoles) said :
#3

Once again I'm amazed at the speed and correctness of the answers I receive to my feeble queries.
Many thanks - John Coles

Revision history for this message
Mike Wilson (wilsonmr) said :
#4

This worked for me, too (broken openoffice-common). But wouldn't it be better if Synaptic's 'Fix Broken Packages' routine did this deletion itself, as step 1 in repairs?