upgrade failed from 14.04.1 to 14.10

Bug #1452968 reported by Andrei
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

do-release-upgrade -d fails

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:14.10.10
ProcVersionSignature: Ubuntu 3.16.0-37.51-generic 3.16.7-ckt9
Uname: Linux 3.16.0-37-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.4
Architecture: amd64
CrashDB: ubuntu
Date: Fri May 8 05:37:30 2015
InstallationDate: Installed on 2014-12-01 (157 days ago)
InstallationMedia: Ubuntu-Server 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to trusty on 2015-05-08 (0 days ago)

Revision history for this message
Andrei (y-andrew-4) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Try running the release upgrade this way:

DEBUG_UPDATE_MANAGER=1 do-release-upgrade

and then include any information presented to the screen.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Andrei (y-andrew-4) wrote :
Download full text (101.2 KiB)

root@spicecinema:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

root@spicecinema:~# cat /var/log/dist-upgrade/main.log
2015-05-08 20:44:54,088 INFO Using config files '['./DistUpgrade.cfg']'
2015-05-08 20:44:54,088 INFO uname information: 'Linux spicecinema.ro 3.16.0-37-generic #51-Ubuntu SMP Tue May 5 13:45:59 UTC 2015 x86_64'
2015-05-08 20:44:54,088 INFO apt version: '1.0.9.2ubuntu2'
2015-05-08 20:44:54,088 INFO python version: '3.4.2 (default, Oct 8 2014, 13:08:17)
[GCC 4.9.1]'
2015-05-08 20:44:54,089 INFO release-upgrader version '14.10.9' started
2015-05-08 20:44:54,090 INFO locale: 'en_US' 'UTF-8'
2015-05-08 20:44:54,124 DEBUG Using 'DistUpgradeViewText' view
2015-05-08 20:44:54,150 DEBUG aufsOptionsAndEnvironmentSetup()
2015-05-08 20:44:54,151 DEBUG using '/tmp/upgrade-rw-py9v2q0_' as aufs_rw_dir
2015-05-08 20:44:54,151 DEBUG using '/tmp/upgrade-chroot-5rv7qf9j' as aufs chroot dir
2015-05-08 20:44:54,151 DEBUG enable dpkg --force-overwrite
2015-05-08 20:44:54,154 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2015-05-08 20:44:54,877 DEBUG lsb-release: 'trusty'
2015-05-08 20:44:54,877 DEBUG _pythonSymlinkCheck run
2015-05-08 20:44:54,877 DEBUG openCache()
2015-05-08 20:44:54,877 DEBUG No such plugin directory: ./plugins
2015-05-08 20:44:54,877 DEBUG plugins for condition 'PreCacheOpen' are '[]'
2015-05-08 20:44:54,877 DEBUG plugins for condition 'utopicPreCacheOpen' are '[]'
2015-05-08 20:44:54,877 DEBUG plugins for condition 'from_trustyPreCacheOpen' are '[]'
2015-05-08 20:44:54,877 DEBUG quirks: running PreCacheOpen
2015-05-08 20:44:54,877 DEBUG running Quirks.PreCacheOpen
2015-05-08 20:44:55,241 DEBUG /openCache(), new cache size 73349
2015-05-08 20:44:55,242 DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode
2015-05-08 20:44:55,242 DEBUG checkViewDepends()
2015-05-08 20:44:55,242 DEBUG running doUpdate() (showErrors=False)
2015-05-08 20:45:08,582 DEBUG openCache()
2015-05-08 20:45:08,993 DEBUG /openCache(), new cache size 73349
2015-05-08 20:45:08,993 DEBUG doPostInitialUpdate
2015-05-08 20:45:08,993 DEBUG plugins for condition 'PostInitialUpdate' are '[]'
2015-05-08 20:45:08,993 DEBUG plugins for condition 'utopicPostInitialUpdate' are '[]'
2015-05-08 20:45:08,993 DEBUG plugins for condition 'from_trustyPostInitialUpdate' are '[]'
2015-05-08 20:45:11,651 DEBUG Foreign:
2015-05-08 20:45:11,651 DEBUG Obsolete: mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
2015-05-08 20:45:11,651 DEBUG updateSourcesList()
2015-05-08 20:45:11,676 DEBUG rewriteSourcesList()
2015-05-08 20:45:11,678 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu/ utopic main restricted'
2015-05-08 20:45:11,679 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu/ utopic main restricted' is already set to new dist
2015-05-08 20:45:11,679 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu/ utopic main restricted'
2015-05-08 20:45:11,679 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu/ utopic main restricted' is already set to new dist
2015-05-08 ...

Revision history for this message
Brian Murray (brian-murray) wrote :

It looks like the upgrade succeeded and you just haven't rebooted.

Revision history for this message
Andrei (y-andrew-4) wrote :

I rebooted 5 times. But nothing changes.
lsb_release remains the same.

Revision history for this message
Andrei (y-andrew-4) wrote :

And after every restart..

Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.16.0-37-generic x86_64)

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

  System information as of Sat May 9 01:01:51 EEST 2015

  System load: 0.11 Processes: 199
  Usage of /: 73.8% of 109.41GB Users logged in: 0
  Memory usage: 17% IP address for eth0: 138.128.133.20
  Swap usage: 0% IP address for eth1: 10.20.0.11

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

New release '14.10' available.
Run 'do-release-upgrade' to upgrade to it.

You have new mail.
Last login: Sat May 9 00:32:13 2015
root@spicecinema:~#

Revision history for this message
Brian Murray (brian-murray) wrote :

It looks like your sources.list file already has utopic entries in it. Please switch them back to trusty and try the upgrade again.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ro.archive.ubuntu.com/ubuntu/ utopic main restricted
deb-src http://ro.archive.ubuntu.com/ubuntu/ utopic main restricted

Revision history for this message
Andrei (y-andrew-4) wrote :

I changed the source.list back to trusty
and then did 'do-release-upgrade'

nothing downloaded

but source.list changed after restart to utopic
and the lsb_release remained 14.04.1

....

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

Calculating the changes

Calculating the changes

The software on this computer is up to date.

There are no upgrades available for your system. The upgrade will now
be canceled.

Do you want to start the upgrade?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-release-upgrader (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Niels van Adrichem (nvanadrichem) wrote :

I experienced the same problem, I think it has been invoked by not first updating + upgrading + dist-upgrading to the latest version of 14.04 (.3 at the time of writing) before running do-release-upgrade

Besides resetting the /etc/apt/sources.list file to trusty, as suggested earlier, "pinning" to utopic sources as added by the failed do-release-upgrade has to be removed from the /etc/apt/preferences file. As also discussed in https://askubuntu.com/questions/615090/broken-upgrade-from-14-04-to-14-10/665663#665663 , I succeeded to fix it for 3 machines that all experienced this problem as follows:

sudo -s
cd /etc/apt

#Remove potential pinning preferences
mv preferences preferences_old

#Restore sources
mv sources.list sources.list.old
cp sources.list.save sources.list

#Clean apt cache
apt-get clean

#Possibly repeat this block until `lsb_release -a` shows 14.04.3 and no further update/dist-upgrades possible
apt-get update
apt-get upgrade
apt-get dist-upgrade

#Finally perform the release upgrade and reboot
do-release-upgrade

Changed in ubuntu-release-upgrader (Ubuntu):
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.