19.12.2016 01:01, Wolfgang Rosenauer пишет:
Am 18.12.2016 um 17:37 schrieb Andrei Borzenkov:
18.12.2016 18:47, Wolfgang Rosenauer пишет:
during upgrade to 42.2 I found a small dependency problem which is not resolved correctly with zypper (in my opinion) but probably I missed something. (Someone else just reported the same symptom in bugzilla but closed it again because he fixed it manually.)
Hygiea:~ # rpm -q --recommends MozillaFirefox | grep avcodec libavcodec-full >= 0.10.16
Hygiea:~ # zypper search -s --provides libavcodec-full
It returns nothing here with pristine Leap repositories.
Kind of what I expected
I think here is the problem. This output suggests that both variants for those package (openSUSE and packman) provide that. But this is not the case as can be seen here:
Hygiea:~ # rpm -q --whatprovides libavcodec-full libavcodec57-3.2-6.2.x86_64
Therefore this is a typical upgrade problem when the upgrade is performed via dup and non-official repos turned off which I would consider best practice but even if the packman repo is enabled again the recommended package is not automatically being pulled.
Is this a dependency resolving bug in libzypp or did I miss something?
Most likely libavcodec-full is provided by both versions of *Packman* package, later zypper displays all packages with the same name due to _"-s" flag. What does it show without "-s"?
My guess also is that zypper reflects the result of the search to all packages with the same name
Without -s it just says: S | Name | Zusammenfassung | Typ --+--------------+----------------------+------ i | libavcodec56 | FFmpeg codec library | Paket
Hmm ... if this comes from standard repo, this looks indeed like a bug in zypper or some underlying library. I suppose nobody expected same package (name) from different repositories to have different set of provides.
i | libavcodec57 | FFmpeg codec library | Paket
Wolfgang
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org