Installing katello-ca-consumer-latest.noarch.rpm from Red Hat Satellite/Capsule 6 fails with ' warning: here-document at line 102 delimited by end-of-file (wanted `EOM')' error

Solution Verified - Updated -

Issue

  • When attempting to install katello-ca-consumer package on a client system registered to a Red Hat Satellite/Capsule 6.2, rpm installation fails with below error message:
[root@satellite ~]# rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
Retrieving http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:katello-ca-consumer-satellite.example################################# [100%]
/usr/bin/katello-rhsm-consumer: line 260: warning: here-document at line 102 delimited by end-of-file (wanted `EOM')
warning: %post(katello-ca-consumer-satellite.example.com-1.0-1.noarch) scriptlet failed, exit status 1

Environment

  • Red Hat Satellite 6.2
  • Red Hat Satellite Capsule
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content