[Pulp-list] yum update to pulp server fail - [Errno -1] Package does not match intended download.

Paul Jochum paul.jochum at alcatel-lucent.com
Mon Dec 30 16:58:39 UTC 2013


Hi All:

     I have a working pulp server (pulp version 2.3.1-1), on which I 
sync a number of RHEL 5 and 6 repos.  The system has been working fine 
for a while, but about 3 weeks ago, yum updates to that pulp server 
started failing (i.e. another server using the pulp server as the repo, 
not yum updates on the pulp server itself).  The yum updates fail with 
the following message:

https://lss-pulp01.ih.lucent.com/pulp/repos/content/dist/rhel/server/6/6Server/x86_64/os/udev-147-2.51.el6.x86_64.rpm: 
[Errno -1] Package does not match intended download. Suggestion: run yum 
--enablerepo=ALU_rhel6_x86_64 clean metadata
Trying other mirror.

I have tried the yum clean metadata as suggested, but it does not seem 
to help.  This repo is the only one enabled in the /etc/yum.repos.d 
directory (the file is included below).

Does anyone have any suggestions on how to clean this up?  Note, if I 
just rsync one of the updates from the pulp server to the server I am 
trying to update, I can update the copy file.

thanks,

Paul

The files /etc/yum.repos.d/ directory:
[root at lss-yum-test pluginconf.d]# cd /etc/yum.repos.d
[root at lss-yum-test yum.repos.d]# ls
alu.repo  rhel-source.repo
[root at lss-yum-test yum.repos.d]# cat alu.repo
[ALU_rhel6_x86_64]
name="ALU rhel6 x86_64 server"
enabled=1
baseurl=https://lss-pulp01.ih.lucent.com/pulp/repos/content/dist/rhel/server/6/6Server/x86_64/os
gpgcheck=0
sslverify=False
[root at lss-yum-test yum.repos.d]# cat rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-source-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root at lss-yum-test yum.repos.d]#




Below is a sample of trying to perform an update on an individual 
package.  This is being performed on a new KVM RHEL 6.4 machine.

[root at lss-yum-test ~]# yum update udev
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You 
can use subscription-manager to register.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package udev.x86_64 0:147-2.46.el6 will be updated
---> Package udev.x86_64 0:147-2.51.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
  Package     Arch          Version Repository               Size
================================================================================
Updating:
  udev        x86_64        147-2.51.el6 ALU_rhel6_x86_64        348 k

Transaction Summary
================================================================================
Upgrade       1 Package(s)

Total download size: 348 k
Is this ok [y/N]: y
Downloading Packages:
udev-147-2.51.el6.x86_64.rpm                             | 348 kB     00:00
https://lss-pulp01.ih.lucent.com/pulp/repos/content/dist/rhel/server/6/6Server/x86_64/os/udev-147-2.51.el6.x86_64.rpm: 
[Errno -1] Package does not match intended download. Suggestion: run yum 
--enablerepo=ALU_rhel6_x86_64 clean metadata
Trying other mirror.


Error Downloading Packages:
   udev-147-2.51.el6.x86_64: failure: udev-147-2.51.el6.x86_64.rpm from 
ALU_rhel6_x86_64: [Errno 256] No more mirrors to try.





More information about the Pulp-list mailing list