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

pop-upgrade.service times out while activating #312

Open nicklyk opened 2 years ago

nicklyk commented 2 years ago

cat /etc/os-release:

NAME="Pop!_OS"
VERSION="21.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.10"
VERSION_ID="21.10"
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=impish
UBUNTU_CODENAME=impish
LOGO=distributor-logo-pop-os 

sudo apt update:

Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Hit:2 https://updates.signal.org/desktop/apt xenial InRelease                  
Hit:3 http://old-releases.ubuntu.com/ubuntu impish InRelease                   
Hit:4 http://old-releases.ubuntu.com/ubuntu impish-security InRelease          
Hit:5 http://apt.pop-os.org/proprietary impish InRelease                       
Hit:6 http://old-releases.ubuntu.com/ubuntu impish-updates InRelease           
Hit:7 https://download.sublimetext.com apt/stable/ InRelease                   
Hit:8 http://old-releases.ubuntu.com/ubuntu impish-backports InRelease         
Hit:9 http://apt.pop-os.org/release impish InRelease                           
Hit:10 http://ppa.launchpad.net/git-core/ppa/ubuntu impish InRelease
Reading package lists... Done       
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

apt policy pop-upgrade:

pop-upgrade:
  Installed: 1.0.0~1657305150~21.10~036e99b
  Candidate: 1.0.0~1657305150~21.10~036e99b
  Version table:
 *** 1.0.0~1657305150~21.10~036e99b 1001
       1001 http://apt.pop-os.org/release impish/main amd64 Packages
        100 /var/lib/dpkg/status

systemctl status pop-upgrade.service:

● pop-upgrade.service - Pop Upgrade Daemon
     Loaded: loaded (/lib/systemd/system/pop-upgrade.service; disabled; vendor preset: enabled)
     Active: activating (start) since Mon 2022-08-22 21:36:19 CEST; 2s ago
   Main PID: 10342 (pop-upgrade)
      Tasks: 13 (limit: 19015)
     Memory: 3.6M
        CPU: 9ms
     CGroup: /system.slice/pop-upgrade.service
             └─10342 /usr/bin/pop-upgrade daemon

journalctl -xeu pop-upgrade.service:

Aug 22 21:39:20 nicklyk systemd[1]: Failed to start Pop Upgrade Daemon.
░░ Subject: A start job for unit pop-upgrade.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit pop-upgrade.service has finished with a failure.
░░ 
░░ The job identifier is 5740 and the job result is failed.
Aug 22 21:39:20 nicklyk systemd[1]: pop-upgrade.service: Scheduled restart job, restart counter is at 18.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ Automatic restarting of the unit pop-upgrade.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Aug 22 21:39:20 nicklyk systemd[1]: Stopped Pop Upgrade Daemon.
░░ Subject: A stop job for unit pop-upgrade.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A stop job for unit pop-upgrade.service has finished.
░░ 
░░ The job identifier is 5858 and the job result is done.
Aug 22 21:39:20 nicklyk systemd[1]: Starting Pop Upgrade Daemon...
░░ Subject: A start job for unit pop-upgrade.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit pop-upgrade.service has begun execution.
░░ 
░░ The job identifier is 5858.
Aug 22 21:40:50 nicklyk systemd[1]: pop-upgrade.service: start operation timed out. Terminating.
Aug 22 21:40:50 nicklyk systemd[1]: pop-upgrade.service: Failed with result 'timeout'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit pop-upgrade.service has entered the 'failed' state with result 'timeout'.

...and the cycle repeats itself.

Issue/Bug Description:

Pop-upgrade tries to start but keeps failing, returning a timeout.

journalctl -b0 | grep pop-upgrade:

Aug 22 21:13:41 nicklyk systemd[1]: pop-upgrade.service: Scheduled restart job, restart counter is at 1.
Aug 22 21:15:12 nicklyk systemd[1]: pop-upgrade.service: start operation timed out. Terminating.
Aug 22 21:15:12 nicklyk systemd[1]: pop-upgrade.service: Failed with result 'timeout'.
Aug 22 21:15:12 nicklyk systemd[1]: pop-upgrade.service: Scheduled restart job, restart counter is at 2.
Aug 22 21:16:42 nicklyk systemd[1]: pop-upgrade.service: start operation timed out. Terminating.
Aug 22 21:16:42 nicklyk systemd[1]: pop-upgrade.service: Failed with result 'timeout'.
.
.
.