[BlueOnyx:09277] Re: yum update problems

Søren Straszek straszek at gmail.com
Tue Dec 27 06:06:37 -05 2011


Hi Michael,

Thanks, but the problem remains:



/etc/yum.repos.d/sl.repo look like this:


[sl]
name=Scientific Linux $releasever - $basearch
baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
                http://ftp1.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
                http://ftp2.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
                ftp://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
#mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-base-6.txt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson

[sl-security]
name=Scientific Linux $releasever - $basearch - security updates
baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
                http://ftp1.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
                http://ftp2.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
                ftp://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
mirrorlist=http://ftp.scientificlinux.org/linux/scientific/mirrorlist/sl-security-6.txt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson


[sl-source]
name=Scientific Linux $releasever - Source
baseurl=http://ftp.scientificlinux.org/linux/scientific/$releasever/SRPMS/
                http://ftp1.scientificlinux.org/linux/scientific/$releasever/SRPMS/
                http://ftp2.scientificlinux.org/linux/scientific/$releasever/SRPMS/
                ftp://ftp.scientificlinux.org/linux/scientific/$releasever/SRPMS/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson 


giving errors like these:
Error: Package: tomcat6-admin-webapps-6.0.24-33.el6.noarch (@sl)
           Requires: tomcat6 = 6.0.24-33.el6
           Removing: tomcat6-6.0.24-33.el6.noarch (@sl)
               tomcat6 = 6.0.24-33.el6
           Updated By: tomcat6-6.0.24-35.el6_1.noarch (sl-security)
               tomcat6 = 6.0.24-35.el6_1
Error: Package: glibc-common-2.12-1.25.el6.i686 (@sl)
           Requires: glibc = 2.12-1.25.el6
           Removing: glibc-2.12-1.25.el6.i686 (@sl)
               glibc = 2.12-1.25.el6
           Updated By: glibc-2.12-1.47.el6.i686 (sl-security)
               glibc = 2.12-1.47.el6
Error: Package: tomcat6-docs-webapp-6.0.24-33.el6.noarch (@sl)
           Requires: tomcat6 = 6.0.24-33.el6
           Removing: tomcat6-6.0.24-33.el6.noarch (@sl)
               tomcat6 = 6.0.24-33.el6
           Updated By: tomcat6-6.0.24-35.el6_1.noarch (sl-security)
               tomcat6 = 6.0.24-35.el6_1
Error: Package: tomcat6-webapps-6.0.24-33.el6.noarch (@sl)
           Requires: tomcat6 = 6.0.24-33.el6
           Removing: tomcat6-6.0.24-33.el6.noarch (@sl)
               tomcat6 = 6.0.24-33.el6
           Updated By: tomcat6-6.0.24-35.el6_1.noarch (sl-security)
               tomcat6 = 6.0.24-35.el6_1
 You could try using --skip-broken to work around the problem
