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

STDERR: Repository extras is listed more than once in the configuration #47

Open
bjornfro opened this issue Mar 20, 2024 · 1 comment
Open

Comments

@bjornfro
Copy link

bjornfro commented Mar 20, 2024

Untitled
Hi,

Upgrade to Rocky8 fails after "leapp upgrade" and "reboot" with "STDERR: Repository extras is listed more than once in the configuration".

Cannot see that "extras" repo is added twice.

ls -l /etc/yum.repos.d/
total 36
-rw-r--r--. 1 root root 1664 Nov 23 2020 CentOS-Base.repo
-rw-r--r--. 1 root root 1309 Nov 23 2020 CentOS-CR.repo
-rw-r--r--. 1 root root 649 Nov 23 2020 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 314 Nov 23 2020 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 Nov 23 2020 CentOS-Media.repo
-rw-r--r--. 1 root root 1331 Nov 23 2020 CentOS-Sources.repo
-rw-r--r--. 1 root root 616 Nov 23 2020 CentOS-x86_64-kernel.repo
-rw-r--r--. 1 root root 1358 Sep 4 2021 epel.repo
-rw-r--r--. 1 root root 1457 Sep 4 2021 epel-testing.repo

yum repolist
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.nsc.liu.se
  • epel: mirror.bahnhof.net
  • extras: mirror.nsc.liu.se
  • updates: mirror.nsc.liu.se
    repo id repo name status
    base/7/x86_64 CentOS-7 - Base 10,072
    epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,794
    extras/7/x86_64 CentOS-7 - Extras 519
    updates/7/x86_64 CentOS-7 - Updates 5,766
    repolist: 30,151
@bjornfro
Copy link
Author

Executing : "rm /etc/yum.repos.d/CentOS-Base.repo" before reboot seems to complete the upgrade OK.

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

1 participant