You are not logged in.

#1 2022-02-04 21:48:18

xerxes_
Member
Registered: 2018-04-29
Posts: 1,033

When update have to skip some package due to dependency problems

Since few updates (about three or four, it is not written in /var/log/pacman.log) I have some dependency problem and have to skip one packege to do full system update:

:: Synchronizing package databases...
 core is up to date
 extra                                                                          1555.4 KiB  1881 KiB/s 00:01 [#################################################################] 100%
 community                                                                         6.1 MiB  3.62 MiB/s 00:02 [#################################################################] 100%
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "libx264.so=164-64", a dependency of "ffmpeg4.4"
warning: cannot resolve "ffmpeg4.4", a dependency of "hedgewars"
:: The following package cannot be upgraded due to unresolvable dependencies:
      hedgewars

:: Do you want to skip the above package for this upgrade? [y/N] 

How to resolve this?

I already have ffmpeg and x264 installed. Do I have to also install ffmpeg4.4 package?

Last edited by xerxes_ (2022-02-04 21:58:37)

Offline

#2 2022-02-04 22:17:44

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

Re: When update have to skip some package due to dependency problems

That looks like it might be a legitimate packaging bug.  Hedgewars depends on ffmpeg4.4 which in turn depends on a specific version of x264 which is currently in [staging] but not yet in [extra].  I suspect hedgewars and ffmpeg4.4 may have been pushed to the repos prematurely.  You could check whether this has been reported on the bug tracker yet, and if not you could raise it there - but I suspect it will resolve itself soon enough when the staged version of x264 gets pushed to [extra].

FWIW, attempting to install ffmpeg4.4 from the repos is sufficient to show the problem:

$ doas pacman -S ffmpeg4.4
doas (jmcclure@Think450) password: 
resolving dependencies...
warning: cannot resolve "libx264.so=164-64", a dependency of "ffmpeg4.4"
:: The following package cannot be upgraded due to unresolvable dependencies:
      ffmpeg4.4

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
 there is nothing to do

EDIT: it has already been reported: https://bugs.archlinux.org/task/73588?p … tring=x264

Last edited by Trilby (2022-02-04 22:19:56)


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

Offline

Board footer

Powered by FluxBB