You are not logged in.
I had a package named "libkeybinder" installed on my system. Today I noticed that there was no such package in the repositories anymore — it seems to have moved to "libkeybinder2". But when I ran full system upgrade with "yaourt -Syua", I didn't get any notification of this, and the old package remained on the system.
Is this a bug/error or is this generally allowable? Now I can't be sure that there are no other similarly outdated packages on my system.
Offline
I think libkeybinder was in the AUR rather than the repos and has now been moved to [community] as libkeybinder2. AUR packages are the responsibility of the user.
Your title says pacman but you actually apear to be using the yaourt wrapper to carry out system upgrades.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Normally, whenever a package is renamed like this, packages that depended on the old package are updated to depend on the new package. So when you update package foo, which used to depend on package bar, but now depends on bar2, bar2 will be installed, and pacman will inform you that package bar will be removed (due to file conflicts).
'libkeybinder2' (and it's python2 bindings) is a community package which isn't a dependency for anything in the official repos other than terminator. I suspect that there may be a few AUR packages that depend on it though, and these will need to be updated too.
If you've explicitly installed the old-named package, but don't have any packages that depend on it, then it will just stagnate until you manually intervene.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
If you've explicitly installed the old-named package, but don't have any packages that depend on it, then it will just stagnate until you manually intervene.
That's what I've feared. Is there a good way to detect such packages? I can see only "pacman/yaourt -Qm", but this also lists all packages installed from AUR.
Offline
I've cobbled together a bash loop to check this, but I've no doubt there's more sophisticated ways of finding out.
for i in $(yaourt -Qqm); do
yaourt -Sia "$i" &>/dev/null || echo $i
doneRequires yaourt, obviously. Basically searches the AUR for "local" packages, and prints out the name of any packages that can't be found.
Last edited by WorMzy (2012-11-14 11:37:07)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Offline
I've cobbled together a bash loop to check this, but I've no doubt there's more sophisticated ways of finding out.
for i in $(yaourt -Qqm); do yaourt -Sia "$i" &>/dev/null || echo $i doneRequires yaourt, obviously. Basically searches the AUR for "local" packages, and prints out the name of any packages that can't be found.
This works. Thanks! With the help of this command I've found that "powertop2" has also been moved/deleted.
Offline
It turns out that there is indeed a simpler and much faster command to list local packages not found in AUR:
yaourt -Qma | grep localOffline
What happens in the case of packages such as consolekit? Will this eventually get removed by pacman or am I supposed to remove it?
Actually, I notice that it shows as "explicitly installed" for some reason so would that be why I still have it?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Yes, you would have to remove it manually.
Offline