Comment 5 for bug 1356743

Revision history for this message
clara (claranoehringer) wrote : Re: [Bug 1356743] Re: package libcap2 1:2.22-1ubuntu3 failed to install/upgrade: ErrorMessage: package libcap2 is already installed and configured

Thanks again for your help.

I just tried what you said. That is I did:
sudo apt-get clean
and it seems it did nothing. And I did check my disk. It is at 75%.

I then tried to upgrade as you said, and I had the same message than the
last time.
It seems that the package netcat-traditional always gets in the way, so
I tried different things to get rid of it.
First via Synaptic, then with
apt-get -f remove netcat-traditional

and with
apt-get --purge remove netcat-traditional

It always says
"(Lecture de la base de données... 95%dpkg : erreur fatale irréversible,
abandon :
 la liste des fichiers pour le paquet « netcat-traditional » n'a pas de
retour à la ligne en fin de fichier
E: Sub-process /usr/bin/dpkg returned an error code (2)"

I have no idea how to get rid of it. If you have any idea I'd be most
welcome, though I guess you have more urgent and important things to
do.

Thanks again. Have a nice day.

Le lundi 18 août 2014 à 22:20 +0000, Serge Hallyn a écrit :

> Thanks for the information. The term.log has entries like
>
> files list file for package `netcat-traditional' contains empty filename
>
> which do suggest you have corrupted package index. Please try doing
>
> sudo apt-get clean
>
> before doing the
>
> sudo apt-get update && sudo apt-get -y dist-upgrade && sudo do-release-
> upgrade
>
> Please also check that 'df -h /' does not show your root disk being
> full.
>