rocky-tools icon indicating copy to clipboard operation
rocky-tools copied to clipboard

[BUG] migrate when "epel-next-release" still exists but OS already on Centos 8 Linux

Open dev-hyperweb opened this issue 3 years ago • 3 comments

dnf swap centos-linux-repos centos-stream-repos
dnf distro-sync

dnf swap centos-stream-repos centos-linux-repos
dnf distro-sync

this server I done convert to Centos Stream and convert back to Centos Linux after that I use script migrate to rockylinux.

this bug will show error "Could not remove packages from the rpm db:"

so I force remove with "yum remove epel-next-release"

dev-hyperweb avatar Oct 24 '21 06:10 dev-hyperweb

@dev-hyperweb Converting from CentOS Stream and CentOS Linux is not relevant to Rocky Linux migration script.

aminvakil avatar Oct 25 '21 07:10 aminvakil

sorry, look like problem not clear to you

I meant my server done convert to Stream and convert back to Linux

and after this I use script migrate and after that It already mention above

dev-hyperweb avatar Oct 25 '21 07:10 dev-hyperweb

The conversion back was not done properly. epel-next-release should only be installed or at least only enabled on CentOS stream systems.

That said, I can look into adding a check for this.

pajamian avatar Oct 25 '21 18:10 pajamian