ran update from 18 to 20 from GUI

Bug #1898570 reported by Chris Morris
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

This was actually my second try after running "do-release-upgrade" failed thusly:

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Mon Oct 5 15:52:53 2020) ===
=== Command terminated with exit status 1 (Mon Oct 5 15:53:03 2020) ===

-------------
The gui methods gets to the end of "Setting software channels", hangs and presents me with a an error suggesting I report a bug. Error also says "could not calculate update"

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.38
ProcVersionSignature: Ubuntu 4.15.0-118.119-generic 4.15.18
Uname: Linux 4.15.0-118-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 5 15:47:14 2020
InstallationDate: Installed on 2020-02-14 (233 days ago)
InstallationMedia: Ubuntu-Server 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2020-10-05 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 126: Error executing command as another user: Request dismissed
VarLogDistupgradeTermlog:

Revision history for this message
Chris Morris (chris-bham) wrote :
Revision history for this message
Chris Morris (chris-bham) wrote :

I get this in /var/log/dist-upgrade/202001005-1602/main.log:

2020-10-05 16:02:15,436 INFO Using config files '['./DistUpgrade.cfg.bionic']'
2020-10-05 16:02:15,436 INFO uname information: 'Linux chris_ubuntu 4.15.0-118-generic #119-Ubuntu SMP Tue Sep 8 12:30:01 UTC 2020 x86_64'
2020-10-05 16:02:15,459 INFO apt version: '1.6.12ubuntu0.1'
2020-10-05 16:02:15,459 INFO python version: '3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0]'
2020-10-05 16:02:15,460 INFO release-upgrader version '20.04.25' started
2020-10-05 16:02:15,469 INFO locale: 'en_US' 'UTF-8'
2020-10-05 16:02:15,511 DEBUG screen returned: 'No Sockets found in /run/screen/S-root.

'
2020-10-05 16:02:15,511 INFO re-exec inside screen: '['screen', '-e', '\\0\\0', '-c', 'screenrc', '-S', 'ubuntu-release-upgrade-screen-window', '/tmp/ubuntu-release-upgrader-d6i9prd4/focal', '--mode=server', '--frontend=DistUpgradeViewText']'

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

Could you please attach your /etc/apt/sources.list file to this bug report? Thanks in advance.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Chris Morris (chris-bham) wrote :

As requested

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

Your /etc/apt/sources.list file is configured for Ubuntu 20.04 (focal) but you are running Ubuntu 18.04 (bionic). Please modify your sources.list file for bionic and try the upgrade again.

Revision history for this message
Chris Morris (chris-bham) wrote :

Thanks.

That worked and I've now upgraded successfully.

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Invalid
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.