Closed donoghuc closed 5 years ago
Without this change:
cas@cas-ThinkPad-T460p:~/working_dir/bolt-vanagon-1$ bundle exec build puppet-bolt el-8-x86_64
Downloading file 'bolt-runtime-201905220.el-8-x86_64.settings.yaml.sha1' from url 'http://builds.delivery.puppetlabs.net/puppet-runtime/201905220/artifacts/bolt-runtime-201905220.el-8-x86_64.settings.yaml.sha1'
Downloading file 'bolt-runtime-201905220.el-8-x86_64.settings.yaml' from url 'http://builds.delivery.puppetlabs.net/puppet-runtime/201905220/artifacts/bolt-runtime-201905220.el-8-x86_64.settings.yaml'
Verifying file: bolt-runtime-201905220.el-8-x86_64.settings.yaml against sum: '34f5477f356ac5a8cc364562fe703dd80450b2c6'
Reading vmpooler token from: ~/.vmfloaty.yml
Executing 'rpm --import http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs && yum install --assumeyes autoconf automake rsync gcc createrepo make rpmdevtools rpm-libs yum-utils rpm-sign libtool git' on 'root@uk06rdex192zamu.delivery.puppetlabs.net'
Warning: Permanently added 'uk06rdex192zamu.delivery.puppetlabs.net' (ECDSA) to the list of known hosts.
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1 day, 1:56:45 ago on Mon 27 May 2019 01:20:06 PM UTC.
Package gcc-8.2.1-3.5.el8.x86_64 is already installed.
Package make-1:4.2.1-9.el8.x86_64 is already installed.
Package rpm-libs-4.14.2-9.el8.x86_64 is already installed.
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Error:
Problem: package rpm-build-libs-4.14.2-4.el8.x86_64 requires rpm-libs(x86-64) = 4.14.2-4.el8, but none of the providers can be installed
- cannot install both rpm-libs-4.14.2-4.el8.x86_64 and rpm-libs-4.14.2-9.el8.x86_64
- package rpm-sign-4.14.2-4.el8.x86_64 requires rpm-build-libs(x86-64) = 4.14.2-4.el8, but none of the providers can be installed
- cannot install the best candidate for the job
- conflicting requests
This commit simply follows the advice of using --nobest
and results in a functional bolt RPM for installing bolt.
Redhat images were pointing to beta mirrors. They have been updated such that this is solved.
After moving from the beta Redhat8 to the official released version some of the pre-canned versions of core packages (like rpm and gcc) are to 'new' to be used with additional packages installed to build RPMs. This commit adds the --nobest cli option to not force the package manager to use the newest packages.