pop-os / upgrade

Utility for upgrading Pop!_OS and its recovery partition to new releases.
GNU General Public License v3.0
97 stars 30 forks source link

Pop!_OS Upgrade to 20.04 fails #97

Closed pmnlla closed 2 years ago

pmnlla commented 4 years ago

Hi there! I'm currently trying to upgrade to the beta of Pop!_OS 20.04 focal. However, whenever I run the upgrade command sudo pop-upgrade release upgrade systemd -f, this is the output i get:

Event: removing deprecated and/or conflicting packages
Event: updating package lists for the current release
Release upgrade status: release upgrade aborted: failed to update package lists for the current release: command failed with exit status: exit code: 100
pop-upgrade: dbus client error: calling ReleaseUpgradeFinalize method failed

What can I do?

mdhishaamakhtar commented 4 years ago

Wait for LTS version to come out.

isms commented 4 years ago

@XenottaBit What do the logs say in journalctl -u pop-upgrade?

(See comment for more info on debugging.)

pmnlla commented 4 years ago
Mar 30 17:31:22 pop-os systemd[1]: Started Pop Upgrade Daemon.
Mar 30 17:31:22 pop-os pop-upgrade[849]: [INFO ] pop_upgrade src/daemon/mod.rs:308: initializing daemon
Mar 30 17:31:22 pop-os pop-upgrade[849]: [INFO ] pop_upgrade src/daemon/mod.rs:139: spawning background event thread
Mar 30 17:31:22 pop-os pop-upgrade[849]: [INFO ] pop_upgrade src/daemon/mod.rs:428: daemon registered -- listening for new events
Mar 30 17:32:54 pop-os pop-upgrade[849]: [INFO ] pop_upgrade src/daemon/mod.rs:678: performing a release check
Mar 30 17:32:54 pop-os pop-upgrade[849]: [INFO ] pop_upgrade src/release_api.rs:50: checking for build 20.04 in channel intel
Mar 30 17:32:54 pop-os pop-upgrade[849]: [INFO ] pop_upgrade src/daemon/mod.rs:683: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Mar 30 17:52:12 pop-os systemd[1]: Stopping Pop Upgrade Daemon...
Mar 30 17:52:13 pop-os pop-upgrade[849]: [INFO ] pop_upgrade src/daemon/mod.rs:436: received a 'terminate' signal
Mar 30 17:52:13 pop-os pop-upgrade[849]: [INFO ] pop_upgrade src/daemon/mod.rs:442: terminating daemon
Mar 30 17:52:13 pop-os systemd[1]: pop-upgrade.service: Succeeded.
Mar 30 17:52:13 pop-os systemd[1]: Stopped Pop Upgrade Daemon.
-- Reboot --
Mar 30 17:57:23 pop-os systemd[1]: Started Pop Upgrade Daemon.
Mar 30 17:57:23 pop-os pop-upgrade[1217]: [INFO ] pop_upgrade src/daemon/mod.rs:308: initializing daemon
Mar 30 17:57:23 pop-os pop-upgrade[1217]: [INFO ] pop_upgrade src/daemon/mod.rs:139: spawning background event thread
Mar 30 17:57:23 pop-os pop-upgrade[1217]: [INFO ] pop_upgrade src/daemon/mod.rs:428: daemon registered -- listening for new events
Mar 30 17:57:32 pop-os pop-upgrade[1217]: [INFO ] pop_upgrade src/daemon/mod.rs:678: performing a release check
Mar 30 17:57:32 pop-os pop-upgrade[1217]: [INFO ] pop_upgrade src/release_api.rs:50: checking for build 20.04 in channel intel
Mar 30 17:57:33 pop-os pop-upgrade[1217]: [INFO ] pop_upgrade src/daemon/mod.rs:683: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Mar 30 18:42:55 pop-os systemd[1]: Stopping Pop Upgrade Daemon...
Mar 30 18:42:56 pop-os pop-upgrade[1217]: [INFO ] pop_upgrade src/daemon/mod.rs:436: received a 'terminate' signal
Mar 30 18:42:56 pop-os pop-upgrade[1217]: [INFO ] pop_upgrade src/daemon/mod.rs:442: terminating daemon
Mar 30 18:42:56 pop-os systemd[1]: pop-upgrade.service: Succeeded.
Mar 30 18:42:56 pop-os systemd[1]: Stopped Pop Upgrade Daemon.
-- Reboot --
Mar 30 18:43:15 pop-os systemd[1]: Started Pop Upgrade Daemon.
Mar 30 18:43:15 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:308: initializing daemon
Mar 30 18:43:15 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:139: spawning background event thread
Mar 30 18:43:15 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:428: daemon registered -- listening for new events
Mar 30 18:46:42 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:678: performing a release check
Mar 30 18:46:42 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/release_api.rs:50: checking for build 20.04 in channel intel
Mar 30 18:46:43 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:683: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Mar 30 19:12:33 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:678: performing a release check
Mar 30 19:12:33 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/release_api.rs:50: checking for build 20.04 in channel intel
Mar 30 19:12:33 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:683: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Mar 30 22:05:23 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:678: performing a release check
Mar 30 22:05:23 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/release_api.rs:50: checking for build 20.04 in channel intel
Mar 30 22:05:23 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:683: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Mar 30 23:49:14 pop-os systemd[1]: Stopping Pop Upgrade Daemon...
Mar 30 23:49:15 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:436: received a 'terminate' signal
Mar 30 23:49:15 pop-os pop-upgrade[1224]: [INFO ] pop_upgrade src/daemon/mod.rs:442: terminating daemon
Mar 30 23:49:15 pop-os systemd[1]: pop-upgrade.service: Succeeded.
Mar 30 23:49:15 pop-os systemd[1]: Stopped Pop Upgrade Daemon.
-- Reboot --

