broken dependencies in SL4X for openldap

2011-04-13 Thread Andrew Elwell
Hi Folks,

I have an x86_64 box that I'm trying to install
openldap-servers.x86_64 on and its pulling in strange dependencies

ie:


# yum install openldap-servers
Loading protectbase plugin
Loading kernel-module plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
1561 packages excluded due to repository protections
Parsing package install arguments
Resolving Dependencies
-- Populating transaction set with selected packages. Please wait.
--- Package openldap-servers.x86_64 0:2.2.13-12.el4 set to be updated
-- Running transaction check
-- Processing Dependency: openldap = 2.2.13-12.el4 for package:
openldap-servers
-- Restarting Dependency Resolution with new changes.
-- Populating transaction set with selected packages. Please wait.
--- Package openldap.i386 0:2.2.13-12.el4 set to be updated
-- Running transaction check
-- Processing Dependency: libc.so.6(GLIBC_2.3.2) for package: openldap
-- Processing Dependency: libc.so.6(GLIBC_2.1.2) for package: openldap
-- Processing Dependency: libc.so.6(GLIBC_2.1) for package: openldap
-- Processing Dependency: libc.so.6 for package: openldap
-- Processing Dependency: libcrypto.so.4 for package: openldap
-- Processing Dependency: libresolv.so.2 for package: openldap
-- Processing Dependency: libresolv.so.2(GLIBC_2.2) for package: openldap
-- Processing Dependency: libc.so.6(GLIBC_2.3) for package: openldap
-- Processing Dependency: libc.so.6(GLIBC_2.0) for package: openldap
-- Processing Dependency: libssl.so.4 for package: openldap
-- Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: openldap
-- Processing Dependency: libsasl2.so.2 for package: openldap
-- Restarting Dependency Resolution with new changes.
-- Populating transaction set with selected packages. Please wait.
--- Package glibc.i686 0:2.3.4-2.43 set to be updated
--- Package openssl.i686 0:0.9.7a-43.17.el4_7.2 set to be updated
--- Package cyrus-sasl.i386 0:2.1.19-14 set to be updated
-- Running transaction check
-- Processing Dependency: libcom_err.so.2 for package: cyrus-sasl
-- Processing Dependency: libpam.so.0 for package: cyrus-sasl
-- Processing Dependency: libk5crypto.so.3 for package: cyrus-sasl
-- Processing Dependency: libkrb5.so.3 for package: openssl
-- Processing Dependency: libkrb5.so.3 for package: cyrus-sasl
-- Processing Dependency: libgssapi_krb5.so.2 for package: openssl
-- Processing Dependency: libk5crypto.so.3 for package: openssl
-- Processing Dependency: libz.so.1 for package: openssl
-- Processing Dependency: libcom_err.so.2 for package: openssl
-- Processing Dependency: libgssapi_krb5.so.2 for package: cyrus-sasl
-- Processing Dependency: libgdbm.so.2 for package: cyrus-sasl
-- Restarting Dependency Resolution with new changes.
-- Populating transaction set with selected packages. Please wait.
--- Package gdbm.i386 0:1.8.0-24 set to be updated
--- Package e2fsprogs.i386 0:1.35-12.24.el4 set to be updated
--- Package zlib.i386 0:1.2.1.2-1.2 set to be updated
--- Package pam.i386 0:0.77-66.26 set to be updated
--- Package krb5-libs.i386 0:1.3.4-62.el4 set to be updated
-- Running transaction check
-- Processing Dependency: libcrack.so.2 for package: pam
-- Processing Dependency: libselinux.so.1 for package: pam
-- Processing Dependency: libglib-2.0.so.0 for package: pam
-- Processing Dependency: libaudit.so.0 for package: pam
-- Restarting Dependency Resolution with new changes.
-- Populating transaction set with selected packages. Please wait.
--- Package cracklib.i386 0:2.8.9-1.3 set to be updated
--- Package libselinux.i386 0:1.19.1-7.4 set to be updated
--- Package glib2.i386 0:2.4.7-1 set to be updated
--- Package audit-libs.i386 0:1.0.16-4.el4 set to be updated
-- Running transaction check
-- Processing Dependency: cracklib-dicts@i386 = 2.8.9-1.3 for package: cracklib
-- Restarting Dependency Resolution with new changes.
-- Populating transaction set with selected packages. Please wait.
--- Package cracklib-dicts.i386 0:2.8.9-1.3 set to be updated
-- Running transaction check
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

