Skip to content
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

Private repo, package rocky-repos #95

Open
blouphil opened this issue Aug 10, 2021 · 2 comments
Open

Private repo, package rocky-repos #95

blouphil opened this issue Aug 10, 2021 · 2 comments

Comments

@blouphil
Copy link

Hello,

Our nodes do not have access to external repositories, we can only connect to our private repo.

Before starting the migration script, I make sure to use stock repo config files, the only thing that is changed is the baseurl= URL, #mirrorlist= stays commented out

However, package rocky-repos-8.4-32.el8.noarch is installed during the migration process, and this reverts the repo configs to mirrorlist=https://mirrors.rockylinux.org/[...]

[...]
Installed:
  rocky-gpg-keys-8.4-32.el8.noarch        rocky-release-8.4-32.el8.noarch
  rocky-repos-8.4-32.el8.noarch
Removed:
  centos-gpg-keys-1:8-2.el8.noarch   centos-linux-release-8.4-1.2105.el8.noarch
  centos-linux-repos-8-2.el8.noarch

Complete!
Last metadata expiration check: 0:00:03 ago on Tue 10 Aug 2021 03:24:50 PM GMT.
> Leaving Shell
Ensuring repos are enabled before the package swap
No matches found for the following enable plugin patterns: config-manager
Enabling modules

Rocky Linux 8 - AppStream                       0.0  B/s |   0  B     06:00
Errors during downloading metadata for repository 'appstream':
  - Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-8 [Connection timed out after 30001 milliseconds]
  - Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-8 [Connection timed out after 30000 milliseconds]
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-8 [Connection timed out after 30001 milliseconds]

Can't enable modules perl-IO-Socket-SSL:2.066 perl-libwww-perl:6.34 python36:3.6

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.

 A log of this installation can be found at /var/log/migrate2rocky.log

Maybe skipping installing the rocky-repos package would fix this? Or any other ideas?

Thanks

@pajamian
Copy link
Collaborator

We're looking at an option to specify an alternate (private/local) repository.

@m41kc0d3
Copy link

Hi @blouphil,
take a look at #92 . It is not perfect, but it works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants