holy-build-box icon indicating copy to clipboard operation
holy-build-box copied to clipboard

yum update/install fails with phusion/holy-build-box-32:latest image

Open masonr opened this issue 3 years ago • 1 comments

Noticed today that yum updates/installs aren't working in the 32-bit HBB image. Perhaps the packagecloud subscription wasn't paid?

Error encountered

bash-4.1# yum update
Loaded plugins: fastestmirror
Setting up Update Process
Determining fastest mirrors
epel/metalink                                                                                    | 4.7 kB     00:00
 * epel: mirror.math.princeton.edu
CentOS-base                                                                                      | 3.7 kB     00:00
CentOS-base/primary_db                                                                           | 4.7 MB     00:03
CentOS-centosplus                                                                                | 3.4 kB     00:00
CentOS-centosplus/primary_db                                                                     | 5.7 MB     00:03
CentOS-contrib                                                                                   | 2.9 kB     00:00
CentOS-contrib/primary_db                                                                        | 7.4 kB     00:00
CentOS-extras                                                                                    | 3.4 kB     00:00
CentOS-extras/primary_db                                                                         |  29 kB     00:00
CentOS-fasttrack                                                                                 | 2.9 kB     00:00
CentOS-fasttrack/primary_db                                                                      | 9.9 kB     00:00
CentOS-updates                                                                                   | 3.4 kB     00:00
CentOS-updates/primary_db                                                                        |  12 MB     00:07
epel                                                                                             | 4.7 kB     00:00
epel/primary_db                                                                                  | 6.1 MB     00:00
https://packagecloud.io/phusion/centos-6-scl-i386/el/6/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 402 Payment Required"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: phusion_centos-6-scl-i386. Please verify its path and try again

Workarounds:

rm -f /etc/yum.repos.d/phusion_centos-6-scl-i386.repo to remove the repo before issuing any yum commands

Alternatively, issue yum commands with the --disablerepo flag: yum --disablerepo=phusion_centos-6-scl-i386,phusion_centos-6-scl-i386-source install <package>

masonr avatar May 28 '21 20:05 masonr

image

cyagon avatar May 29 '21 06:05 cyagon