You are not logged in.

#1 2026-08-12 13:03:47

tinh
Member
From: France
Registered: 2012-12-16
Posts: 42
Website

[SOLVED] dependencies breaking ffmpeg 2:9.0-5

Hello fellow archusers,

I can't update ffmpeg and dependant packages due to dependencies breaking.

% yay -Syyu
[sudo] password for user: 
:: Synchronizing package databases...
core                            127.5 KiB   196 KiB/s 00:01 [---------------------------------] 100%
extra                             8.4 MiB  7.86 MiB/s 00:01 [---------------------------------] 100%
multilib                        130.3 KiB   587 KiB/s 00:00 [---------------------------------] 100%
:: Searching AUR for updates...
:: Searching databases for updates...
 -> Packages not in AUR: [...]
 -> Missing AUR Debug Packages: [...]
 -> Orphan (unmaintained) AUR Packages: [...]
 -> Flagged Out Of Date AUR Packages: [...]
:: 454 packages to upgrade/install.
[...]
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
Sync Dependency (360): [...]
AUR Dependency (1): [...]
AUR Explicit (4): [...]
:: PKGBUILD up to date, skipping download: [...]
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: [...]
==> Retrieving sources...
[...]
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
[...]
:: Synchronizing package databases...
core                            127.5 KiB   828 KiB/s 00:00 [---------------------------------] 100%
extra                             8.4 MiB  17.9 MiB/s 00:00 [---------------------------------] 100%
multilib                        130.3 KiB   869 KiB/s 00:00 [---------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing ffmpeg (2:9.0-5) breaks dependency 'libavcodec.so=62-64' required by freerdp2
:: installing ffmpeg (2:9.0-5) breaks dependency 'libavutil.so=60-64' required by freerdp2
:: installing ffmpeg (2:9.0-5) breaks dependency 'libswresample.so=6-64' required by freerdp2
:: installing ffmpeg (2:9.0-5) breaks dependency 'libswscale.so=9-64' required by freerdp2
 -> error installing repo packages
yay -Syyu  6.55s user 7.61s system 57% cpu 24.632 total

I'm clueless about how to resolve this issue. Do you have any ideas?

Cheers,

EDIT : replaced output with full system upgrade

Last edited by tinh (2026-08-13 13:44:42)

Offline

#2 2026-08-12 13:32:03

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,300

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

Don't do partial upgrades and fully update your system.

Offline

#3 2026-08-12 13:55:45

tinh
Member
From: France
Registered: 2012-12-16
Posts: 42
Website

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

Sure. I'm doing it that way, and I have this issue.

Thought it would be better to not flood the post with all the packages and all (but I added confusion, so I updated my post...)

Last edited by tinh (2026-08-12 14:04:08)

Offline

#4 2026-08-12 14:14:23

mithrial
Member
Registered: 2017-03-05
Posts: 162

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

Freerdp is an AUR package, so it needs updating. Update your system first, then any AUR packages.

If some AUR packages are offending, remove them first, then update the system, and then try to reinstall/rebuild the AUR packages. The AUR comments recommend using extra/ freerdp instead of that package.

Here, you exclude packages, hence producing a system that is in a partial upgrade state. I do not understand the sentence that it will cause partial upgrade. Excluding packages from updating is the definition of a partial upgrade state.

 -> Excluding packages may cause partial upgrades and break systems

Last edited by mithrial (2026-08-12 14:16:01)

Offline

#5 2026-08-12 14:22:52

headkase
Member
Registered: 2011-12-06
Posts: 1,988

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

Using "-Syyu" can sometimes leave your system partially upgraded, as has been stated, and is something you never want to do.  Use "-Syu" always, never "-Syyu", search the forums for the details or keep doing what you're doing and eventually you'll have problems and also have no clue why.

Offline

#6 2026-08-12 14:26:32

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,636
Website

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2026-08-12 15:02:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,503
Website

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

headkase wrote:

Using "-Syyu" can sometimes leave your system partially upgraded

Can you elaborate on or provide evidence for that?  Forcing the refresh can needlessly download a file and is not a good habit as if everyone did it it could have some negative impact on the mirror servers, but otherwise it is completely harmless.  It cannot result in a partial upgrade.

But commenting on the use of an extra 'y' flag without commenting on not even using pacman is quite odd.

Conflating system upgrades with aur packages by using yay is the problem here.  There is no partial upgrade, just an issue with an AUR package that needs to be handled properly.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2026-08-12 15:15:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,493

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

@mithrial already pointed out the AUR problem

but otherwise it is completely harmless

A bogus mirror can downgrade the database or completely shred it.
This could in theory indeed result in a partial upgrade (or rather downgrade) by installing packages older than your latest update (ie. you can end up w/ a dependency newer and ABI incompatible w/ the consumer you just installed) which is why https://wiki.archlinux.org/title/Arch_L … cific_date has you do -yyuu

It is overall an extremely bad pattern that constantly shows up and get regurgitated and should always be called out.
It's almost as bad as "-Suy" wink

Online

#9 2026-08-12 15:22:13

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,300

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

Trilby wrote:
headkase wrote:

Using "-Syyu" can sometimes leave your system partially upgraded

Conflating system upgrades with aur packages by using yay is the problem here.  There is no partial upgrade, just an issue with an AUR package that needs to be handled properly.

It was a partial upgrade issue in the OP's original post, before they edited it.

Offline

#10 2026-08-13 13:21:28

tinh
Member
From: France
Registered: 2012-12-16
Posts: 42
Website

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

mithrial wrote:

Freerdp is an AUR package, so it needs updating. Update your system first, then any AUR packages.

That's what I did. Thank you very much.

Last edited by tinh (2026-08-13 13:44:20)

Offline

#11 2026-08-14 20:13:40

headkase
Member
Registered: 2011-12-06
Posts: 1,988

Re: [SOLVED] dependencies breaking ffmpeg 2:9.0-5

Trilby wrote:
headkase wrote:

Using "-Syyu" can sometimes leave your system partially upgraded

Can you elaborate on or provide evidence for that?  Forcing the refresh can needlessly download a file and is not a good habit as if everyone did it it could have some negative impact on the mirror servers, but otherwise it is completely harmless.  It cannot result in a partial upgrade.

But commenting on the use of an extra 'y' flag without commenting on not even using pacman is quite odd.

Conflating system upgrades with aur packages by using yay is the problem here.  There is no partial upgrade, just an issue with an AUR package that needs to be handled properly.


Sure.  See: https://bbs.archlinux.org/viewtopic.php … 5#p1956105

Offline

Board footer

Powered by FluxBB