RedHat MisMatch MD5
regio2919 de Febrero de 2014
275 Palabras (2 Páginas)387 Visitas
( Updated April 3 2013 at 7:22 AM
While installing packages on client system registered to RHUI,
it fails with "[Errno -1] Package does not match intended
download"
0 Issue
• While installing packages on client system registered to RHUI, it fails with "[Errno -1] Package does not match intended download"
# yum groupinstall "X Window System"
Is this ok [y/N]: y
Downloading Packages:
xorg-x11-drv-modesetting-.5.0-1.el6.x86_64.rpm | 21 kB 00:00
https://cds01.example.com/pulp/repos///content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorgx11-
drv-modesetting-0.5.0-1.el6.x86_64.rpm: [Errno -1] Package does not match intended download.
Suggestion: run yum --enablerepo=rhui-rhel-6-server-rhui-rpms clean metadata
Trying other mirror.
Environment
• Red Hat Update Infrastructure (RHUI)
, Resolution
• Step 1 : Confirm md5sum of package on RHUA and all CDS servers
# md5sum /path/to/package
Eg:
# md5sum /var/lib/pulp/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorg-x11-drvmodesetting-
0.5.0-1.el6.x86_64.rpm
# md5sum /var/lib/pulp-cds/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorg-x11-
drv-modesetting-0.5.0-1.el6.x86_64.rpm
• Step 2 : If md5sum is not matching for packages on CDS server with packages on RHUA server then delete package and its soft link from CDS
server
# mv /path/to/package /tmp/
Eg:
# mv /var/lib/pulp-cds/packages/xorg-x11-drv-modesetting/0.5.0/1.el6/x86_64/e87/xorg-x11-drvmodesetting-
0.5.0-1.el6.x86_64.rpm /var/tmp/
# mv /var/lib/pulp-cds/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorg-x11-drvmodesetting-
0.5.0-1.el6.x86_64.rpm /tmp/
• Step 3 : On RHUA server using rhui-manager sync CDS server
# rhui-manager
s ( synchronization status and scheduling ) -> sc ( sync an individual CDS immediately ) -> Select CDS
While installing packages on client system registered to RHUI, it fails with "[Errno -1... Page 1 of 2
https://access.redhat.com/site/solutions/342823 12/20/2013
Copyright © 2013 Red Hat, Inc.
Product(s) Red Hat Update Infrastructure Tags rhui
server and sync it.
• Step 4 : Confirm whether package got synced on CDS or not and its soft link is proper or not.
# ls -l /path/to/package
Eg:
# ls -l /var/lib/pulp-cds/packages/xorg-x11-drv-modesetting/0.5.0/1.el6/x86_64/e87/xorg-x11-drvmodesetting-
0.5.0-1.el6.x86_64.rpm
# ls -l /var/lib/pulp-cds/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorg-x11-
drv-modesetting-0.5.0-1.el6.x86_64.rpm
• Now try to update client system and confirm whether it works.
Root Cause
• md5sum of package was not matching on RHUA and CDS server
# md5sum /var/lib/pulp/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorg-x11-drvmodesetting-
0.5.0-1.el6.x86_64.rpm
bb2fec2ba3d2d38ed90f57e84bcc52f6 /var/lib/pulp/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorgx11-
drv-modesetting-0.5.0-1.el6.x86_64.rpm
# md5sum /var/lib/pulp-cds/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorg-x11-drvmodesetting-
0.5.0-1.el6.x86_64.rpm
3c1725baf1ad659c291a97ce472ba788 /var/lib/pulpcds/
repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/Packages/xorg-x11-drvmodesetting-
0.5.0-1.el6.x86_64.rpm
Comments
While installing packages on client system registered to RHUI, it fails with "[Errno -1... Page 2 of 2
https://access.redhat.com/site/solutions/342823
...