fedora-cloud / docker-brew-fedora

MIT License
174 stars 46 forks source link

yum install is broken in fedora:36 #113

Open paleozogt opened 9 months ago

paleozogt commented 9 months ago
$ docker run --rm -it fedora:36 yum install -y python3-pip
Fedora 36 - x86_64                                                                                                                                       13 MB/s |  81 MB     00:06
Fedora 36 openh264 (From Cisco) - x86_64                                                                                                                2.6 kB/s | 2.5 kB     00:00
Fedora Modular 36 - x86_64                                                                                                                              0.0  B/s |   0  B     00:01
Errors during downloading metadata for repository 'fedora-modular':
  - Curl error (56): Failure when receiving data from the peer for http://dl.fedoraproject.org/pub/fedora/linux/releases/36/Modular/x86_64/os/repodata/repomd.xml [Recv failure: Connection reset by peer]
  - Curl error (56): Failure when receiving data from the peer for http://ftp.tudelft.nl/download.fedora.redhat.com/linux/releases/36/Modular/x86_64/os/repodata/repomd.xml [Recv failure: Connection reset by peer]
  - Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/releases/36/Modular/x86_64/os/repodata/repomd.xml (IP: 65.8.234.157)
  - Status code: 404 for https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Modular/x86_64/os/repodata/repomd.xml (IP: 38.145.60.22)
  - Curl error (56): Failure when receiving data from the peer for http://mirror.rnet.missouri.edu/fedora/linux/releases/36/Modular/x86_64/os/repodata/repomd.xml [Recv failure: Connection reset by peer]
Error: Failed to download metadata for repo 'fedora-modular': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Both older and newer images work fine.

Here's 35:

$ docker run --rm -it fedora:35 yum install -y python3-pip
Fedora 35 - x86_64                                                                                                                                       13 MB/s |  79 MB     00:06
Fedora 35 openh264 (From Cisco) - x86_64                                                                                                                2.8 kB/s | 2.5 kB     00:00
Fedora Modular 35 - x86_64                                                                                                                              1.8 MB/s | 3.3 MB     00:01
Fedora 35 - x86_64 - Updates                                                                                                                            8.8 MB/s |  34 MB     00:03
Fedora Modular 35 - x86_64 - Updates                                                                                                                    2.4 MB/s | 3.9 MB     00:01
Dependencies resolved.
...
Installed:
  libxcrypt-compat-4.4.33-3.fc35.x86_64                         python3-pip-21.2.3-4.fc35.noarch                         python3-setuptools-57.4.0-1.fc35.noarch

Complete!

Here's 37:

$ docker run --rm -it fedora:37 yum install -y python3-pip
Fedora 37 - x86_64                                                                                                                                       12 MB/s |  82 MB     00:06
Fedora 37 openh264 (From Cisco) - x86_64                                                                                                                2.6 kB/s | 2.5 kB     00:00
Fedora Modular 37 - x86_64                                                                                                                              2.3 MB/s | 3.8 MB     00:01
Fedora 37 - x86_64 - Updates                                                                                                                            944 kB/s |  40 MB     00:43
Fedora Modular 37 - x86_64 - Updates                                                                                                                    477 kB/s | 2.9 MB     00:06
Dependencies resolved.
...
Complete!

What is going on with 36's mirrors? Is the image misconfigured?

dotysan commented 8 months ago

That's an ephemeral issue with your network. Try it again.