=
 Package Arch   Version  RepositorySize
=
Installing:
 openldap-serversx86_64 2.2.13-12.el4sl-base   3.4 M
Installing for dependencies:
 audit-libs  i386   1.0.16-4.el4 sl-base39 k
 cracklibi386   2.8.9-1.3sl-base56 k
 cracklib-dicts  i386   2.8.9-1.3sl-base   3.6 M
 cyrus-sasl  i386   2.1.19-14sl-base   1.2 M
 e2fsprogs   i386   1.35-12.24.el4   sl-base   783 k
 gdbmi386   1.8.0-24 sl-base26 k
 glib2   i386   2.4.7-1  

Re: broken dependencies in SL4X for openldap

2011-04-13 Thread Troy Dawson

Hi,
I'm looking into this.
Your subject says SL4x.  Is that really where your yum is pointing or is 
that just generic.

Can you send the output of

rpm -qa | grep yum | sort

Thanks
Troy

On 04/13/2011 06:32 AM, Andrew Elwell wrote:

Hi Folks,

I have an x86_64 box that I'm trying to install
openldap-servers.x86_64 on and its pulling in strange dependencies

ie:


# yum install openldap-servers
Loading protectbase plugin
Loading kernel-module plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
1561 packages excluded due to repository protections
Parsing package install arguments
Resolving Dependencies
--  Populating transaction set with selected packages. Please wait.
---  Package openldap-servers.x86_64 0:2.2.13-12.el4 set to be updated
--  Running transaction check
--  Processing Dependency: openldap = 2.2.13-12.el4 for package:
openldap-servers
--  Restarting Dependency Resolution with new changes.
--  Populating transaction set with selected packages. Please wait.
---  Package openldap.i386 0:2.2.13-12.el4 set to be updated
--  Running transaction check
--  Processing Dependency: libc.so.6(GLIBC_2.3.2) for package: openldap
--  Processing Dependency: libc.so.6(GLIBC_2.1.2) for package: openldap
--  Processing Dependency: libc.so.6(GLIBC_2.1) for package: openldap
--  Processing Dependency: libc.so.6 for package: openldap
--  Processing Dependency: libcrypto.so.4 for package: openldap
--  Processing Dependency: libresolv.so.2 for package: openldap
--  Processing Dependency: libresolv.so.2(GLIBC_2.2) for package: openldap
--  Processing Dependency: libc.so.6(GLIBC_2.3) for package: openldap
--  Processing Dependency: libc.so.6(GLIBC_2.0) for package: openldap
--  Processing Dependency: libssl.so.4 for package: openldap
--  Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: openldap
--  Processing Dependency: libsasl2.so.2 for package: openldap
--  Restarting Dependency Resolution with new changes.
--  Populating transaction set with selected packages. Please wait.
---  Package glibc.i686 0:2.3.4-2.43 set to be updated
---  Package openssl.i686 0:0.9.7a-43.17.el4_7.2 set to be updated
---  Package cyrus-sasl.i386 0:2.1.19-14 set to be updated
--  Running transaction check
--  Processing Dependency: libcom_err.so.2 for package: cyrus-sasl
--  Processing Dependency: libpam.so.0 for package: cyrus-sasl
--  Processing Dependency: libk5crypto.so.3 for package: cyrus-sasl
--  Processing Dependency: libkrb5.so.3 for package: openssl
--  Processing Dependency: libkrb5.so.3 for package: cyrus-sasl
--  Processing Dependency: libgssapi_krb5.so.2 for package: openssl
--  Processing Dependency: libk5crypto.so.3 for package: openssl
--  Processing Dependency: libz.so.1 for package: openssl
--  Processing Dependency: libcom_err.so.2 for package: openssl
--  Processing Dependency: libgssapi_krb5.so.2 for package: cyrus-sasl
--  Processing Dependency: libgdbm.so.2 for package: cyrus-sasl
--  Restarting Dependency Resolution with new changes.
--  Populating transaction set with selected packages. Please wait.
---  Package gdbm.i386 0:1.8.0-24 set to be updated
---  Package e2fsprogs.i386 0:1.35-12.24.el4 set to be updated
---  Package zlib.i386 0:1.2.1.2-1.2 set to be updated
---  Package pam.i386 0:0.77-66.26 set to be updated
---  Package krb5-libs.i386 0:1.3.4-62.el4 set to be updated
--  Running transaction check
--  Processing Dependency: libcrack.so.2 for package: pam
--  Processing Dependency: libselinux.so.1 for package: pam
--  Processing Dependency: libglib-2.0.so.0 for package: pam
--  Processing Dependency: libaudit.so.0 for package: pam
--  Restarting Dependency Resolution with new changes.
--  Populating transaction set with selected packages. Please wait.
---  Package cracklib.i386 0:2.8.9-1.3 set to be updated
---  Package libselinux.i386 0:1.19.1-7.4 set to be updated
---  Package glib2.i386 0:2.4.7-1 set to be updated
---  Package audit-libs.i386 0:1.0.16-4.el4 set to be updated
--  Running transaction check
--  Processing Dependency: cracklib-dicts@i386 = 2.8.9-1.3 for package: 
cracklib
--  Restarting Dependency Resolution with new changes.
--  Populating transaction set with selected packages. Please wait.
---  Package cracklib-dicts.i386 0:2.8.9-1.3 set to be updated
--  Running transaction check
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

