Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

Empty 'required by' message when dependency provided by other package #39

Closed
diffycat opened this issue Jun 21, 2014 · 6 comments
Closed

Comments

@diffycat
Copy link

E.g. I want to update skype and it has new dependency, lib32-pulseaudio:

==> Software upgrade (new version) :
multilib/skype            4.2.0.13-4 -> 4.3.0.37-1

==> New package :
multilib/lib32-json-c     0.12-1     (required by lib32-libpulse)
multilib/lib32-libasyncns 0.8-6      (required by lib32-libpulse)
multilib/lib32-libcap     2.24-1     (required by lib32-libpulse)
multilib/lib32-libxtst    1.2.2-1    (required by lib32-libpulse)
multilib/lib32-libogg     1.3.1-1    (required by lib32-flac)
multilib/lib32-flac       1.3.0-1    (required by lib32-libsndfile)
multilib/lib32-libvorbis  1.3.4-1    (required by lib32-libsndfile)
multilib/lib32-libsndfile 1.0.25-2   (required by lib32-libpulse)
multilib/lib32-libpulse   5.0-1      (required by -)

The thing is that repository doesn't contains lib32-pulseaudio, but it has lib32-libpulse which provides that package.

@ghost
Copy link

ghost commented Jul 20, 2015

Got the same issue this morning :
==> New package :
extra/l-smash 2.3.0-2 (required by -)

Thanks,

Arnaud

@larchunix
Copy link
Collaborator

yaourt uses package-query to find reverse dependencies.

$ package-query -S --qdepends -f %n l-smash

$ package-query -S --qdepends -f %n liblsmash.so
x264
vapoursynth-plugin-lsmashsource

IMHO this issue should be fixed in package-query, not in yaourt.

@f2404
Copy link
Collaborator

f2404 commented Nov 3, 2015

Hi,
Looks like I've encountered this issue with vid.stab today, when updating ffmpeg.
Now, vid.stab is said to be required by ffmpeg; but ffmpeg is not having vid.stab among its dependencies.
How do you think this should be handled by package-query?

$ yaourt -Qi vid.stab
Required By    : ffmpeg
$ yaourt -Qi ffmpeg
Depends On     : alsa-lib  bzip2  fontconfig  fribidi  gnutls  gsm  lame  libass  libbluray  libmodplug  libpulse  libsoxr  libssh  libtheora  libva
                 libvdpau  libwebp  opencore-amr  openjpeg  opus  schroedinger  sdl  speex  v4l-utils  xvidcore  zlib  libvidstab.so=1.1-64
                 libvorbis.so=0-64  libvorbisenc.so=2-64  libvpx.so=2-64  libx264.so=148-64  libx265.so=68-64

@f2404
Copy link
Collaborator

f2404 commented Nov 3, 2015

Okay, it looks like ffmpeg is requiring libvidstab.so=1.1-64, and vid.stab is providing it.
So, probably package-query should improve handling of the 'provided' items as requirements...

$ yaourt -Qi vid.stab
Name           : vid.stab
Provides       : libvidstab.so=1.1-64

@f2404
Copy link
Collaborator

f2404 commented Nov 3, 2015

Actually, I think this can be resolved in yaourt. Please check my patch.

@f2404
Copy link
Collaborator

f2404 commented Nov 3, 2015

But, the package (vid.stab in my case) is still shown as explicitly installed, not as a dependency...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants