OS upgrade?

Hey guys. I was wondering about upgrading my server from 10.04.4 LTS to the latest supported version which I believe is 14.04?? Can this be done in place or do I have to build another server image from scratch? Should I go to 12 and then to 14??

Status: 
Active

Comments

Howdy -- yeah, as Ubuntu 10.04 is no longer receiving updates, it's an excellent idea to update to a newer one.

As far as how to do so -- there are two ways we'd recommend.

One, is to setup a second server running your preferred distro/version, install Virtualmin onto it, then backup all your domains and restore them on the new server.

Instructions for doing that are here:

https://www.virtualmin.com/documentation/system/migrate

The other option is to perform an in-place upgrade.

When doing that, you can only go one step at a time... meaning you'd first need to upgrade to 12.04, and then 14.04. Also, we're preparing 16.04 support for this April, that's an option too.

Upgrading is a big jump, and there are a lot of changes, so we're recommend preparing for some downtime if you go that route. However, it does work, and that's a popular way to move to a newer Ubuntu version.

There are instructions for doing that here:

https://www.virtualmin.com/documentation/system/os/ubuntu-lucid-to-precise

https://www.virtualmin.com/documentation/system/os/ubuntu-precise-to-trusty

Feel free to let us know if you have any questions!

I think I'll do the in-place option to 12, then 14, then 16 when it is supported and available. Is there somewhere that you send notices when you are supporting new OS releases?

That did not go so well. =)

Reading cache

