I use Archlinux but I use pamac as a graphical software downloader
I changed mirror to a local and fast mirror:
$ cat /etc/pacman.d/mirrorlist
Server=https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
so pacman -Syu
update very fast:
$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra 7.9 MiB 15.1 MiB/s 00:01 [################################################] 100%
:: Starting full system upgrade...
there is nothing to do
[ble: elapsed 1.032s (CPU 0.7%)]
But when I use pamac to update:
$ pamac update
Preparing...
Synchronizing package databases...
and this takes >200s and I do not see it stop so I Ctrl+Z
to stop it and sudo rm /var/lib/pacman/db.lck
4. I also tried yay
paru
and octopi
and they also update at ~1s, much faster than pamac
Firestar:
I use Archlinux
Then you should better ask in Archlinux forum for help.
1 Like
Sorry, I am thinking that pamac is developed by manjaro and it is the default for manjaro so there are much more pamac users than the archlinux forum.
Indeed - and for Manjaro - it could be a hickup - when the AUR maintainer patches pamac to be used upstream.
Do note: the pamac developer does not maintain the AUR build script.
So if you have issues - you should contact the maintainer - which in turn will create an issue in pamac repo - if applicable
But most likely a coincidence
06:05:32 ○ [fh@tiger] ~
$ sudo rm -rf /var/lib/pacman/sync/*
06:05:39 ○ [fh@tiger] ~
$ sudo rm -rf /var/tmp/pamac
06:05:44 ○ [fh@tiger] ~
$ time pamac update
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing multilib.db...
Refreshing sublime-text.db...
Refreshing nixrepo.db...
Preparing...
Synchronizing package databases...
Nothing to do.
Transaction successfully finished.
real 0m3,497s
user 0m1,102s
sys 0m0,105s
1 Like
Have you tried force refreshing the databases? I recently switched branch on manjaro and pamac was stuck until I did a force refresh
1 Like
$ pamac update --force-refresh
Preparing...
Synchronizing package databases...
Refreshing core.db...
and it stucks here
$ pamac update --no-refresh
Preparing...
Nothing to do.
Transaction successfully finished.
this is fine
Just one mirror in the list? Maybe not fully synchronized and missing something? I’d add more mirrors.
But:
Doesn’t Arch have a GUI option for e.g. Pacman’s functions? I haven’t checked as I’ve only ever experimented with pure Arch without a GUI installed.
Bold text in the quote by me.
No - they have not - but you are of course free to use the AUR which on Arch (and Manjaro) is unsupported.
I suggest you disable AUR in pamac settings or use virtual teminal and edit the pamc configuration file → /etc/pamac.conf
## Allow Pamac to search and install packages from AUR:
#EnableAUR
1 Like
I was thinking that as well. This one is already set that way & I assume it’s the default? … In any case, if the OP needs to use the AUR there’s the -a
option in Pamac CLI.
(I changed that on the other machine, but I don’t use Pamac for system upgrades, just the few AUR packages I have).