Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After the recent gnome-shell updates, pop-upgrade stopped working. #307

Closed
oguzkarayemis opened this issue Aug 2, 2022 · 14 comments
Closed

Comments

@oguzkarayemis
Copy link

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.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=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

pop-upgrade:
  Kurulu: 1.0.0~1657305150~22.04~036e99b
  Aday:   1.0.0~1657305150~22.04~036e99b
  Sürüm çizelgesi:
 *** 1.0.0~1657305150~22.04~036e99b 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status
gnome-shell:
  Kurulu: 42.3.1-2ubuntu1pop1~1658449891~22.04~54aa3f1
  Aday:   42.3.1-2ubuntu1pop1~1658449891~22.04~54aa3f1
  Sürüm çizelgesi:
 *** 42.3.1-2ubuntu1pop1~1658449891~22.04~54aa3f1 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     42.2-0ubuntu0.2 500
        500 http://apt.pop-os.org/ubuntu jammy-updates/main amd64 Packages
     42.0-2ubuntu1 500
        500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages

Issue/Bug Description:

Pop-upgrade doesn't seem working after gnome-shell updates. In settings app, I get only an error message. I'm mainly concerned about updating the recovery partition.

Some logs and a picture:

journalctl -b0 | grep pop-upgrade
Ağu 02 20:48:05 pop-os systemd[1148]: pop-upgrade-notify.service: Control process exited, code=killed, status=15/TERM
Ağu 02 20:48:05 pop-os systemd[1148]: pop-upgrade-notify.service: Failed with result 'signal'.
Ağu 02 20:48:15 pop-os dbus-broker-launch[884]: Activation request for 'com.system76.PopUpgrade' failed: The systemd unit 'pop-upgrade.service' is masked.
Ağu 02 20:48:40 pop-os pop-upgrade[6150]: checking if pop-upgrade requires an update
Ağu 02 20:48:40 pop-os systemd[2277]: pop-upgrade-notify.service: Main process exited, code=exited, status=1/FAILURE
Ağu 02 20:48:40 pop-os systemd[2277]: pop-upgrade-notify.service: Failed with result 'exit-code'.
pop-upgrade release update
checking if pop-upgrade requires an update

Ekran Görüntüsü - 2022-08-02 11-50-38

Steps to reproduce (if you know):

  1. Open settings app
  2. Enter into OS Upgrade & Recovery section
  3. There is an error message saying "Failed to check for recovery updates".

Expected behavior:
There shouldn't be any error.

Other Notes:

Additionally after same gnome-shell updates, I'm experiencing system slow downs at the first 5-10 minutes after login into the desktop. I don't know this two issues are related though. If you want, I will add more detailed logs. Thanks.

@leviport
Copy link
Member

leviport commented Aug 2, 2022

I don't think that recovery thing is related to gnome-shell. They're pretty separate entities. Can you share the output from pop-upgrade recovery check?

@oguzkarayemis
Copy link
Author

Here it is:

pop-upgrade recovery check
checking if pop-upgrade requires an update

@leviport
Copy link
Member

leviport commented Aug 2, 2022

Huh, there should be more after that. Does it just hang forever?

@oguzkarayemis
Copy link
Author

No, no hangs, it just returns this and then exists.
Ekran Görüntüsü - 2022-08-03 00-05-39

@leviport
Copy link
Member

leviport commented Aug 2, 2022

Interesting, I think the problem might be with pop-upgrade then. I'll transfer it to that repo.

@leviport leviport transferred this issue from pop-os/pop Aug 2, 2022
@oguzkarayemis
Copy link
Author

Additional note about other notes: I said,

Additionally after same gnome-shell updates, I'm experiencing system slow downs at the first 5-10 minutes after login into the desktop. I don't know this two issues are related though. If you want, I will add more detailed logs. Thanks.

Today I figured out this is not related to the gnome-shell, or other updates. It's the hidpi-deamon that I had activated after or just before the updates. I disabled that, and everything is just fine now.

@oguzkarayemis
Copy link
Author

Issue persists. Is there any progress on your side?

@leviport
Copy link
Member

I'm still unable to reproduce the behavior you're seeing. My recovery partition is upgrading as expected.

@oguzkarayemis
Copy link
Author

Oh, that's not nice. What would you suggest me to look at or try?

@oguzkarayemis
Copy link
Author

Ok I have some news. I could upgrade my recovery partition by starting pop-upgrade manually.

  1. I became root in a terminal.
  2. In this terminal window, I started pop-upgrade as a daemon with this command: /usr/bin/pop-upgrade daemon
  3. After the daemon started, I opened a new terminal and updated the recovery partition with this command: pop-upgrade recovery upgrade from-release

I'm quite happy to upgrade my recovery partition. But what I don't understand is why I cannot use the usual way.

@oguzkarayemis
Copy link
Author

I did it! systemctl unmask pop-upgrade.service did the trick! But I don't have any slightest idea why the service masked at first...

@leviport
Copy link
Member

Interesting, it is definitely strange that it got masked. Glad you found the problem though.

@oguzkarayemis
Copy link
Author

Yes, it is quite strange. Thanks for your help though, I'm closing this issue.

@HarlemSquirrel
Copy link

FYI just noticed this on my Lemur Pro and searching through my logs it looks like it got masked at least a few weeks ago.

╰─➤  journalctl  -g "The systemd unit 'pop-upgrade.service' is masked" 
-- Boot e5d91ae3526447c7ad2ac3cca7582683 --
Mar 27 08:57:36 orcrist dbus-broker-launch[1143]: Activation request for 'com.system76.PopUpgrade' failed: The systemd unit 'pop-upgrade.service' is masked.
-- Boot 5ffc74ec5c5c4eb999aab89f3245af3d --
Apr 03 09:22:54 orcrist dbus-broker-launch[1141]: Activation request for 'com.system76.PopUpgrade' failed: The systemd unit 'pop-upgrade.service' is masked.
-- Boot f7f050e448f24d8a801d8c3686be0512 --
Apr 17 08:28:04 orcrist dbus-broker-launch[1589]: Activation request for 'com.system76.PopUpgrade' failed: The systemd unit 'pop-upgrade.service' is masked.
-- Boot f2b162c111b64d84a0d81edb89c79848 --
Apr 20 15:10:42 orcrist dbus-broker-launch[1141]: Activation request for 'com.system76.PopUpgrade' failed: The systemd unit 'pop-upgrade.service' is masked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants