You are not logged in.

#1 2018-03-09 20:54:27

megafreakshow
Member
Registered: 2018-03-09
Posts: 19

[Solved] Cannot update ffmpeg

Running "pacman -Syu" today I could not upgrade ffmpeg

warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"

pacman offers me to skip this upgrade.
Anyone else has this issue?

Last edited by megafreakshow (2018-03-12 07:56:26)

Offline

#2 2018-03-10 01:12:25

starfry
Member
Registered: 2017-11-14
Posts: 3

Re: [Solved] Cannot update ffmpeg

I got the same error, actually a lot of errors just trying an upgrade:

:: Starting full system upgrade...
:: Replace compositeproto with extra/xorgproto? [Y/n]
:: Replace damageproto with extra/xorgproto? [Y/n]
:: Replace dmxproto with extra/xorgproto? [Y/n]
:: Replace fixesproto with extra/xorgproto? [Y/n]
:: Replace fontsproto with extra/xorgproto? [Y/n]
:: Replace inputproto with extra/xorgproto? [Y/n]
:: Replace kbproto with extra/xorgproto? [Y/n]
:: Replace randrproto with extra/xorgproto? [Y/n]
:: Replace recordproto with extra/xorgproto? [Y/n]
:: Replace renderproto with extra/xorgproto? [Y/n]
:: Replace scrnsaverproto with extra/xorgproto? [Y/n]
:: Replace videoproto with extra/xorgproto? [Y/n]
:: Replace xextproto with extra/xorgproto? [Y/n]
:: Replace xf86dgaproto with extra/xorgproto? [Y/n]
:: Replace xf86vidmodeproto with extra/xorgproto? [Y/n]
:: Replace xineramaproto with extra/xorgproto? [Y/n]
:: Replace xproto with extra/xorgproto? [Y/n]
resolving dependencies...
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg2.8"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg2.8"
:: The following packages cannot be upgraded due to unresolvable dependencies:
      ffmpeg  ffmpeg2.8

:: Do you want to skip the above packages for this upgrade? [y/N] y
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: libxfont: removing fontsproto breaks dependency 'fontsproto>=2.1.3'

Not sure what to do now...

Offline

#3 2018-03-10 03:44:19

max
Member
Registered: 2018-03-10
Posts: 1

Re: [Solved] Cannot update ffmpeg

I am seeing this also. And it breaks Firefox.

Downgrading to the previous version works around that.

$ ls /var/cache/pacman/pkg | grep firefox
firefox-56.0.2-1-i686.pkg.tar.xz
firefox-57.0.2-1.0-i686.pkg.tar.xz
firefox-57.0-2-i686.pkg.tar.xz
firefox-57.0.4-1.0-i686.pkg.tar.xz
firefox-58.0.1-1.0-i686.pkg.tar.xz
firefox-58.0.2-1.0-i686.pkg.tar.xz
$ sudo pacman -U /var/cache/pacman/pkg/firefox-58.0.1-1.0-i686.pkg.tar.xz 

Offline

#4 2018-03-10 10:06:50

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 823
Website

Re: [Solved] Cannot update ffmpeg

There are multiple issues currently:
- libxfont has to be deleted to allow the xxxproto to xorgproto transition (nothing should really depend on libxfont)
- local ffmpeg issues in Chromium currently block a ffmpeg upgrade
- /usr/lib/libvpx.so.4 to /usr/lib/libvpx.so.5 major release change got lost (missing update of libvpx), at least firefox
  is affected and wont start.
- vlc (and if fact everything depending on ffmpeg) want work after an upgrade

Offline

#5 2018-03-10 10:43:29

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 823
Website

Re: [Solved] Cannot update ffmpeg

Possible workaround for now:

pacman -Syyu
# get libvpx-1.7.0-1.0-i686.pkg.tar.xz from testing
bsdtar xvf libvpx-1.7.0-1.0-i686.pkg.tar.xz usr/lib/libvpx.so.5*

Everything is working this way. Just when upgrading libvpx we have to make sure to remove /usr/lib/libvpx.so.5* before installing.

Offline

#6 2018-03-10 12:12:43

