How to fix broken symlinks issue of rpm in Red Hat Satellite 6.3?

Solution Verified - Updated -

Issue

  • /var/lib/pulp/published/yum/https/repos/organization/Library/content/dist/rhel/server/6/6Server/x86_64/os/Packages/f path shows broken symlink of RPM on Satellite.
# cd /var/lib/pulp/published/yum/https/repos/Redhat/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/Packages  
# ls
a  b  c  d  e  f  g  k  l  o  p  r  s  w
# cd /var/lib/pulp/published/yum/https/repos/redhat/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/Packages/f   
# ls -l
total 0
lrwxrwxrwx. 1 apache apache 129 Jul 11 23:01 flannel-0.2.0-10.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/5e/20afdaaf37db584/flannel-0.2.0-10.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 128 Jul 11 23:01 flannel-0.2.0-6.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/7f/02dc761ca7c21aa9b/flannel-0.2.0-6.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 128 Jul 11 23:01 flannel-0.2.0-7.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/99/690a95a2241aa57/flannel-0.2.0-7.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 128 Jul 11 23:01 flannel-0.5.3-8.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/97/7031c3e16167a69d/flannel-0.5.3-8.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 128 Jul 11 23:01 flannel-0.5.3-9.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/87/00b75554c3546f6/flannel-0.5.3-9.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 128 Jul 11 23:01 flannel-0.5.5-1.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/8b/c32b44a16f1a12588/flannel-0.5.5-1.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 128 Jul 11 23:01 flannel-0.5.5-2.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/40/d2c2956db735167/flannel-0.5.5-2.el7.x86_64.rpm
lrwxrwxrwx. 1 apache apache 128 Jul 11 23:01 flannel-0.7.0-1.el7.x86_64.rpm -> /var/lib/pulp/content/units/rpm/bd/9ac0c97d1f32bcb1fe/flannel-0.7.0-1.el7.x86_64.rpm
  • While accessing the RPM file gives error as following:
# ls -l /var/lib/pulp/content/units/rpm/7f/02dc761ca7c21aa9b32bc3c4f71168d97c/flannel-0.2.0-6.el7.x86_64.rpm
ls: cannot access /var/lib/pulp/content/units/rpm/7f/02dc761ca7c21aa9b32bc3c4f71168d97/flannel-0.2.0-6.el7.x86_64.rpm: No such file or directory

Environment

  • Red Hat Satellite 6.3.z.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In