poldek, rpm, --requires: błąd?
Michal Kochanowicz
michal w michal.waw.pl
Sob, 27 Lip 2002, 10:09:35 CEST
Hej
Dodałem do kdebase:
Requires: kdelibs >= %{version}
Efekt:
[root w wieszak tmp]# rpm -q kdebase --requires | g kdelibs
kdelibs >= 3.0.2
kdelibs
[root w wieszak tmp]#
poldek reaguje na to tak:
kdebase-3.0.2-4.7 marks kdelibs-2.2.2-8 (cap kdelibs)
przy instalowaniu z dwoma źródłami, jednym KDE3-Pack, drugim Ra.
Nie wiem gdzie tu jest błąd. Czy RPM nie powinien wygenerować tylko
jednej zależności od kdelibs? A może poldek powinine użyć tylko tej
bardziej precyzyjnej?
Powyższe powoduje, że na systemie bez KDE poldek -i kdebase kończy się
tak:
Loading /mnt/PLD/RPMS/packages.dir.gz...
Loading ftp://blysk.ds.pg.gda.pl/linux/KDE3-Pack/packages.dir.gz...
4733 packages read
Removed 18 duplicate packages from available set
mark kdebase-3.0.2-4.7
Processing dependencies...
kdebase-3.0.2-4.7 marks glibc-2.2.5-17 (cap /sbin/ldconfig)
glibc-2.2.5-17 marks basesystem-1.0-7 (cap basesystem)
basesystem-1.0-7 marks FHS-2.1-25 (cap FHS)
FHS-2.1-25 marks setup-2.4.1-2 (cap setup)
basesystem-1.0-7 marks dev-2.8.0-25 (cap dev)
kdebase-3.0.2-4.7 marks XFree86-4.2.0-3 (cap /usr/X11R6/bin/mkfontdir)
XFree86-4.2.0-3 marks XFree86-libs-4.2.0-3 (cap XFree86-libs)
XFree86-libs-4.2.0-3 marks XFree86-common-4.2.0-3 (cap XFree86-common = 4.2.0)
XFree86-libs-4.2.0-3 marks freetype-2.1.2-1 (cap freetype)
XFree86-libs-4.2.0-3 marks grep-2.5.1-4 (cap grep)
XFree86-4.2.0-3 marks ncurses-5.2-31 (cap libncurses.so.5)
XFree86-4.2.0-3 marks utempter-0.5.2-9 (cap libutempter.so.0)
utempter-0.5.2-9 marks SysVinit-2.84-4 (cap SysVinit >= 2.76-14)
SysVinit-2.84-4 marks mawk-1.3.3-26 (cap /bin/awk)
SysVinit-2.84-4 marks fileutils-4.1-11 (cap fileutils)
SysVinit-2.84-4 marks login-2.11t-3 (cap login)
login-2.11t-3 marks pam-0.75.8-1 (cap libpam.so.0)
pam-0.75.8-1 marks cracklib-2.7-16 (cap cracklib)
pam-0.75.8-1 marks cracklib-dicts-2.7-16 (cap cracklib-dicts)
pam-0.75.8-1 marks db3-3.1.17-10 (cap db3)
pam-0.75.8-1 marks make-3.79.1-13 (cap make)
SysVinit-2.84-4 marks logrotate-3.6.5-3 (cap logrotate)
logrotate-3.6.5-3 marks mailx-8.1.1-21 (cap /bin/mail)
logrotate-3.6.5-3 marks popt-1.6.2-3 (cap libpopt.so.0)
SysVinit-2.84-4 marks mingetty-0.9.4-19 (cap mingetty)
SysVinit-2.84-4 marks shadow-4.0.0-13 (cap shadow)
XFree86-4.2.0-3 marks zlib-1.1.4-4 (cap libz.so.1)
XFree86-4.2.0-3 marks xauth-4.2.0-3 (cap xauth)
kdebase-3.0.2-4.7 marks applnk-1.5.7-1 (cap applnk)
kdebase-3.0.2-4.7 marks cdparanoia-III-libs-alpha9.8-2 (cap cdparanoia-III-libs)
kdebase-3.0.2-4.7 marks fam-libs-2.6.7-7 (cap fam-libs)
kdebase-3.0.2-4.7 marks kdelibs-2.2.2-8 (cap kdelibs)
kdelibs-2.2.2-8 marks alsa-lib-0.5.10b-2 (cap alsa-lib)
kdelibs-2.2.2-8 marks arts-2.2.2-8 (cap arts)
arts-2.2.2-8 marks audiofile-0.2.3-4 (cap audiofile)
arts-2.2.2-8 marks libstdc++-2.10.0-30 (cap libstdc++)
kdelibs-2.2.2-8 marks arts-qt-2.2.2-8 (cap arts-qt)
arts-qt-2.2.2-8 marks libjpeg-6b-20 (cap libjpeg)
arts-qt-2.2.2-8 marks libpng-1.0.14-1 (cap libpng)
arts-qt-2.2.2-8 marks qt-2.3.1-1 (cap libqt.so.2)
qt-2.3.1-1 marks XFree86-OpenGL-libs-4.2.0-3 (cap OpenGL)
XFree86-OpenGL-libs-4.2.0-3 marks XFree86-OpenGL-core-4.2.0-3 (cap XFree86-OpenGL-core)
qt-2.3.1-1 marks libmng-1.0.4-1 (cap libmng)
libmng-1.0.4-1 marks lcms-1.08-1 (cap lcms)
kdelibs-2.2.2-8 marks bzip2-1.0.2-2 (cap bzip2)
kdelibs-2.2.2-8 marks cups-lib-1.1.14-17 (cap cups-lib)
cups-lib-1.1.14-17 marks openssl-0.9.6c-1 (cap libcrypto.so.0.9.6.1)
kdelibs-2.2.2-8 marks pcre-3.9-2 (cap libpcre.so.0)
kdelibs-2.2.2-8 marks libtiff-3.5.7-1 (cap libtiff)
kdelibs-2.2.2-8 marks libxml2-2.4.23-1 (cap libxml2)
kdelibs-2.2.2-8 marks libxslt-1.0.19-1 (cap libxslt)
kdebase-3.0.2-4.7 marks konqueror-2.2.2-12 (cap konqueror)
konqueror-2.2.2-12 marks lesstif-0.93.18-3 (cap lesstif)
kdebase-3.0.2-4.7 marks kdelibs-3.0.2-1.1 (cap libDCOP.so.4)
kdelibs-3.0.2-1.1 marks arts-1.0.2-1 (cap libartsflow.so.1)
arts-1.0.2-1 marks nas-1.5-2 (cap libaudio.so.2)
nas-1.5-2 marks perl-5.6.1-46 (cap /usr/bin/perl)
perl-5.6.1-46 marks perl-Class-Fields-0.14-1 (cap perl-Class-Fields)
perl-Class-Fields-0.14-1 marks perl-Carp-Assert-0.17-6 (cap perl(Carp::Assert))
error: arts-1.0.2-1 conflicts with arts-2.2.2-8
kdelibs-3.0.2-1.1 marks qt-3.0.4-5 (cap libqt-mt.so.3)
kdelibs-3.0.2-1.1 marks arts-qt-1.0.2-1 (cap libqtmcop.so.1)
error: kdelibs-3.0.2-1.1 conflicts with kdelibs-2.2.2-8
kdebase-3.0.2-4.7 marks konqueror-3.0.2-4.7 (cap libkonq.so.4)
konqueror-3.0.2-4.7 marks arts-kde-3.0.2-1.1 (cap arts-kde)
error: konqueror-3.0.2-4.7 conflicts with konqueror-2.2.2-12
kdebase-3.0.2-4.7 marks libogg-1.0-2 (cap libogg)
kdebase-3.0.2-4.7 marks libsmbclient-2.2.5-6 (cap libsmbclient)
kdebase-3.0.2-4.7 marks libvorbis-1.0-3 (cap libvorbis)
There are 67 packages to install (66 marked by dependencies):
I kdebase-3.0.2-4.7
D arts-1.0.2-1, arts-kde-3.0.2-1.1, arts-qt-1.0.2-1, FHS-2.1-25,
D SysVinit-2.84-4, XFree86-4.2.0-3, XFree86-OpenGL-core-4.2.0-3,
D XFree86-OpenGL-libs-4.2.0-3, XFree86-common-4.2.0-3,
D XFree86-libs-4.2.0-3, alsa-lib-0.5.10b-2, applnk-1.5.7-1, arts-2.2.2-8,
D arts-qt-2.2.2-8, audiofile-0.2.3-4, basesystem-1.0-7, bzip2-1.0.2-2,
D cdparanoia-III-libs-alpha9.8-2, cracklib-2.7-16, cracklib-dicts-2.7-16,
D cups-lib-1.1.14-17, db3-3.1.17-10, dev-2.8.0-25, fam-libs-2.6.7-7,
D fileutils-4.1-11, freetype-2.1.2-1, glibc-2.2.5-17, grep-2.5.1-4,
D kdelibs-2.2.2-8, konqueror-2.2.2-12, lcms-1.08-1, lesstif-0.93.18-3,
D libjpeg-6b-20, libmng-1.0.4-1, libogg-1.0-2, libpng-1.0.14-1,
D libsmbclient-2.2.5-6, libstdc++-2.10.0-30, libtiff-3.5.7-1,
D libvorbis-1.0-3, libxml2-2.4.23-1, libxslt-1.0.19-1, login-2.11t-3,
D logrotate-3.6.5-3, mailx-8.1.1-21, make-3.79.1-13, mawk-1.3.3-26,
D mingetty-0.9.4-19, nas-1.5-2, ncurses-5.2-31, openssl-0.9.6c-1,
D pam-0.75.8-1, pcre-3.9-2, perl-5.6.1-46, perl-Carp-Assert-0.17-6,
D perl-Class-Fields-0.14-1, popt-1.6.2-3, qt-2.3.1-1, setup-2.4.1-2,
D shadow-4.0.0-13, utempter-0.5.2-9, xauth-4.2.0-3, zlib-1.1.4-4,
D kdelibs-3.0.2-1.1, konqueror-3.0.2-4.7, qt-3.0.4-5
error: 3 conflicts
Powyższe to jest przypadek ekstremalny, instalacja do chroota w którym
nie ma nic poza bazą pakietów rpm'a ;)
ATSD to po ch* nas'owi perl?
--
--= Michal Kochanowicz =--==--==BOFH==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
Więcej informacji o liście dyskusyjnej pld-devel-pl