becoming_i
Member
From: Athens
Registered: 2018-03-10
Posts: 10
Website

Re: [Solved] Cannot update ffmpeg

Just to be clear.

Does The workaround fix the sound and not the update issue?. I don't have any problems with the sound but the problem persists even with the suggested workaround.

sudo pacman -Syyu
[sudo] password for becoming_i: 
:: Synchronizing package databases...
 core                     175.1 KiB   324K/s 00:01 [######################] 100%
 extra                      2.2 MiB   592K/s 00:04 [######################] 100%
 community                  4.7 MiB   674K/s 00:07 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg2.8"
:: The following packages cannot be upgraded due to unresolvable dependencies:
      ffmpeg  ffmpeg2.8

:: Do you want to skip the above packages for this upgrade? [y/N] n
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg: requires libvpx.so=5-32

Extracted the testing package

bsdtar xvf libvpx-1.7.0-1.0-i686.pkg.tar.xz usr/lib/libvpx.so.5*
x usr/lib/libvpx.so.5
x usr/lib/libvpx.so.5.0.0
x usr/lib/libvpx.so.5.0

and again...

sudo pacman -Syyu
:: Synchronizing package databases...

 core                                               175.1 KiB   313K/s 00:01 [###########################################] 100%
 extra                                                2.2 MiB   605K/s 00:04 [###########################################] 100%
 community                                            4.7 MiB   720K/s 00:07 [###########################################] 100%
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg"
warning: cannot resolve "libvpx.so=5-32", a dependency of "ffmpeg2.8"
:: The following packages cannot be upgraded due to unresolvable dependencies:
      ffmpeg  ffmpeg2.8

:: Do you want to skip the above packages for this upgrade? [y/N] n
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg: requires libvpx.so=5-32
:: ffmpeg2.8: requires libvpx.so=5-32

Offline

#7 2018-03-10 12:41:10

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 823
Website

Re: [Solved] Cannot update ffmpeg

Unpacking usr/lib/libvpx.so.5* makes newer packages find the library and make them work.
Updating works but for ffmpeg (because it misses a package dependency and cannot be
tamed by just copying the library there).

It's a workaround to make your firefox, seamonkey, vlc work again and it's temporary.

The proper solution will be to push the correct ffmpeg, libvpx versions of packages.

Offline

#8 2018-03-10 12:49:13

becoming_i
Member
From: Athens
Registered: 2018-03-10
Posts: 10
Website

Re: [Solved] Cannot update ffmpeg

andreas_baumann wrote:

The proper solution will be to push the correct ffmpeg, libvpx versions of packages.

So we wait for the new update to arrive smile

Offline

#9 2018-03-10 19:15:08

WyRe
Member
Registered: 2018-03-03
Posts: 19

Re: [Solved] Cannot update ffmpeg

I've upgraded the system ignoring ffmpeg, could be this an issue in the future? or you will fix the ffmpeg package?

Offline

#10 2018-03-10 19:37:16

becoming_i
Member
From: Athens
Registered: 2018-03-10
Posts: 10
Website

Re: [Solved] Cannot update ffmpeg

WyRe wrote:

I've upgraded the system ignoring ffmpeg, could be this an issue in the future? or you will fix the ffmpeg package?

I did exactly the same. They will fix it eventually.

Offline

#11 2018-03-12 06:45:37

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 608

Re: [Solved] Cannot update ffmpeg

libvpx is now in extra, which should make ffmpeg upgradable, but will break chromium hmm

Offline

#12 2018-03-12 07:55:50

megafreakshow
Member
Registered: 2018-03-09
Posts: 19

Re: [Solved] Cannot update ffmpeg

Can confirm ffmpeg upgrades just fine now. And since I don't use chromium I have no issues.

Offline

#13 2018-03-15 11:14:54

starfry
Member
Registered: 2017-11-14
Posts: 3

Re: [Solved] Cannot update ffmpeg

I've just upgraded successfully. I had to remove libxfont as described above. There were no dependencies, so I am not sure if its removal is a problem, or if I should reinstall it. Audio and video appear to work fine - quick test with VLC.

Offline

Board footer

Powered by FluxBB