pop-os / upgrade

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

Can't upgrade to 22.04 from 20.04 #288

Open nagaisa opened 2 years ago

nagaisa commented 2 years ago

Distribution (run cat /etc/os-release): NAME="Pop!_OS" VERSION="20.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 20.04 LTS" VERSION_ID="20.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME): pop-upgrade: Installed: 1.0.0~1650909185~20.04~9d8d386 Candidate: 1.0.0~1650909185~20.04~9d8d386 Version table: *** 1.0.0~1650909185~20.04~9d8d386 1001 1001 http://ppa.launchpad.net/system76/pop/ubuntu focal/main amd64 Packages 100 /var/lib/dpkg/status

Issue/Bug Description: pop upgrade fails to upgrade pop-upgrade release upgrade: Current Release: 20.04 Upgrading to: 22.04 New version available: false no release available to upgrade to

and with -f

checking if pop-upgrade requires an update Current Release: 20.04 Upgrading to: 22.04 New version available: false Release upgrade status: systems are go for launch: reboot now [ERROR] client/mod.rs:350: breaking connection to pop-upgrade daemon due to inactivity

Steps to reproduce (if you know): pop-upgrade release upgrade or pop-upgrade release upgrade -f

Expected behavior: pop os 20.04 to upgrade to 22.04

Other Notes: gui version in settings shows it failed to check for upgrade stats

jacobgkau commented 2 years ago

What is the output of systemctl status pop-upgrade?

nagaisa commented 2 years ago

What is the output of systemctl status pop-upgrade?

● pop-upgrade.service - Pop Upgrade Daemon
     Loaded: loaded (/lib/systemd/system/pop-upgrade.service; disabled; vendor preset: enabled)
     Active: inactive (dead)

Apr 29 09:50:07 pop-os pop-upgrade[2252]: E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/f>
Apr 29 09:50:07 pop-os pop-upgrade[2252]: E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/f>
Apr 29 09:50:07 pop-os pop-upgrade[2252]: E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-b>
Apr 29 09:50:07 pop-os pop-upgrade[2252]: E: Failed to fetch http://ppa.launchpad.net/system76/pop/ubunt>
Apr 29 09:50:07 pop-os pop-upgrade[2252]: E: The repository 'http://ppa.launchpad.net/system76/pop/ubunt>
Apr 29 09:50:07 pop-os pop-upgrade[2243]: [INFO ] daemon/mod.rs:1010: performing a release check
Apr 29 09:50:07 pop-os pop-upgrade[2243]: [INFO ] release_api.rs:58: checking for build 22.04 in channel>
Apr 29 09:50:07 pop-os pop-upgrade[2243]: [INFO ] daemon/mod.rs:1017: Release { current: "20.04", lts: ">
Apr 29 09:50:07 pop-os pop-upgrade[2243]: [INFO ] release_api.rs:58: checking for build 20.04 in channel>
Apr 29 09:50:08 pop-os systemd[1]: pop-upgrade.service: Succeeded.
jacobgkau commented 2 years ago

That shows errors from the package cache update. Is the machine connected to the internet? Please provide the output of sudo apt update and tail -n +1 /etc/apt/sources.list /etc/apt/sources.list.d/*.