PDA

View Full Version : How to check dependancies in yum?



xme
17th January 2005, 03:34 PM
Hi,

I'm running several servers FC2 or FC3 with yum enabled.
Today I received this mail for one of them:

Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
..Dependencies resolved
I will do the following:
[install: kernel-smp 2.6.10-1.9_FC2.i686]
[install: kernel 2.6.10-1.9_FC2.i686]
[update: rpm 4.3.1-0.4.1.i386]
[update: initscripts 7.55.2-1.i386]
[update: vim-enhanced 1:6.3.054-0.fc2.1.i386]
[update: vim-minimal 1:6.3.054-0.fc2.1.i386]
[update: rpm-devel 4.3.1-0.4.1.i386]
[update: vim-common 1:6.3.054-0.fc2.1.i386]
[update: glib2 2.4.8-1.fc2.i386]
[update: libpng-devel 2:1.2.8-1.fc2.i386]
[update: glib2-devel 2.4.8-1.fc2.i386]
[update: libtiff 3.5.7-22.fc2.i386]
[update: popt 1.9.1-0.4.1.i386]
[update: dovecot 0.99.13-3.FC2.i386]
[update: rpm-python 4.3.1-0.4.1.i386]
[update: rpm-build 4.3.1-0.4.1.i386]
[update: krb5-libs 1.3.6-1.i386]
[update: libpng 2:1.2.8-1.fc2.i386]
[update: shadow-utils 2:4.0.3-55.i386]
[update: krb5-devel 1.3.6-1.i386]
I will install/upgrade these to satisfy the dependencies:
[deps: postgresql-libs 7.4.6-1.FC2.2.i386]
[deps: postgresql 7.4.6-1.FC2.2.i386]
[deps: perl-DBD-MySQL 2.9003-4.i386]
[deps: mysql 3.23.58-9.1.i386]
[deps: perl-DBI 1.40-4.i386]
Downloading Packages
Running test transaction:

Question: yum needs to install MySQL, not needed on this box. How can I check dependencies via yum? Which package requires it?

andreac
17th January 2005, 04:22 PM
Yum wants to install mysql client libraries, not server part. I think that perl-DBI package requires mysql client rpm.

xme
17th January 2005, 04:25 PM
Yum wants to install mysql client libraries, not server part. I think that perl-DBI package requires mysql client rpm.

That's right! But which other packages in the list of upgraded ones, require perl-DBI...

andreac
17th January 2005, 04:34 PM
I think it's dovecot.