Skip to content
Menu
TechDudes.de
  • Allgemein
  • Server
  • Linux
  • Impressum
TechDudes.de

Update Ubuntu 12.04 auf 14.04

Posted on 25. April 201425. April 2014 by Dennis

Heute die etwas erweiterte Variante der Updateprozedur. Ubuntu 14.04 LTS ist erschienen und so wollte ich mein System auffrischen. Eigentlich ist das Update erst für Juli vorgesehen, aber auf einem kleinen Testserver empfinde ich das nicht als problematisch. Daher habe ich das Update gemacht und hier also ein kleines Log/Howto mitgeschrieben wie ich von 12.04 auf 14.04 gekommen bin.

Wenn ihr wie ich als Root unterwegs seid und nicht immer mit Sudo arbeiten wollt, einfach flott zum Root machen per

sudo su

Vielleicht ist es noch sinnvoll, einige ältere Kernel zu deinstallieren sofern ihr eine kleine Bootpartition habt (z.B. auf einem kleinen Vserver). Bei mir stockte das Update, weil ich nicht genug freien Platz auf /boot hatte (z.B. per „apt-get remove linux-image-3.2.0-23-generic“).

Danach den Updatemanager installieren

apt-get install update-manager core

und starten (nach Juli wegen):

do-release-upgrade

Sollte das noch nicht funktionieren, weil er nichts neueres findet (wie geschrieben, das sollte erst ab Juli 2014 funktionieren wegen LTS), kann man mit

do-release-upgrade -d

nachhelfen und ihn zwingen, die neuste Version zu laden.

Hier sollte nun Trusty gefunden- und der Updateprozess in Gang gesetzt werden (Achtung, wenn der Artikel hier älter ist, und es schon ein neueres Ubuntu als 14.04 gibt, unbedingt auf die Version achten und das hier anpassen).

Hit http://security.ubuntu.com trusty-security/universe Translation-en
 Hit http://de.archive.ubuntu.com trusty-updates/universe Translation-en
 Hit http://de.archive.ubuntu.com trusty-backports/main Translation-en
 Hit http://de.archive.ubuntu.com trusty-backports/multiverse Translation-en
 Hit http://de.archive.ubuntu.com trusty-backports/restricted Translation-en
 Hit http://de.archive.ubuntu.com trusty-backports/universe Translation-en
 Fetched 72.4 kB in 6s (0 B/s)

Checking package manager
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Building data structures... Done

Calculating the changes
 No candidate ver: linux-image-3.2.0-23-generic
 No candidate ver: linux-image-3.2.0-56-generic
 No candidate ver: linux-image-3.2.0-58-generic
 No candidate ver: linux-image-3.2.0-60-generic

Do you want to start the upgrade?
 2 packages are going to be removed. 115 new packages are going to be
 installed. 386 packages are going to be upgraded.

You have to download a total of 233 M. This download will take about
 5 hours with your connection.

Installing the upgrade can take several hours. Once the download has
 finished, the process cannot be canceled.

Continue [yN] Details [d]

-> d

Remove: xz-lzma

Remove (was auto installed) apache2.2-common
 Install: apache2-bin apache2-data aptitude-common cpp-4.8 dh-python
 gawk gcc-4.8 gcc-4.8-base gcc-4.9-base init-system-helpers iproute2
 kmod libapparmor-perl libapparmor1 libapt-inst1.5
 libarchive-extract-perl libasan0 libasprintf0c2 libatm1 libatomic1
 libaudit-common libaudit1 libbind9-90 libboost-iostreams1.54.0
 libcap2-bin libcgmanager0 libck-connector0 libcloog-isl4 libdb5.3
 libdebconfclient0 libdns100 libestr0 libgcc-4.8-dev libgck-1-0
 libgcr-3-common libgcr-base-3-1 libgnutls-openssl27 libisc95
 libisccc90 libisccfg90 libisl10 libitm1 libjson-c2 libjson0
 libkmod2 liblog-message-simple-perl liblwres90
 libmodule-pluggable-perl libmpc3 libmpdec2 libnuma1 libpam-cap
 libpam-systemd libpod-latex-perl libpolkit-agent-1-0
 libpolkit-backend-1-0 libprocps3 libpython-dev libpython-stdlib
 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib
 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib
 libreadline5 libsasl2-modules-db libsemanage-common libsemanage1
 libsepol1 libserf-1-1 libsigsegv2 libssh2-1 libsystemd-daemon0
 libsystemd-login0 libtasn1-6 libterm-ui-perl libtext-soundex-perl
 libtsan0 libudev1 libustr-1.0-1 libwhoopsie0 libxtables10
 linux-generic linux-headers-3.13.0-24
 linux-headers-3.13.0-24-generic linux-headers-generic
 linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
 linux-image-generic ncurses-term openssh-sftp-server policykit-1
 python-configobj python-requests python-secretstorage python-six
 python-urllib3 python3 python3-apport python3-apt
 python3-commandnotfound python3-dbus python3-distupgrade
 python3-gdbm python3-gi python3-minimal python3-problem-report
 python3-update-manager python3.4 python3.4-minimal run-one
 systemd-services systemd-shim ubuntu-release-upgrader-core