** Found 24 pre-existing rpmdb problem(s), 'yum check' output follows:
base-sitestats-scripts-1.0-26BX24.centos6.noarch is a duplicate with base-sitestats-scripts-1.0-26BX23.centos6.noarch
base-subdomains-capstone-2.1.0-16.centos6.noarch is a duplicate with base-subdomains-capstone-2.1.0-15.centos6.noarch
base-subdomains-glue-2.1.0-16.centos6.noarch is a duplicate with base-subdomains-glue-2.1.0-15.centos6.noarch
base-subdomains-locale-da_DK-2.1.0-16.centos6.noarch is a duplicate with base-subdomains-locale-da_DK-2.1.0-15.centos6.noarch
base-subdomains-locale-de_DE-2.1.0-16.centos6.noarch is a duplicate with base-subdomains-locale-de_DE-2.1.0-15.centos6.noarch
base-subdomains-locale-en_US-2.1.0-16.centos6.noarch is a duplicate with base-subdomains-locale-en_US-2.1.0-15.centos6.noarch
base-subdomains-locale-ja-2.1.0-16.centos6.noarch is a duplicate with base-subdomains-locale-ja-2.1.0-15.centos6.noarch
base-subdomains-ui-2.1.0-16.centos6.noarch is a duplicate with base-subdomains-ui-2.1.0-15.centos6.noarch
glibc-common-2.12-1.47.el6.i686 is a duplicate with glibc-common-2.12-1.25.el6.i686
glibc-common-2.12-1.47.el6.i686 has missing requires of glibc = ('0', '2.12', '1.47.el6')
kernel-firmware-2.6.32-131.21.1.el6.noarch is a duplicate with kernel-firmware-2.6.32-131.17.1.el6.noarch
kernel-headers-2.6.32-131.21.1.el6.i686 is a duplicate with kernel-headers-2.6.32-131.17.1.el6.i686
1:php-pear-1.9.4-4.el6.noarch is a duplicate with 1:php-pear-1.9.0-2.el6.noarch
tomcat6-admin-webapps-6.0.24-35.el6_1.noarch is a duplicate with tomcat6-admin-webapps-6.0.24-33.el6.noarch
tomcat6-admin-webapps-6.0.24-35.el6_1.noarch has missing requires of tomcat6 = ('0', '6.0.24', '35.el6_1')
tomcat6-docs-webapp-6.0.24-35.el6_1.noarch is a duplicate with tomcat6-docs-webapp-6.0.24-33.el6.noarch
tomcat6-docs-webapp-6.0.24-35.el6_1.noarch has missing requires of tomcat6 = ('0', '6.0.24', '35.el6_1')
tomcat6-el-2.1-api-6.0.24-35.el6_1.noarch is a duplicate with tomcat6-el-2.1-api-6.0.24-33.el6.noarch
tomcat6-javadoc-6.0.24-35.el6_1.noarch is a duplicate with tomcat6-javadoc-6.0.24-33.el6.noarch
tomcat6-jsp-2.1-api-6.0.24-35.el6_1.noarch is a duplicate with tomcat6-jsp-2.1-api-6.0.24-33.el6.noarch
tomcat6-lib-6.0.24-35.el6_1.noarch is a duplicate with tomcat6-lib-6.0.24-33.el6.noarch
tomcat6-servlet-2.5-api-6.0.24-35.el6_1.noarch is a duplicate with tomcat6-servlet-2.5-api-6.0.24-33.el6.noarch
tomcat6-webapps-6.0.24-35.el6_1.noarch is a duplicate with tomcat6-webapps-6.0.24-33.el6.noarch
tomcat6-webapps-6.0.24-35.el6_1.noarch has missing requires of tomcat6 = ('0', '6.0.24', '35.el6_1')



Regards

Søren








Den 27/12/2011 kl. 00.54 skrev Michael Stauber:

> Hi Søren,
> 
>> On an new 5107r installation, the fist thing i did was a yum update,
>> and i got these errors:
>> 
>> --> Finished Dependency Resolution
>> Error: Package: tomcat6-admin-webapps-6.0.24-33.el6.noarch (@sl)
>>           Requires: tomcat6 = 6.0.24-33.el6
>>           Removing: tomcat6-6.0.24-33.el6.noarch (@sl)
>>               tomcat6 = 6.0.24-33.el6
>>           Updated By: tomcat6-6.0.24-35.el6_1.noarch (sl-security)
>>               tomcat6 = 6.0.24-35.el6_1
> 
> Edit /etc/yum.repos.d/sl.repo, activate the "sl-security" repository 
> and run a "yum update" again. That will fix it.
> 
> The CD was rolled up with the "sl-security" repository enabled. So you 
> now have a few newer libraries installed than present on the "normal" SL 
> repository. Which then causes conflicts. You can leave the "sl-security" 
> repository enabled. When I get back from my holiday, I'll make it a 
> default in BX that "sl-security" is enabled.
> 
> Regards,
> 
> Michael
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list