Failed 14.04 LTS upgrade

A friend called for help when one of his computers failed a distribution upgrade. The upgrade was started from 12.04 LTS via the GUI. I'm not sure which version he had previously, but the standard update procedure stopped midway. The upgrade could not be resumed, so manual intervention was needed. I'm not sure whether the issue was caused by a bit error in memory, an out of space issue or by something else.

Unfortunately, I don't have the error messages at hand.

The solution boiled down to doing the following tedious steps:

apt-get update
apt-get dist-upgrade
do-release-upgrade
dpkg --configure -a
apt-get -f install
mcedit /var/lib/dpkg/status # delete section which is complained about
mktexlsr # note down errors
updmap-sys --synthwithtrees # note down errors
mcedit /etc/texmf/... # remove invalid map file lines
updmap-sys
apt-get install ubuntu-desktop

Comments

Popular posts from this blog

Tftp secret of TL-WR740N uncovered

Hidden TFTP of TP-Link routers

Haskell for embedded: C output, compilers, monads, Timber