Upgrade: accountsservice acpid adduser apache2 apache2-mpm-worker
 apache2-utils apache2.2-bin apparmor apport apport-symptoms apt
 apt-transport-https apt-utils apt-xapian-index aptitude at
 base-files base-passwd bash bash-completion bc bind9-host binutils
 bsdmainutils bsdutils busybox-initramfs busybox-static byobu bzip2
 ca-certificates command-not-found command-not-found-data
 console-setup coreutils cpio cpp cpp-4.6 crda cron curl dash dbus
 debconf debconf-i18n debianutils diffutils dmidecode dmsetup
 dnsutils dosfstools dpkg e2fslibs e2fsprogs ed eject file findutils
 fonts-ubuntu-font-family-console ftp fuse gcc gcc-4.6 gcc-4.6-base
 geoip-database gettext-base gir1.2-glib-2.0 gnupg gpgv grep
 groff-base grub-common grub-pc grub-pc-bin grub2-common gzip hdparm
 hostname ifupdown info initramfs-tools initramfs-tools-bin
 initscripts insserv install-info installation-report iproute
 iptables iputils-ping iputils-tracepath irqbalance isc-dhcp-client
 isc-dhcp-common iso-codes kbd keyboard-configuration klibc-utils
 krb5-locales landscape-common language-pack-en
 language-pack-en-base language-selector-common less
 libaccountsservice0 libacl1 libapache2-mod-wsgi libapr1 libaprutil1
 libaprutil1-dbd-sqlite3 libaprutil1-ldap libapt-pkg4.12
 libasn1-8-heimdal libattr1 libblkid1 libbsd0 libbz2-1.0 libc-bin
 libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libclass-isa-perl
 libcomerr2 libcurl3 libcurl3-gnutls libcwidget3 libdb5.1
 libdbus-1-3 libdbus-glib-1-2 libdevmapper1.02.1 libdrm-intel1
 libdrm-radeon1 libdrm2 libedit2 libelf1 libept1.4.12 libevent-2.0-5
 libexpat1 libexpat1-dev libffi6 libfreetype6 libfribidi0 libfuse2
 libgc1c2 libgcc1 libgcrypt11 libgdbm3 libgeoip1
 libgirepository-1.0-1 libglib2.0-0 libgmp10 libgnutls26 libgomp1
 libgpg-error0 libgpm2 libgssapi-krb5-2 libgssapi3-heimdal
 libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal
 libhx509-5-heimdal libidn11 libio-string-perl libiw30 libjs-jquery
 libk5crypto3 libkeyutils1 libklibc libkrb5-26-heimdal libkrb5-3
 libkrb5support0 libldap-2.4-2 liblocale-gettext-perl
 liblockfile-bin liblockfile1 liblzma5 libmagic1 libmount1 libmpfr4
 libncurses5 libncursesw5 libneon27-gnutls libnewt0.52 libnfnetlink0
 libnih-dbus1 libnih1 libnl-3-200 libnl-genl-3-200 libp11-kit0
 libpam-modules libpam-modules-bin libpam-runtime libpam0g
 libparted0debian1 libpcap0.8 libpci3 libpciaccess0 libpcre3
 libpcsclite1 libpipeline1 libplymouth2 libpng12-0
 libpolkit-gobject-1-0 libpopt0 libpython2.7 libquadmath0
 libreadline6 libroken18-heimdal librtmp0 libsasl2-2
 libsasl2-modules libselinux1 libsigc++-2.0-0c2a libslang2
 libsqlite3-0 libss2 libssl-dev libssl-doc libssl1.0.0 libstdc++6
 libsub-name-perl libsvn1 libtext-charwidth-perl libtext-iconv-perl
 libtimedate-perl libtinfo5 libusb-0.1-4 libusb-1.0-0 libuuid1
 libwind0-heimdal libwrap0 libx11-6 libx11-data libxapian22 libxau6
 libxcb1 libxdmcp6 libxext6 libxml2 libxmuu1 linux-firmware
 linux-headers-server linux-image-server linux-libc-dev linux-server
 locales lockfile-progs login logrotate lsb-base lsb-release lshw
 lsof ltrace makedev man-db manpages manpages-dev mawk mc mc-data
 memtest86+ mime-support mlocate module-init-tools mount mountall
 mtr-tiny multiarch-support nano ncurses-base ncurses-bin net-tools
 netbase netcat-openbsd ntfs-3g ntpdate openssh-client
 openssh-server openssl os-prober parted passwd patch pciutils perl
 perl-base perl-modules plymouth plymouth-theme-ubuntu-text
 popularity-contest powermgmt-base ppp pppconfig procps psmisc
 python python-apport python-apt python-apt-common python-chardet
 python-crypto python-dbus python-dbus-dev python-debian python-dev
 python-gdbm python-gi python-httplib2 python-keyring
 python-launchpadlib python-lazr.restfulclient python-lazr.uri
 python-minimal python-newt python-oauth python-openssl python-pam
 python-pkg-resources python-problem-report python-serial
 python-setuptools python-simplejson python-twisted-bin
 python-twisted-core python-wadllib python-xapian
 python-zope.interface python2.7 python2.7-dev python2.7-minimal
 readline-common resolvconf rsync rsyslog screen sed sensible-utils
 sgml-base ssh-import-id ssl-cert strace subversion sudo sysv-rc
 sysvinit-utils tar tasksel tasksel-data tcpd tcpdump telnet time
 tmux tzdata ubuntu-keyring ubuntu-minimal ubuntu-standard ucf udev
 ufw unzip update-manager-core update-notifier-common upstart
 ureadahead usbutils util-linux uuid-runtime vim vim-common
 vim-runtime vim-tiny w3m wget whiptail whoopsie wireless-regdb
 wireless-tools wpasupplicant xauth xkb-data xml-core xz-utils
 zlib1g zlib1g-dev

 

