MiKTeX / miktex-packaging

the MiKTeX package factory
MIT License
19 stars 6 forks source link

[Fedora 39 package] Install instructions and repo config messed up, 404 on Fedora 39 metadata download. #416

Closed lowusage closed 9 months ago

lowusage commented 9 months ago

Simple description

I've tried to install this package on Fedora 39 today, and was stuck upon a packaging issue.

First off, it seems to me that the installation instructions on <https://miktex.org/download> > Linux > Fedora are messed up.

Repo configs links are messed up, and Fedora 39 metadatas gives 404

Developed description

The curl URL for the Fedora 38 package gives :

$ curl -L https://miktex.org/download/fedora/38/miktex.repo
[miktex-fedora-39]
name=MiKTeX Fedora 39
baseurl=https://miktex.org/download/fedora/39/
enabled=1
gpgcheck=1

And for the Fedora 39 package :

$ curl -L https://miktex.org/download/fedora/39/miktex.repo
[miktex-fedora-38]
name=MiKTeX Fedora 38
baseurl=https://miktex.org/download/fedora/38/
enabled=1
gpgcheck=1

Which seems pretty strange to me (but it could just be a naming arrangement).

After setting what seems to be the right one for Fedora 39 (using https://miktex.org/download/fedora/38/miktex.repo) I got this error on dnf update :

$ sudo dnf update
MiKTeX Fedora 39                                                                                                                        475  B/s | 275  B     00:00    
Errors during downloading metadata for repository 'miktex-fedora-39':
  - Status code: 404 for https://ctan.gutenberg-asso.fr/systems/win32/miktex/setup/rpm/fedora/39/repodata/repomd.xml (IP: 2001:41d0:404:200::7774)
  - Status code: 404 for https://ctan.space-pro.be/tex-archive/systems/win32/miktex/setup/rpm/fedora/39/repodata/repomd.xml (IP: 2a01:488:67:1000:b01c:3714:0:1)
  - Status code: 404 for https://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/systems/win32/miktex/setup/rpm/fedora/39/repodata/repomd.xml (IP: 134.157.176.20)
Error: Failed to download metadata for repo 'miktex-fedora-39': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: miktex-fedora-39
Last metadata expiration check: 0:21:56 ago on Thu Dec 28 12:01:05 2023.

Finally, using https://miktex.org/download/fedora/39/miktex.repo config:

Which is not very surprising given that those have the fc38 naming convention for Fedora 38.

System Config

edocevoli commented 9 months ago

Fedora 39 packages are in pretest. Please try again tomorrow.