I have been trying to update Ubuntu 12.04
on the command line by using the two commands
sudo apt-get update
sudo apt-get dist-upgrade
which ends with the following error:
(Reading database ... 70%dpkg: ../../src/filesdb.c:683: findnamenode: Assertion `(*pointerp)->name[0] == '/'' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly
How to fix this on the command line?