Cannot upgrade all packages

Hello everyone.
I installed Endeavour OS in a laptop (DELL 5480) and I tried to upgrade all the packages:

$ sudo pacman -Syu

Unfortunately it didnt work. I got the message in the exit:

:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace tracker3 with extra/tinysparql? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing pacman (7.0.0.r3.g7736133-1) breaks dependency 'libalpm.so=14' required by libpamac-aur
:: installing pacman (7.0.0.r3.g7736133-1) breaks dependency 'pacman<6.2' required by libpamac-aur

I tried also to install the ‘libpamac-aur’ manually

$ git clone https://aur.archlinux.org/libpamac-aur.git
$ cd libpamac-aur
$ makepkg -si

but…

==> Making package: libpamac-aur 11.6.4-6 (Πεμ 03 Οκτ 2024 13:59:32 EEST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing pacman (7.0.0.r3.g7736133-1) breaks dependency 'libalpm.so=14' required by libpamac-aur
:: installing pacman (7.0.0.r3.g7736133-1) breaks dependency 'pacman<6.2' required by libpamac-aur
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> libalpm.so=15
  -> pacman>=7.0
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

What could I do?
Ask me for more information. Have a good day everyone.

You have a choice here, you can remove it and your system should update or you could wait for whoever maintains the package to update it.

1 Like
$ yay libpamac-aur -R

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libpamac-aur breaks dependency 'libpamac-aur>=11.6' required by pamac-aur
 -> exit status 1

You will need to remove pacman-aur as well or wait for libbpamac-aur to be updated. Those 2 files require each other.

1 Like

Thank you for your help everyone!

I typed the commands

$ sudo pacman -R pamac-aur
$ sudo pacman -R libpamac-aur

I removed the packages and now the command

$ sudo pacman -Syu

works fine!

1 Like

Your last update is some time ago i bet… you will need to remove pamac completely (may better not reinstall this anyway ; )

to check what you have installed:
pacman -Qs pamac

But i see you find your way already…
Would have been this ion one command…

sudo pacman -R pamac-aur libpamac-aur

Could be also sudo pacman -Rc pamac-aur also a warning -c cascading always needs to see what it will take with it…

4 Likes

fyi : octopi is an alternative to pamac with an leightweight gui. The backend can be configured to use pacman & alpm or pacman solely. AURs are supported with yay, but can be disabled if you want to.
Comes with an handy tray notifier and it can be used to shedule system updates as well.

I’m using it, but mostly for the tray icon / update notifications.

Oh, yeah, :100:. It has been creating more trouble than it spares.

2 Likes

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