Malibyte
May 26th, 2016, 02:15 AM
Hi all -
I have several machines running Ubuntu, and, having a few days off work this week, decided to upgrade all of them from Trusty to Xenial. Five of them (three servers, one laptop and one desktop) upgraded fairly easily, with some minor snags (mainly due to the switch to systemd) which I was able to fix without too much trouble. My big media server, running MythTV, Plex server and a bunch of other big apps, would not upgrade - I noticed a lot of error messages during the procedure, which finally crapped out before completion, giving me the cryptic message "there were too many errors". It appears due to classic dependency hell, as many wouldn't install because their dependencies weren't set up yet. Multiple attempts to clean this up with "dpkg --configure -a" and "apt-get install -f" and apt-get dist-upgrade -f" were only partly successful, leaving me with a list of 50 or so apps which were listed as not installed (including the X server and the initrd for the new kernel) and 600+ which apt said were not installed.
I finally gave up and reverted to 14.04 using my image backup and tried it again. Same result. Restored from backup, now back on 14.04 and running as usual.
One small laptop, running the 32-bit version, had the same problem. I will probably do a clean install on that one, since I don't use it much. However, doing a fresh install and re-installing all the apps on my media server would be a day-killer. Any other magic methods of getting this upgrade to finish up cleanly?
Thanks in advance!
I have several machines running Ubuntu, and, having a few days off work this week, decided to upgrade all of them from Trusty to Xenial. Five of them (three servers, one laptop and one desktop) upgraded fairly easily, with some minor snags (mainly due to the switch to systemd) which I was able to fix without too much trouble. My big media server, running MythTV, Plex server and a bunch of other big apps, would not upgrade - I noticed a lot of error messages during the procedure, which finally crapped out before completion, giving me the cryptic message "there were too many errors". It appears due to classic dependency hell, as many wouldn't install because their dependencies weren't set up yet. Multiple attempts to clean this up with "dpkg --configure -a" and "apt-get install -f" and apt-get dist-upgrade -f" were only partly successful, leaving me with a list of 50 or so apps which were listed as not installed (including the X server and the initrd for the new kernel) and 600+ which apt said were not installed.
I finally gave up and reverted to 14.04 using my image backup and tried it again. Same result. Restored from backup, now back on 14.04 and running as usual.
One small laptop, running the 32-bit version, had the same problem. I will probably do a clean install on that one, since I don't use it much. However, doing a fresh install and re-installing all the apps on my media server would be a day-killer. Any other magic methods of getting this upgrade to finish up cleanly?
Thanks in advance!