The above just gets repeated for hundreds of lines

isms commented 4 years ago

@XenottaBit Can you paste from the bottom of the file? The ones you posted are all from 4 weeks ago before 20.04 was available.

pmnlla commented 4 years ago

Oh, from when I initially installed it. Is there a way to open the file via a text editor?

pmnlla commented 4 years ago

Mar 31 11:02:04 pop-os systemd[1]: Started Pop Upgrade Daemon.
Mar 31 11:02:04 pop-os pop-upgrade[1193]: [INFO ] pop_upgrade src/daemon/mod.rs:308: initializing daemon
Mar 31 11:02:04 pop-os pop-upgrade[1193]: [INFO ] pop_upgrade src/daemon/mod.rs:139: spawning background event thread
Mar 31 11:02:04 pop-os pop-upgrade[1193]: [INFO ] pop_upgrade src/daemon/mod.rs:428: daemon registered -- listening for new events
Mar 31 11:03:05 pop-os pop-upgrade[1193]: [INFO ] pop_upgrade src/daemon/mod.rs:678: performing a release check
Mar 31 11:03:05 pop-os pop-upgrade[1193]: [INFO ] pop_upgrade src/release_api.rs:50: checking for build 20.04 in channel intel
Mar 31 11:03:06 pop-os pop-upgrade[1193]: [INFO ] pop_upgrade src/daemon/mod.rs:683: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Mar 31 13:39:16 pop-os systemd[1]: Stopping Pop Upgrade Daemon...
Mar 31 13:39:17 pop-os pop-upgrade[1193]: [INFO ] pop_upgrade src/daemon/mod.rs:436: received a 'terminate' signal
Mar 31 13:39:17 pop-os pop-upgrade[1193]: [INFO ] pop_upgrade src/daemon/mod.rs:442: terminating daemon
...skipping...
Apr 24 14:18:08 pop-os pop-upgrade[4930]: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Apr 24 14:18:10 pop-os pop-upgrade[4930]: Reading package lists...
Apr 24 14:18:10 pop-os pop-upgrade[4930]: Building dependency tree...
Apr 24 14:18:10 pop-os pop-upgrade[4930]: Reading state information...
Apr 24 14:18:10 pop-os pop-upgrade[4930]: [INFO ] pop_upgrade src/daemon/mod.rs:470: release upgrade: removing deprecated and/or conflicting packages
Apr 24 14:18:10 pop-os pop-upgrade[4930]: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Get:1 http://repository.spotify.com stable InRelease [3,316 B]
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:2 http://linux.teamviewer.com/deb stable InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Ign:3 http://dl.google.com/linux/earth/deb stable InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:4 http://apt.pop-os.org/proprietary eoan InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:5 http://us.archive.ubuntu.com/ubuntu eoan InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:6 http://us.archive.ubuntu.com/ubuntu eoan-security InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:7 https://dl.winehq.org/wine-builds/ubuntu eoan InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:8 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:9 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:10 http://ppa.launchpad.net/hluk/copyq/ubuntu eoan InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Get:11 http://dl.google.com/linux/earth/deb stable Release [933 B]
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:12 https://repo.windscribe.com/ubuntu bionic InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Get:13 http://dl.google.com/linux/earth/deb stable Release.gpg [819 B]
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:14 http://ppa.launchpad.net/mikhailnov/pulseeffects/ubuntu eoan InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: Hit:15 http://ppa.launchpad.net/openrazer/stable/ubuntu eoan InRelease
Apr 24 14:18:11 pop-os pop-upgrade[4930]: [INFO ] pop_upgrade src/daemon/mod.rs:470: release upgrade: updating package lists for the current release
Apr 24 14:18:12 pop-os pop-upgrade[4930]: Hit:16 http://ppa.launchpad.net/polychromatic/stable/ubuntu eoan InRelease
Apr 24 14:18:12 pop-os pop-upgrade[4930]: Ign:13 http://dl.google.com/linux/earth/deb stable Release.gpg
Apr 24 14:18:12 pop-os pop-upgrade[4930]: Hit:17 http://ppa.launchpad.net/system76/pop/ubuntu eoan InRelease
Apr 24 14:18:12 pop-os pop-upgrade[4930]: Ign:18 http://ppa.launchpad.net/webupd8team/java/ubuntu eoan InRelease
Apr 24 14:18:12 pop-os pop-upgrade[4930]: Err:19 http://ppa.launchpad.net/webupd8team/java/ubuntu eoan Release
Apr 24 14:18:12 pop-os pop-upgrade[4930]:   404  Not Found [IP: 91.189.95.83 80]
Apr 24 14:18:13 pop-os pop-upgrade[4930]: Reading package lists...
Apr 24 14:18:13 pop-os pop-upgrade[4930]: W: GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
Apr 24 14:18:13 pop-os pop-upgrade[4930]: E: The repository 'http://dl.google.com/linux/earth/deb stable Release' is not signed.
Apr 24 14:18:13 pop-os pop-upgrade[4930]: E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu eoan Release' does not have a Release file.
Apr 24 14:18:13 pop-os pop-upgrade[4930]: [INFO ] pop_upgrade src/daemon/mod.rs:286: event processed
Apr 24 14:18:13 pop-os pop-upgrade[4930]: [INFO ] pop_upgrade src/daemon/mod.rs:470: release upgrade result: Err(CurrentUpdate(Custom { kind: Other, error: "command failed with exit status: exit code: 100" }))
Apr 24 14:18:13 pop-os pop-upgrade[4930]: [ERROR] pop_upgrade src/daemon/dbus_helper.rs:29: release upgrade cannot be finalized, because a release upgrade was not performed
Apr 24 14:33:09 pop-os pop-upgrade[4930]: [INFO ] pop_upgrade src/daemon/mod.rs:682: performing a release check
Apr 24 14:33:09 pop-os pop-upgrade[4930]: [INFO ] pop_upgrade src/daemon/mod.rs:688: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Apr 24 23:44:28 pop-os systemd[1]: Stopping Pop Upgrade Daemon...
Apr 24 23:44:29 pop-os pop-upgrade[4930]: [INFO ] pop_upgrade src/daemon/mod.rs:434: received a 'terminate' signal
Apr 24 23:44:29 pop-os pop-upgrade[4930]: [INFO ] pop_upgrade src/daemon/mod.rs:440: terminating daemon
Apr 24 23:44:29 pop-os systemd[1]: pop-upgrade.service: Succeeded.
Apr 24 23:44:29 pop-os systemd[1]: Stopped Pop Upgrade Daemon.
-- Reboot --
Apr 25 11:35:42 pop-os systemd[1]: Started Pop Upgrade Daemon.
Apr 25 11:35:42 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:306: initializing daemon
Apr 25 11:35:42 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:141: spawning background event thread
Apr 25 11:35:42 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:426: daemon registered -- listening for new events
Apr 25 11:36:07 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:682: performing a release check
Apr 25 11:36:07 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:688: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Apr 25 11:36:10 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:682: performing a release check
Apr 25 11:36:10 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:688: Release { current: "19.10", lts: "false",  next: "20.04", available: false }
Apr 25 15:38:36 pop-os systemd[1]: Stopping Pop Upgrade Daemon...
Apr 25 15:38:37 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:434: received a 'terminate' signal
Apr 25 15:38:37 pop-os pop-upgrade[1395]: [INFO ] pop_upgrade src/daemon/mod.rs:440: terminating daemon
Apr 25 15:38:37 pop-os systemd[1]: pop-upgrade.service: Succeeded.
Apr 25 15:38:37 pop-os systemd[1]: Stopped Pop Upgrade Daemon.```
asmsuechan commented 4 years ago

I had the same issue, though, I solved. In my case, I updated or removed my old apt repositories not to occur 404 Not Found in my apt update. The files are located at /etc/apt/source.list or /etc/apt/source.list.d/*.

The output of sudo apt update should be the following:

> sudo apt update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://dl.yarnpkg.com/debian stable InRelease                                                                                 
Hit:3 http://apt.pop-os.org/proprietary eoan InRelease                                                                               
Hit:4 http://dl.google.com/linux/chrome/deb stable Release                                                                           
Hit:5 http://us.archive.ubuntu.com/ubuntu eoan InRelease                                                                             
Hit:6 https://download.docker.com/linux/ubuntu eoan InRelease       
Hit:7 http://ppa.launchpad.net/peek-developers/stable/ubuntu eoan InRelease
Hit:9 http://us.archive.ubuntu.com/ubuntu eoan-security InRelease                  
Hit:10 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease                  
Hit:11 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease      
Hit:12 http://ppa.launchpad.net/system76/pop/ubuntu eoan InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

Moreover, I hit connection closed error a few times in pop-upgrade release upgrade systemd, still few attempts (over 10 times in my environment) solved this problem :(

Fetching gnome-getting-started-docs-ru_3.36.1-0ubuntu1_all.deb
Release upgrade status: release upgrade aborted: fetch of package 'gnome-getting-started-docs-ru_3.36.1-0ubuntu1_all.deb' at http://us.archive.ubuntu.com/ubuntu/pool/main/g/gnome-getting-started-docs/gnome-getting-started-docs-ru_3.36.1-0ubuntu1_all.deb failed: async fetch for "/var/cache/apt/archives/partial/gnome-getting-started-docs-ru_3.36.1-0ubuntu1_all.deb" failed: http://us.archive.ubuntu.com/ubuntu/pool/main/g/gnome-getting-started-docs/gnome-getting-started-docs-ru_3.36.1-0ubuntu1_all.deb: connection closed before message completed
pop-upgrade: dbus client error: calling ReleaseUpgradeFinalize method failed
markodevv commented 4 years ago

@asmsuechan solution worked for me

batakhebat commented 4 years ago

Hi @asmsuechan i got the same issue, i tried to do pop-upgrade release upgrade systemd (with sudo), but it didn't work and the output was "no release available to upgrade to. could you please guide me what you did step by step? i am a new linux user, so i might did something wrong. thanks

asmsuechan commented 4 years ago

Hi, @batakhebat OK, I'm not confident with solving your issue, though, I can advise you as far as I could. First, which version of Pop!_OS are you using? The current version of your Pop!_OS is the big problem for updating it because if you use an old OS less than 19.04, the update might fail due to deprecated repository issues.

mmstick commented 4 years ago

There's an update for pop-upgrade that was sent out today. Try updating to it, restarting the pop-upgrade daemon, and trying again.

pmnlla commented 2 years ago

pretty sure i managed to fix this by now, i'll close the issue as it's been open for mroe than 2 years