Pamac fails to update

I can’t update:
error-update
-more info:
lsblk -f20220912
-I also noticed that every say half an hour it kicks me out of the network, the other comp (windows os) does not lose the network

show the output of
sudo pacman -Syu

1 Like

Try

sudo rm /var/lib/pacman/db.lck

And then try to update.

4 Likes

done: sudo pacman -Syu update has been made , after that restart and after booting the OS tried the normal Update but reports:
Screenshot_2022-09-12_23-40-55

after that I tried sudo rm /var/lib/pacman/db.lck and it says:
Screenshot_2022-09-12_23-41-51

thank you team for helping me

was the update with sudo pacman -Syu successful or was there an error message?

1 Like

there were no errors, I ran the command sudo pacman -Syu again and it reports that everything is ok and that there are no updates:
Screenshot_2022-09-13_00-02-37
but when I start a normal update, “Repositories” disappeared from the left side:


after that:


Update your mirrors first.

1 Like

Try:

sudo rm /var/tmp/pamac/dbs/db.lck

This is a problem with Pamac, it has its own db.lck file, but I don’t know where it is. I always recommend against using Pamac, as it is utter rubbish.

8 Likes

These are aur packages. Update with ‘yay’, yay update aur and other repos.

2 Likes

thanks, everything seems to be fine after update mirrors:
Screenshot_2022-09-13_00-25-29
Screenshot_2022-09-13_00-27-08
thank you all for your help

1 Like

I just looked at the error message. Failed to synchronize databases. That tells me the mirrors aren’t updated and synced.

3 Likes

Lesson of the day, don’t use pamac for updating your system

:running_man:t4:

8 Likes

It’s none of my business, but it’s always amazing how consistently well-intentioned, extremely reasonable advice is simply ignored.

3 Likes

Since it seems you not only know how to update without pamac, and the reality that pamac regularly breaks, I just want to throw out the suggestion of avoiding to use it for updates. Pamac also doesn’t do manual interventions, nor any of the pacdiff files. You will likely have a better experience without it.

That being said, it’s your computer, do as you will. But if I were me, I’d get rid of that asap.

3 Likes

@stonemax
As others have alluded to it’s best to use pacman for updating your system. Pamac can be used to install packages but there are better ways and better tools to do this. Pacseek is a better tool to use for this purpose and many others. yay is an AUR helper and you can also use that to install packages and also update. Using Pamac can cause issues with updating so it would be better to learn about pacman.

https://discovery.endeavouros.com/pacman/pacman-basic-commands/2021/03/

4 Likes

If you would like to maintain your system as I keep mine - you may find this of interest.

5 Likes

eos-update-notifier is pretty good :slight_smile:

1 Like

https://extensions.gnome.org/extension/1010/archlinux-updates-indicator/

This can be even better, since you can tell it to call pacseek as your package manager. :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.