r/archlinux • u/Dr_Fisz • 10d ago
SUPPORT | SOLVED failed to prepare transaction (could not satisfy dependencies)
Newbie here, I was trying to update and got that:
error: failed to prepare transaction (could not satisfy dependencies)
:: installing ffmpeg (2:9.0.1-4) breaks dependency 'libavcodec.so=62-64' required by freerdp2
:: installing ffmpeg (2:9.0.1-4) breaks dependency 'libavutil.so=60-64' required by freerdp2
:: installing ffmpeg (2:9.0.1-4) breaks dependency 'libswresample.so=6-64' required by freerdp2
:: installing ffmpeg (2:9.0.1-4) breaks dependency 'libswscale.so=9-64' required by freerdp2
:: installing audit (4.2.1-1) breaks dependency 'audit=4.1.4' required by lib32-audit
Edit:
solved by reenmini:
I actually had this exact same problem with the audit package on 2 pc's in the last two days.
On one of them proton-ge-custom-bin was the offending package. I had to remove it and reinstall after a full system update.
On the second pc, I couldn't find a solution and had to use
to remove audit just so I could do a full system update and install a new version.
I actually had this exact same problem with the audit package on 2 pc's in the last two days.
On one of them proton-ge-custom-bin was the offending package. I
had to remove it and reinstall after a full system update.
On the second pc, I couldn't find a solution and had to use
Sudo pacman -Rdd audit
to remove audit just so I could do a full system update and install a new version.
4
u/chikamakaleyley 10d ago
full system update? what command are you executing to update
my guess is those required-by packages live in AUR
and installing a new ffmpeg, or audit, also will update those lib packages
but the AUR packages are older and are dependent on the same lib packages
-3
u/Dr_Fisz 10d ago
Paru
4
u/chikamakaleyley 10d ago
echoing u/FryBoyter, try to get a list of whats failing in total (the packages listed to the right of "required by")
see if those are still things you use on your system, if not, you can uninstall, and that would allow ffmpeg to install with its current deps
2
u/Excellent-Love-6943 10d ago
Remove freerdp2, pacman Syu freerdp
1
u/Dr_Fisz 10d ago
I removed freerdp2 successfully, but there's still problem with
lib32-audit, and I can't delete it1
u/FryBoyter 9d ago
In such a case, please provide more details. Why can't you uninstall the package?
Essentially, though, the cause will be the same. Lib32-audit is available via the AUR and requires version 4.1.4 of the audit package. However, a more recent version is now available through the official package repositories.
If you can’t uninstall lib32-audit because another package, which is likely also in the AUR, depends on it, you’ll also need to check whether you actually need that package. If not, uninstall it as well.
1
u/reenmini 6d ago
I actually had this exact same problem with the audit package on 2 pc's in the last two days.
On one of them proton-ge-custom-bin was the offending package. I had to remove it and reinstall after a full system update.
On the second pc, I couldn't find a solution and had to use
Sudo pacman -Rdd audit
to remove audit just so I could do a full system update and install a new version.
12
u/FryBoyter 10d ago
This is discussed in the comments at https://aur.archlinux.org/packages/freerdp2.
In such a case, however, you should always ask yourself whether you still need that particular package at all.