This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can't upgrade to 22.04

Tags: None
(comma "," separated)
bernhardh
Registered Member
Posts
9
Karma
0

Can't upgrade to 22.04

Sun Oct 30, 2022 9:54 am
I saw the upgrade notification of neon to 22.04 and now I wanna upgrade. I installed all updates, restarted my system and then clicked on the upgrade button.

But I allways get an error:

Image

and then:

Code: Select all
Unit packagekit.socket does not exist, proceeding anyway.
Created symlink /run/systemd/system/packagekit.socket → /dev/null.
Created symlink /run/systemd/system/packagekit.service → /dev/null.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
exitMainLoopMidFlight
nvidia-driver-520
Removed /run/systemd/system/packagekit.service.
Removed /run/systemd/system/packagekit.socket.


What to do?
thebluequasar
Registered Member
Posts
33
Karma
0
OS

Re: Can't upgrade to 22.04

Sun Oct 30, 2022 2:00 pm
Hi there,
I also did get the same error message when I was trying to upgrade, but tried again within a few hours, and it worked and upgraded without an issue. So trying again in a different time might work for you as well.
Though I have very little technical knowledge to know why exactly this happens, but I'm guessing that it might happen when a background service is locking certain parts of the root file system, could be related to packagekit; but I might be wrong.
bernhardh
Registered Member
Posts
9
Karma
0

Re: Can't upgrade to 22.04

Mon Oct 31, 2022 8:45 am
Well, I tried it yesterday 8 times on 5 different times of the day, even with 3x reboot. And today I tried it two times as well. Same problem/error :(
albanboissard
Registered Member
Posts
1
Karma
0

Re: Can't upgrade to 22.04

Mon Oct 31, 2022 10:14 am
I had the same problem.
I solve it by manually disabling some source of packages via discover.
kenwoodfox
Registered Member
Posts
2
Karma
0

Re: Can't upgrade to 22.04

Tue Nov 01, 2022 7:05 pm
Im also having this same problem but "disabling some apps in discover" is really, really vague, what apps? I have no idea how to reproduce that solution. :(
bernhardh
Registered Member
Posts
9
Karma
0

Re: Can't upgrade to 22.04

Tue Nov 01, 2022 7:47 pm
I have upgraded now, by disabling more or less all none Neon Sources. Be very carefully, I had some issues with PPA's i have used. I solved it by `pkcon repair`
kenwoodfox
Registered Member
Posts
2
Karma
0

Re: Can't upgrade to 22.04

Tue Nov 01, 2022 7:57 pm
bernhardh wrote:I have upgraded now, by disabling more or less all none Neon Sources. Be very carefully, I had some issues with PPA's i have used. I solved it by `pkcon repair`


Still no go for me, same error.

Code: Select all
Unit packagekit.socket does not exist, proceeding anyway.
Created symlink /run/systemd/system/packagekit.socket → /dev/null.
Created symlink /run/systemd/system/packagekit.service → /dev/null.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.
exitMainLoopMidFlight
None
Removed /run/systemd/system/packagekit.service.
Removed /run/systemd/system/packagekit.socket.
elmolo
Registered Member
Posts
1
Karma
0

Re: Can't upgrade to 22.04

Mon Nov 28, 2022 10:46 pm
I had the same problem, it was an erroneous python 3.10 installation what caused it in my case.
Uninstalling python3.10 and running sudo apt autoremove solved it for me.
Can you share what your log file in /var/log/dist-upgrade?


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Sogou [Bot]