Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

818261 - consumer rpm was not installable on RHEL5 #70

Merged
merged 1 commit into from May 3, 2012

Conversation

lzap
Copy link
Contributor

@lzap lzap commented May 3, 2012

https://bugzilla.redhat.com/show_bug.cgi?id=818261

When configuring katello (katello-configure) on a RHEL system with the
redhat-rpm-config package installed, katello will create a
candlepin-cert-consumer RPM that is not installable on RHEL5 systems.

To avoid this bug, run be sure that redhat-rpm-config is not installed when
running 'katello-configure'

After it happens, to work around this problem, run the following commands to
rebuild a RHEL5 installable candlepin-cert-consumer RPM.

cd /var/www/html/pub
rpmbuild --rebuild --define "_source_filedigest_algorithm md5" --define "_binary_filedigest_algorithm md5" --define "_source_payload nil" --define "_binary_payload nil" candlepin-cert-consumer-*.src.rpm
cp /root/rpmbuild/RPMS/noarch/candlepin-cert-consumer-*.noarch.rpm .

To prevent this problem from happening in the future, the gen-rpm.sh script
(provided by katello-cert-tools) will need to use the proper rpmbuild
parameters.

iNecas added a commit that referenced this pull request May 3, 2012
818261 - consumer rpm was not installable on RHEL5
@iNecas iNecas merged commit 3616cf7 into Katello:master May 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants