Siduction Forum

Siduction Forum => Software - Support => Topic started by: frapelli on 2013/12/04, 22:29:54

Title: [SOLVED] apt-get error: "package index files are corrupted"
Post by: frapelli on 2013/12/04, 22:29:54
When upgrading I get:
E: The package index files are corrupted. No Filename: field for package libmozjs24d.
E: Unable to lock the download directory
And the upgrade stops.
What should I do?


Thanks


Title: Re: apt-get error: "package index files are corrupted"
Post by: Gabriel_M on 2013/12/05, 00:47:58
apt-get clean
rm -f /var/lib/apt/lists/*
rm -f /var/lib/apt/lists/partial/*
apt-get clean
apt-get update
Title: Re: apt-get error: "package index files are corrupted"
Post by: dibl on 2013/12/05, 03:01:58
Try


dpkg --configure -a


then what Gabriel said.   ;)
Title: Re: apt-get error: "package index files are corrupted"
Post by: frapelli on 2013/12/05, 20:05:28
Thank you. None of the two suggestions worked.I still get the same message and upgrade is not possible.


Title: Re: apt-get error: "package index files are corrupted"
Post by: dibl on 2013/12/05, 20:24:40
I would try a apt-get purge of the package libmozjs24d.  Then


dpkg --configure -a and see if there is any error.
Title: Re: apt-get error: "package index files are corrupted"
Post by: piper on 2013/12/05, 22:23:30
What is the output of

inxi -Srxxx

Title: Re: apt-get error: "package index files are corrupted"
Post by: Gabriel_M on 2013/12/05, 22:28:48
libmozjs24d: This library provides the embeddable JavaScript/ECMAScript engine from
the Mozilla project (used among others by the Iceweasel (Firefox) browser
as well as by the iPlanet WebServer).

apt-get remove --purge libmozjs24d

Title: Re: apt-get error: "package index files are corrupted"
Post by: frapelli on 2013/12/05, 22:52:52
I solved with:
apt-get install libmozjs*


or maybe:
apt-get install libmozjs24d*


I do not remember exactly...


a few packages were installed and after that dist-upgrade worked.


Thanks anyway for your help.