Repo names on RackSpace Cloud Servers Rocky 8 image

SYSTEM INFORMATION
OS type and version Rocky Linux 8
Webmin version Unknown
Virtualmin version 7.0.3
Related packages PowerTools

I have just tried to install virtualmin on a ‘clean’ Rocky Linux 8 VM created from the image available in RackSpace Cloud Servers.

The installation failed:

[2023-05-05 14:07:08 UTC] [DEBUG] Phase 2 of 3: Installation
Spin pid is: 14763
Last metadata expiration check: 0:11:59 ago on Fri 05 May 2023 01:55:10 PM UTC.
Package epel-release-8-19.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Installing EPEL release package: Success.
Spin pid is: 14834
Error: No matching repo to modify: powertools.

It appears RackSpace are providing their own prefixed versions of the Rocky repositories:

dnf repolist | grep Rocky
rackspace-appstream        Rocky Linux 8 - AppStream
rackspace-baseos           Rocky Linux 8 - BaseOS
rackspace-extras           Rocky Linux 8 - Extras
rackspace-powertools       Rocky Linux 8 - PowerTools

This is the same command run on a Rocky 8 system built a few months ago - so it looks like a recent change to the image.

dnf repolist | grep Rocky
appstream           Rocky Linux 8 - AppStream
baseos              Rocky Linux 8 - BaseOS
extras              Rocky Linux 8 - Extras
powertools          Rocky Linux 8 - PowerTools

I updated the install.sh to look for ‘rackspace-powertools’ rather than just ‘powertools’ and the install worked. I thought it would be worth posting here in case anyone else runs in to the same problem, or if the devs want to update the installer to detect this.

1 Like

For my own reference, as I’ve just had to do this again, the following needs changing in install.sh

1079       extra_packages=$(dnf repolist all | grep "^powertools")
1080       extra_packages_name="PowerTools"
1081       if [ -n "$extra_packages" ]; then
1082         extra_packages="powertools"

to

1079       extra_packages=$(dnf repolist all | grep "^rackspace-powertools")
1080       extra_packages_name="PowerTools"
1081       if [ -n "$extra_packages" ]; then
1082         extra_packages="rackspace-powertools"

I’m sure there is a way to make it match both which may be useful to be added to the main installer script, or perhaps an argument could be added to specify the location.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.