`pamac update` does not work

garuda-inxi

When I type pamac update on the terminal, I get this:

Preparando...
Sincronizando banco de dados de pacotes...
Atualizando chaotic-aur.db...                                                                                                                                
Clonando pyinstaller arquivos para compilar...                                                                                                               
Gerando a informação pyinstaller...
Verificando 1pyinstaller dependências...
Clonando colorgrab arquivos para compilar...
Gerando a informação colorgrab...
Verificando 1colorgrab dependências...
Clonando pyinstaller-hooks-contrib arquivos para compilar...
Gerando a informação pyinstaller-hooks-contrib...
Verificando 1pyinstaller-hooks-contrib dependências...
Clonando python-srt arquivos para compilar...
Gerando a informação python-srt...
Verificando 1python-srt dependências...
Clonando vscodium-bin arquivos para compilar...
Gerando a informação vscodium-bin...
Verificando 1vscodium-bin dependências...
Clonando lib32-libgphoto2 arquivos para compilar...
Gerando a informação lib32-libgphoto2...
Verificando 1lib32-libgphoto2 dependências...
Clonando snapd arquivos para compilar...
Gerando a informação snapd...
Verificando 1snapd dependências...
Clonando python-backports.cached_property arquivos para compilar...
Gerando a informação python-backports.cached_property...
Verificando 1python-backports.cached_property dependências...
Clonando celt arquivos para compilar...
Gerando a informação celt...
Verificando 1celt dependências...
Clonando binance arquivos para compilar...
Gerando a informação binance...
Verificando 1binance dependências...
Clonando python-cloup arquivos para compilar...
Gerando a informação python-cloup...
Verificando 1python-cloup dependências...
Clonando python-buildozer arquivos para compilar...
Gerando a informação python-buildozer...
Verificando 1python-buildozer dependências...
Clonando manimce arquivos para compilar...
Gerando a informação manim...
Verificando 1manim dependências...
Clonando python-icecream arquivos para compilar...
Gerando a informação python-icecream...
Verificando 1python-icecream dependências...
cp: não foi possível criar arquivo comum '/var/tmp/pamac/dbs/sync/pamac_aur.db': Permissão negada
Aviso: anbox-git: local (1:r1358.84f0268-10) é mais novo que chaotic-aur (1:r1358.84f0268-6)
Aviso: lxc-git: local (4.0.0.r2198.g30ebf0964-1) é mais novo que chaotic-aur (lxc.5.0.0.44-1)
Aviso: python-moderngl-git: local (20210627-1) é mais novo que chaotic-aur (5.6.4.r190.gff12a936-1)
Aviso: python-sqlalchemy: ignorando atualização do pacote (1.4.30-1 => 1.4.39-1)
Erro: Falha ao preparar transação: alvo não encontrado: python-srt



Editar arquivos de compilação : [e]
Aplicar transação ? [e/s/N]

When I type s to confirm, it appears:

Transação cancelada.

Which means in English transaction cancelled

What do I do? I need to update my system... Thanks for the help

Can you share the output of:

LANG=C garuda-update
5 Likes

I second dalto, but afterwords maybe consider trying garuda-update -a so that you can update python-srt, as it's an AUR package that's not in Chaotic or Garuda repository.

Please do not use pamac other than for searches, as you can see here:

2 Likes

Please don’t use octopi or pamac. It just introduces more problems than it solves. The Discover store is better imo for managing software but the terminal is king. You can add an environmental variable to garuda update to make it update the aur too if you would like. Just do update or update -a for aur and leave the gui stuff alone imo

5 Likes

Here it is the output:

:: Synchronizing package databases...
garuda is up to date
core is up to date
extra                                                            1709,1 KiB  2,13 MiB/s 00:01 [-------------------------------------------------------] 100%
community                                                           6,7 MiB  3,13 MiB/s 00:02 [-------------------------------------------------------] 100%
multilib                                                          176,1 KiB   362 KiB/s 00:00 [-------------------------------------------------------] 100%
chaotic-aur                                                      2007,6 KiB  2,18 MiB/s 00:01 [-------------------------------------------------------] 100%

