|
Re: almaconvert8 no longer converts to almalinux [message #53879 is a reply to message #53878] |
Sun, 09 March 2025 15:35  |
wsap
Messages: 81 Registered: March 2018 Location: Halifax, NS
|
Member |
|
|
From what I have gathered, /bin/almadeploy8_ct is supposed to remove vzlinux-release then install almalinux-release via vzpkg (line 134) however either almalinux-release is now aliased TO vzlinux-release or it's falling back to it because vzpkg no longer has almalinux packages available to it (perhaps because the 8.9 repos are now replaced by 8.10 and they haven't synced them?).
The solution is running what is essentially the same changes as above manually *after* almaconvert8 switches the container from centos7 to vzlinux8:
vzctl exec $CTID rpm -e vzlinux-release --nodeps
vzctl exec $CTID rpm -Uvh http://mirror.its.dal.ca/almalinux/8.10/BaseOS/x86_64/os/Packages/almalinux-release-8.10-1.el8.x86_64.rpm
vzctl exec $CTID yum -y update
# Swap all vl8 packages for al8 packages
vzctl exec $CTID yum -y distro-sync --disablerepo=epel
Note: you probably want to replace that mirror URL with one closer to you.
Unrelated, but odd: almadeploy8_ct also has a call to a non-existent binary on line 140: /usr/bin/almadeploy8
I suspect devs never noticed because the conditional never branches to there, but I attempted to run it without nonetwork, and that's why I hit it. Obviously it doesn't do anything because the binary it calls does not exist.
|
|
|