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
apt-get clean
rm -f /var/lib/apt/lists/*
rm -f /var/lib/apt/lists/partial/*
apt-get clean
apt-get update
Try
dpkg --configure -a
then what Gabriel said. ;)
Thank you. None of the two suggestions worked.I still get the same message and upgrade is not possible.
I would try a apt-get purge of the package libmozjs24d. Then
dpkg --configure -a and see if there is any error.
What is the output of
inxi -Srxxx
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
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.