rocky-linux / rocky-tools

MIT License
393 stars 137 forks source link

Failed to fetch info for package apr-util-ldap.x86_64 #190

Open sp-mila opened 1 year ago

sp-mila commented 1 year ago

Hi, I've got a centos 8.5.2111 ed I'd like to migrate it to rocky linux. It's in a virtualized environment, so may be there are more repository than expected, but it seems to fail on a standard package, isn't it? Can You please report expected repo to be active, so I can try to disable the other one? Attached report log. Thanks a lot! M.

migrate2rocky.log

pajamian commented 1 year ago

The problem is that you have a 3rd-party repository enabled that dnf cannot access. The problematic repository is "qubes-vm-r4.1-current". If you fix that reposotory (by perhaps pointing to a different mirror that works) or disable that repository then migrate2rocky should work at that point.

sp-mila commented 1 year ago

Hi, thanks for your suggestion. Indeed after disabled 3rd-party repo, I still got no luck. Thanks, M.

migrate2rocky.log

pajamian commented 1 year ago

I will need some more info to find out exactly what is happening here:

Can you find the following line in migrate2rocky (should be line 689): infomsg $'\n'"Getting system package names for $PRETTY_NAME"

...and following it add a new line with: set -x

Then run migrate2rocky again and attach the new log here for me to review.

sp-mila commented 1 year ago

Hi, thanks for your support. Attached extended log. Cheers, M.

migrate2rocky.log

pajamian commented 1 year ago

I see what the issue is. Can you issue the following command and then try again: mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Linux-Base.repo

...if it works then it means that I need to tweak migrate2rocky to recognize that older filename.

sp-mila commented 1 year ago

Hi, may be that all repos have to be moved? Attached new log. Thanks, M.

migrate2rocky.log

sp-mila commented 1 year ago

Hi, also after moved all repo, still no luck. Thanks, M.

migrate2rocky.log