-> yes

Nachfrage, ob root sich mit Passwort einloggen darf: Je nachdem wie es bei euch sinnig ist, für die Dauer des Updates erlaube ich dies, danach kann ich es ja wieder im SSH-Daemon abschalten. Daher bei mir die Antwort:

-> no

Restart services during upgrade?

-> yes

 

Searching for obsolete software
Reading package lists... Done    
Building dependency tree          
Reading state information... Done
Building data structures... Done 
Building data structures... Done 

Remove obsolete packages? 


31 packages are going to be removed. 

 Continue [yN]  Details [d]

-> d

Remove: libapt-inst1.4 libbind9-80 libdns81 libdrm-nouveau1a libisc83 
  libisccc80 libisccfg82 liblwres80 libtasn1-3 libudev0 

Remove (was auto installed) apache2 apache2-data apache2-mpm-worker 
  apache2-utils apache2.2-bin libboost-iostreams1.46.1 
  libclass-isa-perl libdb4.8 libmpc2 libneon27-gnutls libssl-dev 
  libssl-doc libswitch-perl linux-headers-3.2.0-58 
  linux-headers-3.2.0-58-generic linux-headers-3.2.0-60 
  linux-headers-3.2.0-60-generic linux-headers-3.2.0-61 
  linux-headers-3.2.0-61-generic ssl-cert zlib1g-dev

-> y (aber nur wenn viel vertrauen besteht, dass der neue Kernel bootet, oder ihr anderweitig Zugriff auf das System habt, sodass ihr auch Bootprobleme fixen könnt)

Restart required 

To finish the upgrade, a restart is required. 
If you select 'y' the system will be restarted

yes

nach dem reboot wieder verbinden, und siehe da:

Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Fri Apr 25 12:25:28 CEST 2014

  System load:  1.12              Processes:           81
  Usage of /:   9.4% of 18.90GB   Users logged in:     0
  Memory usage: 6%                IP address for eth0: 123.456.789.101
  Swap usage:   0%

  Graph this data and manage this system at:
    https://landscape.canonical.com/

Last login: Fri Apr 25 12:08:06

Fertig 🙂

Schreibe einen Kommentar Antworten abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Neueste Beiträge

  • Smart 451 Schlüsselbatterie wechseln und Schlüssel wieder anlernen
  • VDR Server im LXC-Container unter Proxmox
  • Einen guten Start in 2021
  • Arch Linux in Proxmox LXC – first Steps
  • Pimp your Zbox

Kategorien

  • Allgemein
  • Android
  • Arch Linux
  • Browser
  • Chrome
  • Debian
  • Docker
  • Firefox
  • IBM (Allgemein)
  • IBM (Server)
  • KVM
  • Linux
  • LXC
  • NAS
  • Raspberry Pi
  • Redhat / CentOS
  • Server
  • Sonstiges
  • Sun
  • Thunderbird
  • Toolbox
  • Ubuntu
  • Virtualisierung
  • Windows
  • Xen

Schlagwörter

18.04 451 Acer Android Arch Linux Aspier Batterie wechseln bios bios-mod container denicid docker Dropbox DVB-C dvb-c2 DVB-S2 id4me Install Installation Kubuntu kvm lga Linux LXC mailcow microcode mSATA nextcloud pin-mod Proxmox proxmox-ve pve ReverseProxy Schlüssel Schlüssel anlernen Schlüsselbatterie Smart Smart451 SSD Thunderbird Ubuntu V3-771 V3-771G VDR vt-d
©2025 TechDudes.de | Theme: Wordly by SuperbThemes