Mailinglist Archive: opensuse-de (971 mails)

< Previous Next >
Re: Mit zypper dup auf 12.1 RC1?

Hallo,

On Nov 5 00:08 David Haller wrote (excerpt):
Am Fri, 04 Nov 2011, Johannes Meixner schrieb:
...
Nur zur Info dazu aus einer anderen Mail von mir:
Note that stuff like "rpm -q --whatrequires <something>"
does not show all package dependencies because this shows
only the dependencies regarding the exact RPM
capability <something>.
[..]
Only "rpm -e --test <package>" shows you all other packages
which depend on package.
...
Vergleiche also mal bei dir:

$ rpm -q --provides cdrkit-cdrtools-compat | cut -d' ' -f1 | \
xargs rpm -q --whatrequires | sort -u

----------------------------------------------------------------------------
# rpm -e --test cdrkit-cdrtools-compat
error: Failed dependencies:
cdrecord is needed by (installed) nautilus-cd-burner-2.25.3-3.1.179.i586
mkisofs is needed by (installed) zisofs-tools-1.0.6-138.22.i586
/usr/bin/cdrecord is needed by (installed) k3b-1.0.5-48.32.32.i586
/usr/bin/mkisofs is needed by (installed) k3b-1.0.5-48.32.32.i586
/usr/bin/mkisofs is needed by (installed) rear-SUSE-0.1.beta7-0.5.1.noarch

# rpm -q --provides cdrkit-cdrtools-compat | cut -d' ' -f1 \
| xargs rpm -q --whatrequires | sort -u
nautilus-cd-burner-2.25.3-3.1.179
no package requires cdda2wav
no package requires cdrkit-cdrtools-compat
zisofs-tools-1.0.6-138.22

# rpm -q --provides cdrkit-cdrtools-compat
cdrecord
cdda2wav
mkisofs
cdrkit-cdrtools-compat = 1.1.8-3.25
----------------------------------------------------------------------------

cdrkit-cdrtools-compat "provides" exakt "mkisofs" und "cdrecord", aber k3b
und rear-SUSE brauchen es als "/usr/bin/mkisofs" und "/usr/bin/cdrecord",
sodass der Vergleich von Zeichenketten via "provides" und "whatrequires"
nicht klappt.

Nach vielen Tests und Herumprobieren ist bisher rausgekommen, dass nur
"rpm -e --test <package>" alle von "package" abhängigen Pakete anzeigt,
weil anscheinend "rpm -e --test <package>" nicht nur Strings vergleicht.


Gruß
Johannes Meixner
--
SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer
< Previous Next >