[packman] packman repo issues with openSUSE 11.0
Hans-Peter Jansen
hpj at urpla.net
Wed Oct 1 14:50:00 CEST 2008
Dear wonderful packman team,
I'm struggling to get my repos/internal update process clean for 11.0 ATM,
but unfortunately the packman repo is a real blocker at the moment. In
order to get a gripe on it, let's start with the most offending issues:
# zyp se -s libgstreamer-0_10
Lese installierte Pakete...
S | Name | Typ | Version | Architektur | Repository
--+---------------------+-------+-----------------+-------------+-----------------------
| libgstreamer-0_10 | Paket | 0.10.20-42.pm.1 | i586 | Packman-RPMs
i | libgstreamer-0_10-0 | Paket | 0.10.19-16.1 | i586 | openSUSE-11.0-FTP 11.0
See, you replace the official libgstreamer-0_10-0 package with one missing
the -0 resulting in all kinds of dependency trouble.
Next libmtp:
# zyp se -s libmtp
Lese installierte Pakete...
S | Name | Typ | Version | Architektur | Repository
--+---------------------+-------+----------------+-------------+-----------------------
i | libmtp | Paket | 0.2.6.1-16.1 | i586 | openSUSE-11.0-FTP 11.0
| libmtp-devel | Paket | 0.3.0-0.pm.5 | i586 | Packman-RPMs
| libmtp-devel | Paket | 0.2.6.1-16.1 | i586 | openSUSE-11.0-FTP 11.0
| libmtp-hal | Paket | 0.3.0-0.pm.5 | i586 | Packman-RPMs
| libmtp-tools | Paket | 0.3.0-0.pm.5 | i586 | Packman-RPMs
| libmtp6 | Paket | 0.2.2-0.pm.5 | i586 | Packman-RPMs
i | libmtp7 | Paket | 0.2.6.1-16.1 | i586 | openSUSE-11.0-FTP 11.0
v | libmtp7 | Paket | 0.2.6.1-0.pm.5 | i586 | Packman-RPMs
| libmtp8 | Paket | 0.3.0-0.pm.5 | i586 | Packman-RPMs
| libmtp8-debuginfo | Paket | 0.3.0-0.pm.5 | i586 | Packman-RPMs
| libmtp8-debugsource | Paket | 0.3.0-0.pm.5 | i586 | Packman-RPMs
Now, that package is nasty. You try to provide the distro version also,
but look, the distro version is still newer versionwise. Nasty.
Oh, well, next one:
# zyp se -s libmpeg2
Lese installierte Pakete...
S | Name | Typ | Version | Architektur | Repository
--+----------------+-------+----------------+-------------+---------------
i | libmpeg2 | Paket | 0.4.0b-23.pm.4 | i586 | (Systempakete)
| libmpeg2-0 | Paket | 0.5.1-0.pm.2 | i586 | Packman-RPMs
| libmpeg2-devel | Paket | 0.5.1-0.pm.2 | i586 | Packman-RPMs
xrated:/home/hp# rpm -qi libmpeg2
Name : libmpeg2 Relocations: (not relocatable)
Version : 0.4.0b Vendor: http://packman.links2linux.de
Release : 23.pm.4 Build Date: Mo 21 Apr 2008 20:50:22 CEST
Install Date: Do 26 Jun 2008 22:38:45 CEST Build Host: packman-bs
Group : Productivity/Multimedia/Video/Editors and Convertors Source RPM: libmpeg2-0.4.0b-23.pm.4.src.rpm
Size : 440558 License: GPL
Signature : DSA/SHA1, Mo 21 Apr 2008 20:52:02 CEST, Key ID f899f20d9a795806
Packager : Detlef Reichelt <detlef at links2linux.de>
URL : http://libmpeg2.sourceforge.net/
Summary : Ein freier MPEG-2 Videostromdecoder
Description :
libmpeg2 ist eine freie Bibliothek zum dekodieren von mpeg-2 und mpeg-1 Videostroemen.
Distribution: openSUSE 11.0 (i586)
# rpm -q --provides -p libmpeg2-0-0.5.1-0.pm.2.i586.rpm
libmpeg22_0
libmpeg2.so.0
libmpeg2convert.so.0
libmpeg2-0 = 0.5.1-0.pm.2
Hmm, looks like it's missing "Provides: libmpeg2" as well as a "Obsoletes:
libmpeg2" line. If I install libmpeg2-0 with yast, yast seems to ignore
these file conflicts:
/usr/lib/libmpeg2.so.0
/usr/lib/libmpeg2convert.so.0.0.0
# rpm -qvl libmpeg2-0 | egrep 'libmpeg2.so.0|libmpeg2convert.so.0.0.0'
lrwxrwxrwx 1 root root 17 Sep 29 23:57 /usr/lib/libmpeg2.so.0 -> libmpeg2.so.0.1.0
-rwxr-xr-x 1 root root 132408 Sep 29 23:57 /usr/lib/libmpeg2.so.0.1.0
lrwxrwxrwx 1 root root 24 Sep 29 23:57 /usr/lib/libmpeg2convert.so.0 -> libmpeg2convert.so.0.0.0
-rwxr-xr-x 1 root root 30509 Sep 29 23:57 /usr/lib/libmpeg2convert.so.0.0.0
# rpm -qvl libmpeg2 | egrep 'libmpeg2.so.0|libmpeg2convert.so.0.0.0'
lrwxrwxrwx 1 root root 17 Apr 21 20:50 /usr/lib/libmpeg2.so.0 -> libmpeg2.so.0.0.0
-rwxr-xr-x 1 root root 123745 Apr 21 20:50 /usr/lib/libmpeg2.so.0.0.0
lrwxrwxrwx 1 root root 24 Apr 21 20:50 /usr/lib/libmpeg2convert.so.0 -> libmpeg2convert.so.0.0.0
-rwxr-xr-x 1 root root 30857 Apr 21 20:50 /usr/lib/libmpeg2convert.so.0.0.0
Since /usr/lib/libmpeg2.so.0 points to two different shared libs, this
conflict isn't even funny (note to myself: file a bug report against
yast for this one).
I can resolve all issues in one or another way, since I use my instruments
rpm, zypper, yum, yast2 sw_single in creative ways, but resolving these
issues will definitely help a lot of people (including me ;-).
yum is pretty nice in detecting such issues, btw. I can provide a saner
build as to what SuSE delivers on request.
Let me know, if I can provide more infos, help, whatever.
Keep up the great work,
Pete
More information about the Packman
mailing list