Pamac crash after latest system update

After de latest update Pamac-manager doesn’t work any more. This happens on my laptop and my PC

(pamac-manager:3888): GLib-ERROR **: 12:24:02.584: ../glib/glib/gmem.c:106: failed to allocate
5 bytes

I’ve tried to uninstall and than reinstall it. With no succes. I see that on CashyOS they had a similar problem.

Take a look at this topic and you will know why that happens.

Hi Keescase,

Thanks for your response. I’ll try to convert your solution to my situation.

yay -Q | grep pamac
libpamac-full 1:11.7.4.3.gc7efe92-1
pamac-all 11.7.4-1
pamac-cli 11.7.4-1

I did this:

sudo pacman -Rns pamac-all libpamac-full pamac-cli

yay -Yc

sudo pacman -Syu

yay -S pamac-aur

The error persists

Note @grenouille’s reply:

You can try installing the -git version, which may have been fixed, as a temporary solution.

yay -Syu pamac-git

@ Bink,

I think you (and grenouille) are right…

There’s also a new gui package manager which you can try out instead of pamac.

Thanks for the suggestion Cphusion. I’ve installed it (with many warnings). It works, but it’s not my flavor.

If you’re in Plasma, or don’t mind some Qt dependencies being installed, try Octopi.

Hi Richard, Yeah KDE/plasma. I tried Octopi but it’s a bit like Shelly … I’ll wait for the fix for pamac.

There are also Pacseek

Hi SCORPION2000,

Thanks for your response. This is actually a very nice program. CTRL+L shows a list of all installed packages. It’s a long list. It would help to have an option to show only the (explicit) installed programs. But maybe i’m missing something. I will play with it a bit longer.

pamac is an AUR package. I guess you simply need to rebuild the package so that it works with the most recent libs.

After an udate Pamac is again.

Thanks for all your suggestions and help!

FYI

pacman -Q

That’s the basic one. A few useful variants:

pacman -Q          # all installed packages (name + version)
pacman -Qe         # only explicitly installed (not dependencies)
pacman -Qn         # only packages from official repos
pacman -Qm         # only AUR packages
pacman -Qq         # quiet, names only (no version)
pacman -Qs firefox # search within installed packages
pacman -Qi firefox # package info

Handy combos:

pacman -Q | wc -l           # count total installed
pacman -Qe | wc -l          # count explicit installs only
pacman -Qq > pkglist.txt    # export list to file (useful for backup/restore)

Personlay I am not a fan of Pamac gui, because of the never ending crashes after updates for years.

@ Bellis perennis (Madelief): thanks (en groeten uit Brabant). Never had a problem before, but I used to use Manjaro and only a year or so EOS.

Probleem, problem pamac is always behind pacman. Every pacman, pamac breaks xd

That is an build in feature of pamac, so to say. Some of It’s unresolved issues are almost 2 years old, that latest version has been release in December, last months activity summary is not really worth mentioning. at all.

If you check the contributors statistics, it’s pretty much evident that active development on pamac has been discontinued in the last Quarter of 2020. It’s been in maintenance mode for the past 5 1/2 years with little to no activities in the repository.

Especially as the future of Manjaro and especially the controversy about it’s ownership and its (former ?) main developer PhilM is somewhat uncertain, and his dev work seems to have shifted away from Manjaro as well as Pamac, it’s uncertain if it will even be properly maintained in the future.

That being said, do install package managers due to their features ( or the UI), it’s wise to also check if it will be supported properly in the future. Pacman is here to stay, yay development and maintainance isn’t focused on just a few devs.

Those who have a background in software development or are familiar with software development llfecycles. will surely agree that a pure text-based package manager has some major advantages. It is very convenient to manage and to develop for, as it’s DE/WM agnostic and won’t require and GUI libraries which may break and which would significantly increase the maintenance part within it’s software live cycle. So, in the non-commercial world of arch linux and it’s derivations, one should really take into account that the focus is on providing a efficient and reliable environment. In which there is no money involved, therefore, you can skip all the fancy UI, advanced metrics and product placements. As it is free and oipen source.

No issue here with pamac.

On my PC Pamac worked again after an update. It has these packages:

local/libpamac-full 1:11.7.4.3.gc7efe92-1
local/pamac-all 11.7.4-2
local/pamac-cli 11.7.4-1

On my laptop with AUR packages it didn’t. So I uninstalled all pamac packeges and reinstalled it. It’s working on my laptop to.

@ 1093i3511

Okay. Thanks for the explanation. So presumably, PAMAC will come to an end in the future. By then, we’ll just have to look at alternatives. Pacseek is an interesting option.