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

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

Open sp-mila opened this issue 2 years ago • 7 comments

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

sp-mila avatar Oct 16 '22 19:10 sp-mila

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.

pajamian avatar Oct 17 '22 00:10 pajamian

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

migrate2rocky.log

sp-mila avatar Oct 17 '22 19:10 sp-mila

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.

pajamian avatar Oct 17 '22 23:10 pajamian

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

migrate2rocky.log

sp-mila avatar Oct 18 '22 17:10 sp-mila

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.

pajamian avatar Oct 19 '22 09:10 pajamian

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

migrate2rocky.log

sp-mila avatar Oct 19 '22 18:10 sp-mila

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

migrate2rocky.log

sp-mila avatar Oct 20 '22 19:10 sp-mila