Problem in the update system

error: failed to prepare transaction (could not satisfy dependencies)
:: installing pacman (6.1.0-5) breaks dependency 'libalpm.so=13-64' required by libpamac

hello,What is the problem?

Exatly as stated…

You can workaround it in terminal

sudo pacman -R pamac-gtk

Or it is the gtk3 version

sudo pacman -R pamac-gtk3

Then update the system

sudo pacman -Syu

Hi @AliGholipour and welcome to the Manjaro community.

At face value, libpamac requires libalpm.so=13-64 and attempting to install
pacman (6.1.0-5) breaks that dependency.

Solving any issue usually requires sufficient input from you, the user. The following articles may help you use the forum more effectively.

Cheers.

1 Like

sudo pacman -R pamac-gtk3

sudo pacman -R pamac-gtk3                                                                                                                            
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pamac-gtk3 breaks dependency 'pamac-gtk' required by manjaro-application-utility
:: removing pamac-gtk3 breaks dependency 'pamac-gtk' required by pamac-tray-icon-plasma

i can’t remove

Then add the mentioned packages to the uninstall command

Then add the mentioned packages to the uninstall command

The packages were removed, but the error was not fixed

Which error?

Please provide the exact commands you entered along with the output from them, otherwise it’s difficult to know exactly what you have done.

 sudo pacman -Syu                                                                                                                                        ✔ 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace bashrc-manjaro with core/bash? [Y/n] y
:: Replace kcolorpicker with extra/kcolorpicker-qt5? [Y/n] y
:: Replace kimageannotator with extra/kimageannotator-qt5? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing pacman (6.1.0-5) breaks dependency 'libalpm.so=13-64' required by libpamac

I am not a magician - I cannot possibly know what your issue is without any terminal output.

Do not post images but copy paste the text from the terminal - place it inside a code fence

example

```
 $ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
```

libpamac is part of pamac-gtk3

sudo pacman -R pamac-gtk3

Obviously you have not yet removed libpamac and depended packages as you were told…

sudo pacman -R pamac-gtk
sudo pacman -Syu

Try that.

sudo pacman -R libpamac                                                                                                                       
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libpamac breaks dependency 'libpamac' required by libpamac-flatpak-plugin
:: removing libpamac breaks dependency 'libpamac>=11.6.3' required by pamac-cli
:: removing libpamac breaks dependency 'libpamac' required by python-manjaro-sdk

I have to delete said packages, right?

I tried and it didn’t work

Yes. Do that.

pamac-cli and libpamac is part of pamac-gtk3

So when I say keep adding - I must include pamac-gtk3 - and adding the packages mentioned which would otherwise block removal of pamac-gtk3

Getting the picture now?

sudo pacman -R pamac-gtk3 manjaro-application-utility pamac-tray-icon-plasma libpamac-flatpak-plugin python-manjaro-sdk

I removed pamac-gtk (pamac-gtk3 was not installed)

As far as it was possible to deduce from your comment you were removing the gtk3 version

but if the gtk version is the one - please replace mentions of gtk3 with gtk

I think it deleted the packages that were installed

what did I say about screenshots?

Oh sorry