Checking package manager Reading package lists... Done Building dependency tree
Reading state information... Done Building data structures... Done WARNING: Failed to read mirror file Hit http://us.archive.ubuntu.com lucid Release.gpg
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
Hit http://software.virtualmin.com virtualmin-lucid Release.gpg
Hit http://software.virtualmin.com virtualmin-universal Release.gpg
Hit http://us.archive.ubuntu.com lucid Release
Hit http://software.virtualmin.com virtualmin-lucid Release
Hit http://us.archive.ubuntu.com lucid-updates Release
Hit http://software.virtualmin.com virtualmin-universal Release
Hit http://us.archive.ubuntu.com lucid/main Packages
Hit http://software.virtualmin.com virtualmin-lucid/main Packages
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Hit http://security.ubuntu.com lucid-security Release.gpg
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Hit http://software.virtualmin.com virtualmin-universal/main Packages
Hit http://archive.ubuntu.com lucid-updates Release
Hit http://security.ubuntu.com lucid-security Release
Hit http://us.archive.ubuntu.com lucid-updates/main Packages
Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://us.archive.ubuntu.com lucid-updates/main Sources
Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://security.ubuntu.com lucid-security/main Packages
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Fetched 0B in 0s (0B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done Building data structures... Done Fetched 0B in 0s (0B/s)

Reading cache

Checking package manager Reading package lists... Done Building dependency tree
Reading state information... Done Building data structures... Done Ign http://us.archive.ubuntu.com lucid InRelease
Ign http://us.archive.ubuntu.com lucid-updates InRelease
Hit http://us.archive.ubuntu.com lucid Release.gpg
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
Hit http://us.archive.ubuntu.com lucid Release
Hit http://us.archive.ubuntu.com lucid-updates Release
Ign http://security.ubuntu.com lucid-security InRelease
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Hit http://us.archive.ubuntu.com lucid/main i386 Packages
Hit http://us.archive.ubuntu.com lucid/restricted i386 Packages
Hit http://us.archive.ubuntu.com lucid/universe i386 Packages
Hit http://us.archive.ubuntu.com lucid/multiverse i386 Packages
Ign http://us.archive.ubuntu.com lucid/main TranslationIndex
Ign http://us.archive.ubuntu.com lucid/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com lucid/restricted TranslationIndex
Ign http://us.archive.ubuntu.com lucid/universe TranslationIndex
Hit http://us.archive.ubuntu.com lucid-updates/main Sources
Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://us.archive.ubuntu.com lucid-updates/main i386 Packages
Hit http://us.archive.ubuntu.com lucid-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com lucid-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com lucid-updates/multiverse i386 Packages
Ign http://software.virtualmin.com virtualmin-lucid InRelease
Ign http://software.virtualmin.com virtualmin-universal InRelease
Hit http://us.archive.ubuntu.com lucid-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com lucid-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com lucid-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com lucid-updates/universe TranslationIndex
Err http://us.archive.ubuntu.com lucid/main Translation-en

Err http://us.archive.ubuntu.com lucid/multiverse Translation-en

Hit http://security.ubuntu.com lucid-security Release.gpg
Hit http://software.virtualmin.com virtualmin-lucid Release.gpg
Err http://us.archive.ubuntu.com lucid/restricted Translation-en

Err http://us.archive.ubuntu.com lucid/universe Translation-en

Hit http://software.virtualmin.com virtualmin-universal Release.gpg
Err http://us.archive.ubuntu.com lucid/main Translation-en

Hit http://software.virtualmin.com virtualmin-lucid Release
Err http://us.archive.ubuntu.com lucid/multiverse Translation-en

Err http://us.archive.ubuntu.com lucid/restricted Translation-en

Hit http://software.virtualmin.com virtualmin-universal Release
Hit http://security.ubuntu.com lucid-security Release
Err http://us.archive.ubuntu.com lucid/universe Translation-en

Err http://us.archive.ubuntu.com lucid/main Translation-en

Err http://us.archive.ubuntu.com lucid/multiverse Translation-en

Hit http://software.virtualmin.com virtualmin-lucid/main i386 Packages
Ign http://software.virtualmin.com virtualmin-lucid/main TranslationIndex
Err http://us.archive.ubuntu.com lucid/restricted Translation-en

Hit http://software.virtualmin.com virtualmin-universal/main i386 Packages
Ign http://software.virtualmin.com virtualmin-universal/main TranslationIndex
Err http://us.archive.ubuntu.com lucid/universe Translation-en

Err http://us.archive.ubuntu.com lucid/main Translation-en

Err http://software.virtualmin.com virtualmin-lucid/main Translation-en

Err http://us.archive.ubuntu.com lucid/multiverse Translation-en

Hit http://security.ubuntu.com lucid-security/main Sources
Err http://software.virtualmin.com virtualmin-universal/main Translation-en

Err http://us.archive.ubuntu.com lucid/restricted Translation-en

Err http://us.archive.ubuntu.com lucid/universe Translation-en

Err http://software.virtualmin.com virtualmin-lucid/main Translation-en

Ign http://us.archive.ubuntu.com lucid/main Translation-en
Err http://software.virtualmin.com virtualmin-universal/main Translation-en

Ign http://us.archive.ubuntu.com lucid/multiverse Translation-en
Ign http://us.archive.ubuntu.com lucid/restricted Translation-en
Err http://software.virtualmin.com virtualmin-lucid/main Translation-en

Ign http://us.archive.ubuntu.com lucid/universe Translation-en
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Hit http://security.ubuntu.com lucid-security/main i386 Packages
Hit http://security.ubuntu.com lucid-security/restricted i386 Packages
Hit http://security.ubuntu.com lucid-security/universe i386 Packages
Hit http://security.ubuntu.com lucid-security/multiverse i386 Packages
Ign http://security.ubuntu.com lucid-security/main TranslationIndex
Ign http://security.ubuntu.com lucid-security/multiverse TranslationIndex
Ign http://security.ubuntu.com lucid-security/restricted TranslationIndex
Err http://software.virtualmin.com virtualmin-universal/main Translation-en

Ign http://security.ubuntu.com lucid-security/universe TranslationIndex
Err http://software.virtualmin.com virtualmin-lucid/main Translation-en

Err http://software.virtualmin.com virtualmin-universal/main Translation-en

Ign http://software.virtualmin.com virtualmin-lucid/main Translation-en
Err http://security.ubuntu.com lucid-security/main Translation-en

Err http://security.ubuntu.com lucid-security/multiverse Translation-en

Ign http://software.virtualmin.com virtualmin-universal/main Translation-en
Err http://security.ubuntu.com lucid-security/restricted Translation-en

Err http://security.ubuntu.com lucid-security/universe Translation-en

Err http://security.ubuntu.com lucid-security/main Translation-en

Err http://security.ubuntu.com lucid-security/multiverse Translation-en

Err http://security.ubuntu.com lucid-security/restricted Translation-en

Err http://security.ubuntu.com lucid-security/universe Translation-en

Err http://security.ubuntu.com lucid-security/main Translation-en

Err http://security.ubuntu.com lucid-security/multiverse Translation-en

Err http://security.ubuntu.com lucid-security/restricted Translation-en

Err http://security.ubuntu.com lucid-security/universe Translation-en

Err http://security.ubuntu.com lucid-security/main Translation-en

Err http://security.ubuntu.com lucid-security/multiverse Translation-en

Err http://security.ubuntu.com lucid-security/restricted Translation-en

Err http://security.ubuntu.com lucid-security/universe Translation-en

Ign http://security.ubuntu.com lucid-security/main Translation-en
Ign http://security.ubuntu.com lucid-security/multiverse Translation-en
Ign http://security.ubuntu.com lucid-security/restricted Translation-en
Ign http://security.ubuntu.com lucid-security/universe Translation-en
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done Building data structures... Done

Updating repository information WARNING: Failed to read mirror file

Third party sources disabled

Some third party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager.

To continue please press [ENTER]

Get:1 http://security.ubuntu.com precise-security InRelease [55.7 kB]
Ign http://us.archive.ubuntu.com precise InRelease
Get:2 http://us.archive.ubuntu.com precise-updates InRelease [55.7 kB]
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://security.ubuntu.com precise-security InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Ign http://security.ubuntu.com precise-security/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/restricted Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/restricted i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages/DiffIndex
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Ign http://security.ubuntu.com precise-security/restricted Sources/DiffIndex
Ign http://security.ubuntu.com precise-security/universe Sources/DiffIndex
Ign http://security.ubuntu.com precise-security/multiverse Sources/DiffIndex
Ign http://security.ubuntu.com precise-security/main i386 Packages/DiffIndex
Ign http://security.ubuntu.com precise-security/restricted i386 Packages/DiffIndex
Ign http://security.ubuntu.com precise-security/universe i386 Packages/DiffIndex
Ign http://security.ubuntu.com precise-security/multiverse i386 Packages/DiffIndex
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Fetched 111 kB in 0s (0 B/s)

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

Calculating the changes

Calculating the changes

Error authenticating some packages

It was not possible to authenticate some packages. This may be a transient network problem. You may want to try again later. See below for a list of unauthenticated packages.

accountsservice apache2 apache2-doc apache2-mpm-prefork apache2-suexec-custom apache2-utils apache2.2-bin apache2.2-common apparmor apparmor-utils apport apport-symptoms apt apt-transport-https apt-utils apt-xapian-index aptitude base-files bash bash-completion bc bind9 bind9-host bind9utils binutils bsdutils build-essential busybox-initramfs busybox-static ca-certificates clamav clamav-base clamav-daemon clamav-docs clamav-freshclam clamav-testfiles coreutils cpio cron dbus dh-apparmor dhcp3-client dhcp3-common dkms dmidecode dmsetup dnsutils dosfstools dovecot-common dovecot-core dovecot-imapd dovecot-pop3d dpkg dpkg-dev e2fslibs e2fsprogs ecryptfs-utils file fontconfig fontconfig-config fuse fuse-utils gnupg gnupg-curl gpgv grub-common grub-pc grub-pc-bin grub2-common hdparm ifupdown initramfs-tools initramfs-tools-bin initscripts iproute iptables isc-dhcp-client isc-dhcp-common krb5-locales landscape-common language-pack-en language-pack-en-base language-selector-common libaccountsservice0 libapache2-mod-fcgid libapache2-mod-php5 libapache2-svn libapparmor-perl libapparmor1 libapt-inst1.4 libapt-pkg4.12 libasn1-8-heimdal libavahi-client3 libavahi-common-data libavahi-common3 libbind9-80 libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcairo2 libclamav6 libcomerr2 libcroco3 libcups2 libcurl3-gnutls libdbus-1-3 libdbus-glib-1-2 libdevmapper1.02.1 libdns81 libdpkg-perl libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 libdumbnet1 libecryptfs0 libelf1 libevent-2.0-5 libexpat1 libfontconfig1 libfreetype6 libfuse2 libgc1c2 libgcrypt11 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libglib2.0-0 libgnutls26 libgssapi-krb5-2 libgssapi3-heimdal libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu48 libisc83 libisccc80 libisccfg82 libjasper1 libjpeg-turbo8 libjpeg62 libk5crypto3 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 liblockfile-bin liblockfile1 liblwres80 libmagic1 libmount1 libmysqlclient18 libneon27-gnutls libnih-dbus1 libnih1 libnspr4 libnss3 libnss3-1d libpam-modules libpam-modules-bin libpam-runtime libpam0g libpango1.0-0 libparted0debian1 libpci3 libpciaccess0 libpcre3 libperl5.14 libpixman-1-0 libplymouth2 libpng12-0 libpolkit-gobject-1-0 libpq5 libpython2.7 libroken18-heimdal libruby1.8 libsasl2-2 libsasl2-modules libsqlite3-0 libss2 libssl-dev libssl-doc libssl0.9.8 libssl1.0.0 libsvn1 libtasn1-3 libtiff4 libudev0 libuuid1 libwind0-heimdal libx11-6 libx11-data libx11-xcb1 libxatracker1 libxcb-dri2-0 libxcb-render0 libxcb-shm0 libxcb1 libxcursor1 libxext6 libxfixes3 libxfont1 libxi6 libxinerama1 libxkbfile1 libxml-libxml-perl libxml-sax-perl libxml2 libxrandr2 libxrender1 libxt6 libxtst6 libxv1 libxvmc1 linux-firmware linux-generic-pae linux-headers-3.2.0-101 linux-headers-3.2.0-101-generic-pae linux-headers-generic-pae linux-image-3.2.0-101-generic-pae linux-image-generic-pae linux-libc-dev login lsb-base lsb-release mailman make man-db mime-support mount mountall multiarch-support mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 ntfs-3g ntpdate open-vm-dkms open-vm-source open-vm-toolbox open-vm-tools openssh-client openssh-server openssl parted passwd patch pciutils perl perl-base perl-modules php-pear php5 php5-cgi php5-cli php5-common php5-dev php5-gd php5-mysql plymouth plymouth-theme-ubuntu-text postfix postfix-pcre postgresql postgresql-8.4 postgresql-9.1 postgresql-client-8.4 postgresql-client-9.1 postgresql-client-common postgresql-common ppp procmail procps psmisc python python-apport python-apt python-apt-common python-central python-crypto python-gi python-gobject python-httplib2 python-keyring python-lazr.restfulclient python-minimal python-openssl python-problem-report python2.7 python2.7-minimal quota resolvconf ri1.8 rsync rsyslog ruby1.8 sasl2-bin shared-mime-info spamassassin spamc ssh ssl-cert subversion sudo sysv-rc sysvinit-utils tcpdump tzdata ubuntu-keyring ubuntu-minimal ubuntu-standard udev unzip update-manager-core update-notifier-common upstart util-linux uuid-runtime vim vim-common vim-runtime vim-tiny w3m wget wpasupplicant x11-common xkb-data xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-vmmouse xserver-xorg-video-all xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-openchrome xserver-xorg-video-qxl xserver-xorg-video-vmware xymon-client

Restoring original system state

Aborting Reading package lists... Done
Building dependency tree
Reading state information... Done Building data structures... Done === Command detached from window (Thu Mar 17 19:25:18 2016) === === Command terminated with exit status 1 (Thu Mar 17 19:25:18 2016) ===

It sounds like you may be seeing an issue with the Ubuntu mirrors, a networking problem, or an issue with a proxy/firewall if you have one there.

You may just want to try again later, after verifying that there isn't a proxy or firewall that's interfering with traffic.

However, as mentioned in the instructions, you may really want to try it out on a test server first, with a setup similar to the one on your main server.

Then you could test that the upgrade process works for your server, with your particular domains.