You are not logged in.

#1 2021-06-11 07:52:07

scambra
Member
Registered: 2021-06-11
Posts: 3

No updates in discover or packagekit

In last 1 or 2 weeks, probably since update to pacman 6, when I try to update with discover or pkcon, I don't get any update.

Packagekit and pacman versions:
local/libpackagekit-glib 1.2.3-4
local/packagekit 1.2.3-4
local/packagekit-qt5 1.0.2-1
local/pacman 6.0.0-3 (base-devel)

Packagekit service is running:
packagekit.service - PackageKit Daemon
     Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static)
     Active: active (running) since Thu 2021-06-10 21:49:43 CEST; 12h ago

Offline

#2 2021-06-11 08:46:22

progandy
Member
Registered: 2012-05-17
Posts: 5,263

Re: No updates in discover or packagekit

Packagekit has to be updated for the new libalpm version that is part of pacman 6. Until then, you'll have to use pacman or try some other tool that implements the new API.

https://github.com/PackageKit/PackageKit/pull/407

Last edited by progandy (2021-06-11 08:46:58)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2021-06-11 08:59:02

scambra
Member
Registered: 2021-06-11
Posts: 3

Re: No updates in discover or packagekit

I'm updating with pacman now, but I couldn't find any info here or in arch bugs, thanks for giving link to github issue, I will subscribe it so I know when it works again

Offline

#4 2021-06-11 13:16:40

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,151

Re: No updates in discover or packagekit

The Arch packagekit package should be working fine with pacman 6. Try deleting your PK cache.

Offline

#5 2021-06-11 14:27:22

scambra
Member
Registered: 2021-06-11
Posts: 3

Re: No updates in discover or packagekit

I have deleted /var/cache/PackageKit/alpm, run pkcon refresh force to get new cache, and pkcon get-updates couldn't find updates. Then I deleted /var/lib/PackageKit/alpm and now it works

Offline

#6 2021-07-12 14:12:51

Strangiato
Member
Registered: 2020-01-10
Posts: 395

Re: No updates in discover or packagekit

scambra wrote:

I have deleted /var/cache/PackageKit/alpm, run pkcon refresh force to get new cache, and pkcon get-updates couldn't find updates. Then I deleted /var/lib/PackageKit/alpm and now it works

Thanks to your steps, Discover finds updates on my Arch again. Thank you.

Offline

#7 2021-07-14 03:19:13

SlimJiMSoftware
Member
Registered: 2021-07-14
Posts: 1

Re: No updates in discover or packagekit

I have been having this trouble on and off for a while, it seems that Discover doesn't always delete the lock file /var/lib/PackageKit/alpm/db.lck especially after you have performed an update. You don't need to remove the whole /var/lib/PackageKit/alpm directory, just removing this lock file is enough.

Offline

#8 2021-07-24 01:12:41

vinumoses
Member
Registered: 2021-05-01
Posts: 18

Re: No updates in discover or packagekit

scambra wrote:

I have deleted /var/cache/PackageKit/alpm, run pkcon refresh force to get new cache, and pkcon get-updates couldn't find updates. Then I deleted /var/lib/PackageKit/alpm and now it works

Thank you, Scambra. I had the same problem and deleting /var/lib/PackageKit/alpm worked for me.

Last edited by vinumoses (2021-07-24 01:13:07)

Offline

#9 2022-05-10 15:26:37

3m3rald
Member
Registered: 2022-05-10
Posts: 5

Re: No updates in discover or packagekit

scambra wrote:

I have deleted /var/cache/PackageKit/alpm, run pkcon refresh force to get new cache, and pkcon get-updates couldn't find updates. Then I deleted /var/lib/PackageKit/alpm and now it works

Thank you so much, this fixed Discover for me.

Offline

#10 2022-05-10 16:00:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,229

Re: No updates in discover or packagekit

Glad to hear, please take care not to necrobump old topics in the future.

https://wiki.archlinux.org/title/Genera … bumping%22

Consider adding to the wiki if this is something that comes up routinely.

Closing this old thread.

Last edited by V1del (2022-05-10 16:00:37)

Offline

Board footer

Powered by FluxBB