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: 4,634

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: 1,872

Re: No updates in discover or packagekit

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

Online

#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: 103

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: 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, 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

Board footer

Powered by FluxBB