=
  Package Arch   Version  RepositorySize
=
Installing:
  openldap-serversx86_64 2.2.13-12.el4sl-base   3.4 M
Installing for dependencies:
  audit-libs  i386   1.0.16-4.el4 sl-base39 k
  cracklibi386   2.8.9-1.3sl-base56 k
  cracklib-dicts  i386   2.8.9-1.3

Re: broken dependencies in SL4X for openldap

2011-04-13 Thread Andrew Elwell
 Your subject says SL4x.  Is that really where your yum is pointing or is
 that just generic.

we try and follow the x versions

 Can you send the output of
 rpm -qa | grep yum | sort

[root@vtb-generic-34 ~]# rpm -qa | grep yum | sort
warning: only V3 signatures can be verified, skipping V4 signature
yum-2.4.3-10.SL.noarch
yum-conf-4x-1-8.SL.noarch
yum-protectbase-0.6-1.SL.noarch
[root@vtb-generic-34 ~]#


but of more use is the actual conf files probably:

[root@vtb-generic-34 yum.repos.d]# cat sl4x.repo sl4x-errata.repo
[sl-base]
name=SL 4 base
baseurl=http://linuxsoft.cern.ch/scientific/4x/$basearch/SL/RPMS
http://ftp.scientificlinux.org/linux/scientific/4x/$basearch/SL/RPMS/
#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-base-4x.txt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-csieh
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpolok
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl4
protect=1
[sl-errata]
name=SL 4 errata
baseurl=http://linuxsoft.cern.ch/scientific/4x/$basearch/errata/SL/RPMS/

http://ftp.scientificlinux.org/linux/scientific/4x/$basearch/errata/SL/RPMS/

http://ftp1.scientificlinux.org/linux/scientific/4x/$basearch/errata/SL/RPMS/

ftp://ftp.scientificlinux.org/linux/scientific/4x/$basearch/errata/SL/RPMS/
#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-errata-4x.txt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-csieh
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpolok
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl4
[root@vtb-generic-34 yum.repos.d]#


since we add our local mirror in


Re: broken dependencies in SL4X for openldap

2011-04-13 Thread Troy Dawson

Hello,
I'm going to trim some of this and do middle posts hope you don't mind.

...

On 04/13/2011 06:32 AM, Andrew Elwell wrote:

...

# yum install openldap-servers

...

Dependencies Resolved

=
   Package Arch   Version  RepositorySize
=
Installing:
   openldap-serversx86_64 2.2.13-12.el4sl-base   3.4 M

...

Yum should be getting openldap-servers version 2.2.13-12.el4_8.3
Do you not have your sl-security repo enabled?
If you don't, then you should enable it, and all this will clear up.

...

[root@vtb-generic-34 ~]# rpm -q openldap
openldap-2.2.13-12.el4_8.3.x86_64

...

and I can't do a straight upgrade:

[root@vtb-generic-34 ~]# rpm -Uvh
http://linuxsoft.cern.ch/scientific/4x/x86_64/SL/RPMS/openldap-2.2.13-12.el4.x86_64.rpm

...
What you call and upgrade is really a downgrade.
You need to either get the updated version of openldap-servers,
http://linuxsoft.cern.ch/scientific/4x/x86_64/errata/SL/RPMS/openldap-servers-2.2.13-12.el4_8.3.x86_64.rpm
Or, if you are really determined to downgrade, then use the correct rpm 
option to downgrade.

Troy
--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/SCF/FEF/SLSMS Group
__