My Pamac seems to be broken (again)

original locked post:

today the Pamac icon turned red.
opening it gives a stuck window:

i could solve it and reset the red icon to white and be able to open pamac again by running sudo pacman -Syu ,which would say there is nothing to do.
today i got this infinite message:

i tried running pamac update --aur but nothing happens:

i checked the status of my mirrors and they’re all fine.

edit:

running sudo pacman -Syyu
gave these packages;
Packages (5) libpamac-11.7.0-0 libpamac-flatpak-plugin-11.7.0-0 manjaro-release-24.1.2-1 pamac-cli-11.7.0-0 pamac-gtk3-10.7.0-0

hopefully this pamac update will fix it.

Edit2:
i can open pamac after this update but get an extra error widow with this message:
trans_refresh: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “StartTransRefreshAur”

edit3: trying to refresh database in Pamac gets stuck on “refreshing AUR” and i have to kill the process.

I’d check sudo ls /var/cache/pamac and see what’s in there. You might need to clean it up a bit?

Also, better to disable automatic AUR support in pamac. Do the AUR stuff separately.

cat /etc/pamac.conf | grep -i aur

1 Like

I just saw a similar / identical message in another thread.

@robin0800 asked there:

Did you reboot?

… a reboot apparently fixed it

Pamac "trans_refresh" Daemon Error - #6 by Nachlese



I’d use the indicator as just that.
Then go to command line and use pacman to do the work.

2 Likes

i’m gonna reboot and run paccache -rvk0
pamac is a mess right now,updates appear then disappear,it’s gets stuck etc.

will just empty the pacman cache
everything in:
/var/cache/pacman/pkg/

… if it somehow helps … I can’t imagine how …

1 Like

I’m thinking the issue is more likely something in the pamac cache. Also, how much free space on e.g. /?

1 Like

Pamac is still a mess;i have a notification for 5 updates but nothing shows,
it gets stuck,
on the “Browse” tab(when i can access it) i only have:Firefox,virtualbox and something else.

sudo ls /var/cache/pamac                                                                                                                                                   ✔ : 
kdelibs4support  kdesignerplugin  kemoticons  pulseaudio-ctl

i have plenty of free space.

edit:
just got these updates:


and they show as being from AUR?
i’ll disable the support for now.

This is exactly what I was going to question. I’d suggest removing the AUR versions of the PAMAC items and install those from the repos using pacman instead.

pacman -Ss pamac-cli
extra/pamac-cli 11.6.0-5 [installed]
    A CLI Package Manager based on libalpm with AUR support
pacman -Ss pamac-tray-icon-plasma
extra/pamac-tray-icon-plasma 0.1.3-3
    Pamac tray icon for Plasma users

So, sudo pacman -Syu pamac-cli pamac-tray-icon-plasma after the AUR versions are gone (using pamac remove).

1 Like

i can’t use pamac to remove them,pamac is stuck.
tried running your commands to check:

pacman -Ss pamac-cli                                                                                                                                           INT ✘  13s  
error: could not read db 'extra' (gzip decompression failed)
    ~  pacman -Ss pamac-tray-icon-plasma                                                                                                                                        1 ✘ 
error: could not read db 'extra' (gzip decompression failed)

i don’t know what broke.

sudo pacman -Syyu                                                                                                                                                          ✔ 

:: Synchronizing package databases...
 core                                                                               141.5 KiB   162 KiB/s 00:01 [-------------------------------------------------------------------] 100%
 extra                                                                                8.0 MiB  4.67 MiB/s 00:02 [-------------------------------------------------------------------] 100%
 multilib                                                                           143.9 KiB   162 KiB/s 00:01 [-------------------------------------------------------------------] 100%
:: Starting full system upgrade...
error: could not read db 'extra' (gzip decompression failed)

i rebooted 3 times already,
i think i’ll wait a day.

moving from “Browse” to “installed” takes a lot of time and look at that;
the browse Tab with only 3 packages,and both these and the installed ones don’t show from what repository they are:

For me, the initial fix was to downgrade pamac-gtk.

Then a little later, some upgrades for pamac-cli and libpamac appeared. Installing these and then re-installing the latest pamac-gtk brought everything back.

I can only assume some package pushes got a bit out of sync.

1 Like

You could try renaming that file and then doing sudo pacman -Syyu (yes, second y is needed in this case, to force re-download of the database file)*:

sudo mv /var/lib/pacman/sync/extra.db /var/lib/pacman/sync/extra.db.bak

I suggest doing a rename rather than removal, as it might be OK after all.

*Now I think I see why that second y is usually undesireable.

1 Like

either way i still get the same error as before when running this command.

i guess i can’t downgrade Pamac-gtk now that i deleted the cache.

Which command?

2 Likes

and
sudo pacman -Syu

Is this after moving the supposedly-corrupt extra.db file out of the way first?

1 Like

after renaming it.

in case this helps:

i would have removed those then reinstall,but i’m not sure i can even use Pacman.

Hopefully you can, with the -Rns options. I’m sure I did that to remove an unwanted AUR package fairly recently, but I don’t entirely trust my “memory” sometimes.

1 Like

i just ran
sudo pacman-mirrors --interactive --default && sudo pacman -Syu
to rechose my mirrors and it seems to have fixed it.

 sudo pacman-mirrors --interactive --default && sudo pacman -Syu                                                                                                            ✔ 
[sudo] password for
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
  0.660 Global         : https://mirrors.manjaro.org/repo/
  0.610 Global         : https://mirrors2.manjaro.org/
::INFO User generated mirror list
::------------------------------------------------------------
::INFO Custom mirror file saved: /var/lib/pacman-mirrors/custom-mirrors.json
::INFO Writing mirror list
::Global          : https://mirrors2.manjaro.org/stable/$repo/$arch
::Global          : https://mirrors.manjaro.org/repo/stable/$repo/$arch
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases...
 core is up to date
 extra                                                                                8.0 MiB  4.78 MiB/s 00:02 [-------------------------------------------------------------------] 100%
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do

now pamac GUI is fluid and one can see from which repository packages are:

what a mess.

Thanks a lot.

1 Like

You know … it does seem that you have somehow removed all possible mirrors except those 2 ‘global’ ones.

Those have been known to be extra special … sometimes not performing correctly.

And aside from that I just wonder if it was on purpose or maybe is related to your earlier problems.

To reset and regain the current mirrorlist in total you may do something like

sudo pacman-mirrors -c all

You can then follow it up with regional specifics or the -i for manual selection.

And of course whenever you are done make sure to re-sync.

sudo pacman -Syu
3 Likes
1 Like