RedHat MisMatch MD5
Enviado por regio29 • 19 de Febrero de 2014 • 275 Palabras (2 Páginas) • 366 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
...