--> Refreshing mirrorlists using reflector, please be patient..
[2022-08-11 14:33:21] WARNING: failed to rate http(s) download (https://archlinux.thaller.ws/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-08-11 14:33:27] WARNING: failed to rate http(s) download (https://phinau.de/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-08-11 14:33:33] WARNING: failed to rate http(s) download (https://mirror.cyberbits.asia/archlinux/community/os/x86_64/community.db): HTTP Error 403: Forbidden
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2022-08-11 17:33:38 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2022-08-11 17:33:15 UTC
# Last Check: 2022-08-11 17:30:38 UTC

Server = https://archlinux-br.com.br/archlinux/$repo/os/$arch
Server = https://mirror.eloteam.tk/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://phinau.de/arch/$repo/os/$arch
Server = https://mirror.cyberbits.asia/archlinux/$repo/os/$arch

:: Synchronizing package databases...
garuda                                                             86,6 KiB   103 KiB/s 00:01 [-------------------------------------------------------] 100%
core                                                              158,4 KiB   518 KiB/s 00:00 [-------------------------------------------------------] 100%
extra                                                            1709,1 KiB  1012 KiB/s 00:02 [-------------------------------------------------------] 100%
community                                                           6,7 MiB  1080 KiB/s 00:06 [-------------------------------------------------------] 100%
multilib                                                          176,1 KiB   229 KiB/s 00:01 [-------------------------------------------------------] 100%
chaotic-aur                                                      2007,6 KiB  1586 KiB/s 00:01 [-------------------------------------------------------] 100%
spawn pacman -Su
:: Starting full system upgrade...
:: Replace absl-py with community/python-absl? [Y/n] y
warning: anbox-git: local (1:r1358.84f0268-10) is newer than chaotic-aur (1:r1358.84f0268-6)
:: Replace intel-mkl with community/intel-oneapi-mkl? [Y/n] y
warning: lxc-git: local (4.0.0.r2198.g30ebf0964-1) is newer than chaotic-aur (lxc.5.0.0.44-1)
warning: python-moderngl-git: local (20210627-1) is newer than chaotic-aur (5.6.4.r190.gff12a936-1)
warning: python-sqlalchemy: ignoring package upgrade (1.4.30-1 => 1.4.39-1)
:: Replace wxgtk-common with extra/wxwidgets-common? [Y/n] y
:: Replace wxgtk3 with extra/wxwidgets-gtk3? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing wxgtk-common breaks dependency 'wxgtk-common' required by wxgtk2

update or update -a produces this error:

[🔴] × update -a
:: Sincronizando a base de dados de pacotes...
garuda está atualizado
core está atualizado
extra está atualizado
community está atualizado
multilib está atualizado
chaotic-aur                                                      2007,6 KiB  1541 KiB/s 00:01 [-------------------------------------------------------] 100%

--> Refreshing mirrorlists using reflector, please be patient..
[2022-08-11 14:35:05] WARNING: failed to rate http(s) download (https://archlinux.thaller.ws/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-08-11 14:35:12] WARNING: failed to rate http(s) download (https://phinau.de/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-08-11 14:35:12] WARNING: failed to rate http(s) download (https://mirror.cyberbits.asia/archlinux/community/os/x86_64/community.db): HTTP Error 403: Forbidden
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2022-08-11 17:35:17 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2022-08-11 17:33:15 UTC
# Last Check: 2022-08-11 17:30:38 UTC

Server = https://mirror.eloteam.tk/archlinux/$repo/os/$arch
Server = https://archlinux-br.com.br/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://phinau.de/arch/$repo/os/$arch
Server = https://mirror.cyberbits.asia/archlinux/$repo/os/$arch

:: Sincronizando a base de dados de pacotes...
garuda                                                             86,6 KiB   138 KiB/s 00:01 [-------------------------------------------------------] 100%
core                                                              158,4 KiB   105 KiB/s 00:02 [-------------------------------------------------------] 100%
extra                                                            1709,1 KiB   907 KiB/s 00:02 [-------------------------------------------------------] 100%
community                                                           6,7 MiB  1175 KiB/s 00:06 [-------------------------------------------------------] 100%
multilib                                                          176,1 KiB   103 KiB/s 00:02 [-------------------------------------------------------] 100%
chaotic-aur                                                      2007,6 KiB  1875 KiB/s 00:01 [-------------------------------------------------------] 100%
spawn pacman -Su
:: Starting full system upgrade...
:: Replace absl-py with community/python-absl? [Y/n] y
warning: anbox-git: local (1:r1358.84f0268-10) is newer than chaotic-aur (1:r1358.84f0268-6)
:: Replace intel-mkl with community/intel-oneapi-mkl? [Y/n] y
warning: lxc-git: local (4.0.0.r2198.g30ebf0964-1) is newer than chaotic-aur (lxc.5.0.0.44-1)
warning: python-moderngl-git: local (20210627-1) is newer than chaotic-aur (5.6.4.r190.gff12a936-1)
warning: python-sqlalchemy: ignoring package upgrade (1.4.30-1 => 1.4.39-1)
:: Replace wxgtk-common with extra/wxwidgets-common? [Y/n] y
:: Replace wxgtk3 with extra/wxwidgets-gtk3? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing wxgtk-common breaks dependency 'wxgtk-common' required by wxgtk2

Can you remove wxgtk2?

What happens with sudo pacman -R wxgtk2

2 Likes

I am getting this error:

╰─λ sudo pacman -R wxgtk2

verificando dependências...
erro: falha ao preparar a transação (não foi possível satisfazer as dependências)
:: a remoção de wxgtk2 quebra a dependência "wxgtk2" necessária por colorgrab

It says colorgrab needs this package

I will remove colorgrab, update the system and install it again then

That will be fine after you update.

This is not general advice but in this specific situation, it should be OK to use:

sudo pacman -Rdd wxgtk2
garuda-update -a
2 Likes

Also, please, use LANG=C

LANG=C sudo sudo pacman -R wxgtk2

for English translation :slight_smile:

1 Like

After removing wxgtk2 and trying garuda-update -a

...
System updated! 🐧
1 Like

pamac update now gives me this error:

Preparing...
Sincronizando banco de dados de pacotes...
https://aur.archlinux.org/packages-meta-ext-v1.json.gz: Socket I/O timed out
Failed to synchronize AUR database
Cloning python-icecream build files...
Generating python-icecream information...
Checking python-icecream dependencies...
Cloning python-srt build files...
Generating python-srt information...
Checking python-srt dependencies...
Warning: anbox-git: local (1:r1358.84f0268-10) is newer than chaotic-aur (1:r1358.84f0268-6)
Warning: lxc-git: local (4.0.0.r2198.g30ebf0964-1) is newer than chaotic-aur (lxc.5.0.0.44-1)
Warning: python-moderngl-git: local (20210627-1) is newer than chaotic-aur (5.6.4.r190.gff12a936-1)
Warning: python-sqlalchemy: ignoring package upgrade (1.4.30-1 => 1.4.39-1)
Resolving dependencies...
Checking inter-conflicts...

To build (2):
python-icecream  2.1.3-1  (2.1.1-2)  AUR
python-srt       3.5.2-1  (3.5.0-1)  AUR


Edit build files : [e]
Apply transaction ? [e/y/N] y


Building python-icecream...
==> Making package: python-icecream 2.1.3-1 (qui 11 ago 2022 16:35:29)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found python-icecream-2.1.3.tar.gz
==> Validating source files with sha256sums...
python-icecream-2.1.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting python-icecream-2.1.3.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...

Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/build/__main__.py", line 370, in main
built = build_call(
File "/usr/lib/python3.10/site-packages/build/__main__.py", line 201, in build_package
builder = _ProjectBuilder(srcdir)
File "/usr/lib/python3.10/site-packages/build/__init__.py", line 301, in __init__
self._hook = pep517.wrappers.Pep517HookCaller(
TypeError: Pep517HookCaller.__init__() got an unexpected keyword argument 'python_executable'

ERROR Pep517HookCaller.__init__() got an unexpected keyword argument 'python_executable'
==> ERROR: A failure occurred in build().
Aborting...

Please, do not use pamac, do not mix pacman and pamac.
Use pacman or paru or update -a.

4 Likes

Okay
update -a simply says the system is updated

Everything is fine now

Thank you guys for the help!
My apps are working now

God damn…all I’ve learnt today is that pamac is a dumpster fire lol

3 Likes

I am actually less intelligent for reading this thread... :melting_face:

4 Likes

You sure it’s the thread that did that? I kid haha

Open a terminal.
Type abbr update 'garuda-update'

Now when you open a terminal, just type 'update'.

1 Like

Sorry :slight_smile: , not needed.
This command has always been called update but when we wrote for example in Telegram, do/type update in terminal, everyone wrote sudo pacman -Syu in terminal. We then called it garuda-update for better understanding. So you can use both directly.
But for me I shortened it to upd. :smiley:

7 Likes

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