-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change mirrors to centos8 stream repo's to vault #216
Conversation
That's a clever place to do it. I was looking to do it around line 623 instead but it had issues with the name change of the stream repos. Where you're doing it looks like it will just work without much issue at all. |
I'm probably trying to be too clever. The sed is not being triggered. still hitting some snags
I also added the code in line 623, but indeed, extras-common is not there |
I'm not sure the second commit will work because of the way that the centos-stream repository names are changed part way through so as not to clash with the Rocky Linux repo names. Will need to test this and see. |
currently already fails in |
http://debuginfo.centos.org/8-stream seems not to be mirrored at rocky? (but is still up at it's original url and has a mirror at https://linuxsoft.cern.ch/centos-debuginfo/ |
It is: Also since extras-common is not a Rocky Linux repo it may not require renaming (looking into that). |
That and epel-next may cause issues since it will be archived as well. It will require some testing to find out for sure if it actually matters. |
ah I see, yes, now it's in there but never used. |
Okay, let me know. I'll also try running on a clean stream-8 install probably tomorrow and see how it goes. Thanks for your work in this, BTW, it's really appreciated! |
@pajamian worked for me on 3 different systems, I was able to migrate from centos8-stream to rocky linux8 using this script, and the subsequent update to rocky linux 9 worked without issues, there are a few stream-xxx repo files now that can be cleaned up, and I think the text at the end of the move can also be revised, since there will never be a centos8-stream update anymore? |
Yes We can either automatically remove them now (they are no longer needed) or just put instructions to do so. Previously they were kept because there might still be newer packages left from them on the system.
Indeed. In fact this changes the whole dynamic of migrating from CentOS Stream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved but we should also change the Stream-specific text at the end. That can be a separate PR, though.
No description provided.