Upgrade Ubuntu Server 12.04 LTS to 14..04 LTS
I recently upgraded my server from 12.04 to 14.04 using do-release-upgrade. Following instructions I could find etc.
Per my experience such a upgrade path should be recommended against. Also it would be better to remove the notice to upgrade in the console. It is sort of suggestive of it working. If we want to put this option there it would be better to put a very big disclaimer that upgrade could and will mostly result in issues and a require a fresh install of the server rather than something that resembles an upgrade.
The first issue I noticed is that the upgrade purged data in my OpenLDAP directory and left in a non working corrupt condition.
When trying to remove OpenLDAP to do a fresh install I noticed that the system configuration got corrupted also as a result of the upgrade.
When I do for example
sudo apt-get -y remove slapd
I see messages
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
So Ubuntu server no longers deinstalls because of unmet dependencies. These depedencies cannot be corrected anymore
There is a wealth of error messages. Ubuntu even displays a message that error reports are no longer written because of the max been reached.
So I now feat the big fear that i have to say bye to my Ubuntu server as I can no longer do anything with it. Packages won't install or deinstall because of dependencies and dependencies can no longer be met because of errors.
Is there a way to recover from the upgrade? Or does it mean a complete reinstall of my server which represents many, many, many hours of work?
:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
linux-
linux-
linux-
linux-
linux-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
texlive-base thailatex
Suggested packages:
perl-tk
The following packages will be upgraded:
texlive-base thailatex
2 upgraded, 0 newly installed, 0 to remove and 724 not upgraded.
27 not fully installed or removed.
Need to get 0 B/16.2 MB of archives.
After this operation, 16.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
texlive-
dpkg: dependency problems prevent configuration of texlive-base:
texlive-base depends on texlive-doc-base (>= 2009-1); however:
Package texlive-doc-base is not installed.
texlive-base depends on texlive-common (>= 2009-1); however:
Package texlive-common is not installed.
texlive-binaries (2013.20130729.
Version of texlive-base to be configured is 2009-15.
libkpathsea6 (2013.20130729.
Version of texlive-base to be configured is 2009-15.
dpkg: error processing package texlive-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-lang-other:
texlive-lang-other depends on texlive-base (>= 2013.20130512); however:
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-lang-other (--configure):
dependency problems - leaving unconfigured
Setting up slapd (2.4.31-
No apport report written because the error message indicates its a followup error from a previous failure.
Moving old database directories to /var/backups:
Loading from /var/backups/
* Starting OpenLDAP slapd [ OK ]
dpkg: dependency problems prevent configuration of texlive-latex-base:
texlive-latex-base depends on texlive-base (>= 2013.20130512); however:
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-latex-base (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
texlive-font-utils depends on texlive-base (>= 2013.20130512); however:
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-font-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-common:
latex-cjk-common depends on texlive-latex-base; however:
Package texlive-latex-base is not configured yet.
latex-cjk-common depends on texlive-font-utils (>= 2007.dfsg.2-1); however:
Package texlive-font-utils is not configured yet.
No apport report written because MaxReports is reached already
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
latex-cjk-chinese depends on latex-cjk-common (= 4.8.3+git201209
Package latex-cjk-common is not configured yet.
dpkg: error processing package latex-cjk-chinese (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-japanese:
latex-cjk-japanese depends on latex-cjk-common (= 4.8.3+git201209
Package latex-cjk-common is not configured yet.
No apport report written because MaxReports is reached already
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-cjk-korean:
latex-cjk-korean depends on latex-cjk-common (>= 4.8.3+git201209
Package latex-cjk-common is not configured yet.
dpkg: error processing package latex-cjk-korean (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
latex-cjk-thai depends on latex-cjk-common (>= 4.8.3+git201209
Package latex-cjk-common is not configured yet.
latex-cjk-thai depends on texlive-latex-base; however:
Package texlive-latex-base is not configured yet.
latex-cjk-thai depends on texlive-lang-other (>= 2013.20130523-1); however:
Package texlive-lang-other is not configured yet.
dpkg: error processing package latex-cjk-thai (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
latex-cjk-all depends on latex-cjk-common (>= 4.8.3+git201209
Package latex-cjk-common is not configured yet.
latex-cjk-all depends on latex-cjk-chinese (>= 4.8.3+git201209
Package latex-cjk-chinese is not configured yet.
latex-cjk-all depends on latex-cjk-japanese (>= 4.8.3+git201209
Package latex-cjk-japanese is not configured yet.
latex-cjk-all depends on latex-cjk-korean (= 4.8.3+git201209
Package latex-cjk-korean is not configured yet.
latex-cjk-all depends on latex-cjk-thai (= 4.8.3+git201209
Package latex-cjk-thai is not configured yet.
dpkg: error processing package latex-cjk-all (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-fonts-
latex-
Package texlive-lang-other is not configured yet.
dpkg: error processing package latex-fonts-
dependency problems - leaving unconfiguredNo apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of texlive-
texlive-
Package texlive-latex-base is not configured yet.
texlive-
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-extra-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-
texlive-
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
texlive-
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-
texlive-
Package texlive-latex-base is not configured yet.
texlive-
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-pictures:
texlive-pictures depends on texlive-base (>= 2013.20130512); however:
Version of texlive-base on system is 2009-15.
No apport report written because MaxReports is reached already
dpkg: error processing package texlive-pictures (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
texlive-
Version of texlive-base on system is 2009-15.
texlive-
Package texlive-
texlive-
Package texlive-pictures is not configured yet.
dpkg: error processing package texlive-latex-extra (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
texlive-
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-
texlive-
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-luatex:
texlive-luatex depends on texlive-base (>= 2013.20130512); however:
Version of texlive-base on system is 2009-15.
No apport report written because MaxReports is reached already
dpkg: error processing package texlive-luatex (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-
texlive-
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-pstricks:
texlive-pstricks depends on texlive-base (>= 2013.20130512); however:No apport report written because MaxReports is reached already
Version of texlive-base on system is 2009-15.
texlive-pstricks depends on texlive-
Package texlive-
dpkg: error processing package texlive-pstricks (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
texlive-
Version of texlive-base on system is 2009-15.
dpkg: error processing package texlive-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tipa:
tipa depends on texlive-latex-base; however:
Package texlive-latex-base is not configured yet.
dpkg: error processing package tipa (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-xetex:
No apport report written because MaxReports is reached already
Version of texlive-base on system is 2009-15.
texlive-xetex depends on texlive-latex-base (>= 2013.20130512); however:
Package texlive-latex-base is not configured yet.
texlive-xetex depends on tipa (>= 2:1.2-2.1); however:
Package tipa is not configured yet.
dpkg: error processing package texlive-xetex (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of thailatex:
thailatex depends on texlive-latex-base; however:
Package texlive-latex-base is not configured yet.
tex-common (4.04) breaks thailatex (<< 2013) and is installed.
Version of thailatex to be configured is 0.4.6-3.
dpkg: error processing package thailatex (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
texlive-base
texlive-lang-other
texlive-latex-base
texlive-font-utils
latex-cjk-common
latex-cjk-chinese
latex-cjk-japanese
latex-cjk-korean
latex-cjk-thai
latex-cjk-all
latex-
texlive-
texlive-
texlive-
texlive-
texlive-pictures
texlive-
texlive-
texlive-
texlive-luatex
texlive-
texlive-pstricks
texlive-
tipa
texlive-xetex
thailatex
E: Sub-process /usr/bin/dpkg returned an error code (1)
ostraaten@
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Onno
- Solved:
- Last query:
- Last reply: