Hi there

We're having an awful time with Yum and new RHEL 5.2 builds.

Repeated invocations of "yum install httpd" has one of several outcomes, seemingly at random:

* Error: failed to retrieve repodata/filelists.xml.gz from rhel-x86_64- server-5
  error was [Errno -1] Metadata file does not match checksum

* a prompt to install the RHEL 5.2 httpd package and its dependencies (libapr, etc) -- ie, success

* yum deciding to install our own custom httpd package (called nol- httpd) from our own repo. This package also depends on (RedHat) libapr but these dependencies aren't satisfied:

Loading "rhnplugin" plugin
Loading "priorities" plugin
Loading "basearchonly" plugin
rhel-x86_64-server-5 100% |=========================| 1.4 kB 00:00 primary.xml.gz 100% |=========================| 137 B 00:00
8 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package nol-httpd.x86_64 0:2.2.9-2.nol set to be updated
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: nol- httpd
--> Processing Dependency: libapr-1.so.0()(64bit) for package: nol-httpd
--> Finished Dependency Resolution
Error: Missing Dependency: libaprutil-1.so.0()(64bit) is needed by package nol-httpd Error: Missing Dependency: libapr-1.so.0()(64bit) is needed by package nol-httpd

this suggests yum isn't looking at or can't get to the RHEL repo -- we don't have in-house versions of libapr.


Our yum setup is as follows:

* stock RHN configuration
* yum-priorities plugin
* yum-basearchonly plugin
* additional repos:

[nol-ls-production]
name=NOL Livesite software for RHEL 5 ($basearch)
baseurl=http://repohost/repo/rhel/5/$basearch/
enabled=1
gpgcheck=0
priority=1

[epel]
name=Extra Packages for Enterprise Linux 5 - $basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch
enabled=1
gpgcheck=1
failovermethod=priority
priority=99

Additionally, we have to use a Squid cache to get access to the outside world. /etc/sysconfig/rhn/up2date is configured to use this, as is /etc/yum.conf (which is otherwise stock). Squid is configured not to cache anything ("cache deny all"). The Squid access logs show TCP_MISS for any yum-related requests and a lot of CONNECT requests for xmlrpc.redhat.com. We don't have a RHN satellite.

"yum clean all", "rm -rf /var/cache/yum/*" seem to make no difference; consecutive runs of "yum install <anything>" results in one of the 3 above outcomes.

Could there be something up with RHN? There doesn't seem to be anything on the rhn-outage list. Any other ideas? We're tearing our hair out and have another 80 or so servers to build over the next week or two.

Suggestions very gratefully received!

Thanks,

--

Mark Drayton
Live Site Systems Administrator
BBC FM&T J :: BC3 A4, (02) 80914

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to