[Solved] Strange repository issue with DNF

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[Solved] Strange repository issue with DNF

Postby duskmourn » Jan 8th, '20, 16:30

Whenever I try to update or install a package using DNF, I'm given this.

Code: Select all
[root@navi ~]# dnf install firefox
Mageia Cauldron - x86_64 - Updates                                                                                                                                                   6.9  B/s | 273  B     00:39   
Errors during downloading metadata for repository 'cauldron-updates-x86_64':
  - Status code: 404 for https://mirror.dacentec.com/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 104.26.7.123)
  - Curl error (78): Remote file not found for ftp://free.nchc.org.tw/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml [RETR response: 550]
  - Status code: 404 for http://ftp.tku.edu.tw/Linux/Mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 163.13.240.201)
  - Curl error (28): Timeout was reached for ftp://mageia.jameswhitby.net/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml [Connection time-out]
  - Status code: 404 for http://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 145.220.21.40)
  - Status code: 404 for http://mirror.math.princeton.edu/pub/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 128.112.18.21)
  - Status code: 404 for http://mageia.jameswhitby.net/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 98.117.88.118)
  - Status code: 404 for http://mirrors.kernel.org/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 149.20.37.36)
  - Status code: 404 for http://mirror.isoc.org.il/pub/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 192.115.211.70)
  - Status code: 404 for http://ftp.linux.org.tr/mageia/distrib/cauldron/x86_64/media/core/updates/repodata/repomd.xml (IP: 193.140.98.183)
Error: Failed to download metadata for repo 'cauldron-updates-x86_64': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Mageia 8 - x86_64                                                                                                                                                                     57  B/s |  51  B     00:00   
Error: Failed to download metadata for repo 'mageia-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Mageia 8 - x86_64 - Updates                                                                                                                                                           56  B/s |  51  B     00:00   
Error: Failed to download metadata for repo 'updates-x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Ignoring repositories: cauldron-updates-x86_64, mageia-x86_64, updates-x86_64
Last metadata expiration check: 2:37:57 ago on Wed 08 Jan 2020 04:34:05 AM EST.
Package firefox-68.3.0-1.mga8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!


I just used Firefox as an example as I already have it installed. But where are these non existent repos coming from? One of them, "cauldron-updates-x86_64" isn't even an actual repository.

DNF seems to work perfectly fine besides this, it's just annoying. Any ideas what could've caused this or how to fix it?
Last edited by duskmourn on Jan 26th, '20, 01:11, edited 1 time in total.
duskmourn
 
Posts: 6
Joined: Dec 23rd, '19, 01:22

Re: Strange repository issue with DNF

Postby Bequimao » Jan 8th, '20, 18:48

Please show the output of

Code: Select all
# dnf repolist


It should look like this in a working dnf environment

Code: Select all
[root@mga8-cauldron ~]# dnf repolist
/usr/lib/python3.8/site-packages/bs4/element.py:15: UserWarning: The soupsieve package is not installed. CSS selectors cannot be used.
  warnings.warn(

repo id                                                                          repo name
cauldron-x86_64                                                                  Mageia Cauldron - x86_64
cauldron-x86_64-nonfree                                                          Mageia Cauldron - x86_64 - Nonfree
cauldron-x86_64-tainted                                                          Mageia Cauldron - x86_64 - Tainted
[root@mga8-cauldron ~]#


Note that I am only using x86_64 repos.

Best regards,
Bequimão
Bequimao
 
Posts: 108
Joined: Jun 3rd, '11, 21:51
Location: Minas Gerais, Brazil

Re: Strange repository issue with DNF

Postby duskmourn » Jan 9th, '20, 12:19

Here's the output of dnf repolist

Code: Select all
[root@navi ~]# dnf repolist
repo id                                                                                                         repo name
cauldron-updates-x86_64                                                                              Mageia Cauldron - x86_64 - Updates
cauldron-x86_64                                                                                           Mageia Cauldron - x86_64
copr:copr.fedorainfracloud.org:konimex:neofetch                                             Copr repo for neofetch owned by konimex
mageia-x86_64                                                                                             Mageia 8 - x86_64
updates-x86_64                                                                                            Mageia 8 - x86_64 - Updates


I do have the 32 bit repos enabled, but it doesn't seem to show up here for some reason. And yes, the COPR repo is intended for Cauldron.
duskmourn
 
Posts: 6
Joined: Dec 23rd, '19, 01:22

Re: Strange repository issue with DNF

Postby Bequimao » Jan 9th, '20, 17:29

You see all the possiblilities with

Code: Select all
# dnf repolist --all


Now you can enable or disable any repo by

Code: Select all
# dnf config-manager --set-enabled <repo-name>  ...
# dnf config-manager --set-disabled <repo-name> ...


dnfdragora has also a menu item to configure the repos. The updates repos are empty in Cauldron by default. Of course, dnf commands should also work with empty repos. I see this as a minor issue.

Best regards,
Bequimão
Bequimao
 
Posts: 108
Joined: Jun 3rd, '11, 21:51
Location: Minas Gerais, Brazil

Re: Strange repository issue with DNF

Postby duskmourn » Jan 10th, '20, 17:21

Disabling "cauldron-updates-x86_64", "mageia-x86_64", and "updates-x86_64" seems to have fixed it, sorry for the trouble.
duskmourn
 
Posts: 6
Joined: Dec 23rd, '19, 01:22

Re: Strange repository issue with DNF

Postby isadora » Jan 10th, '20, 17:52

Would you please mark this topic [SOLVED]?
You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead. :)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2744
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest