#87 Fix mirrorlist URL in fedora-28 repo
Merged 5 years ago by dustymabe. Opened 5 years ago by surdy.
surdy/workstation-ostree-config f28  into  f28

Fix mirrorlist URL in fedora-28 repo
Harpreet Singh Gulati • 5 years ago  
file modified
+1 -1
@@ -1,7 +1,7 @@ 

  [fedora-28]

  name=Fedora 28 $basearch

  #baseurl=http://download.fedoraproject.org/pub/fedora/linux//development/rawhide/$basearch/os/

- mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=28&arch=$basearch

+ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-28&arch=$basearch

  enabled=0

  gpgcheck=0

  metadata_expire=1d

I was trying to build Atomic workstation locally when I discovered what I believe to be a bug in f28 branch.

I executed rpm-ostree compose tree --repo=repo workstation-ostree-config/fedora-ostree-workstation.json but it failed with

No previous commit for fedora/28/x86_64/workstation
Enabled rpm-md repositories: fedora-28-updates fedora-28
Updating metadata for 'fedora-28-updates': [=============] 100%
rpm-md repo 'fedora-28-updates'; generated: 2018-06-15 15:44:56
error: cannot update repo 'fedora-28': Cannot prepare internal mirrorlist: file "repomd.xml" was not found in metalink

On closer inspection I noticed that in fedora-28.repo had mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=28&arch=$basearch which did not lead to a valid mirrorlist but https://mirrors.fedoraproject.org/metalink?repo=fedora-28&arch=$basearch did. So I edited it and it worked.

Sending this PR to have it fixed.

Pull-Request has been merged by dustymabe

5 years ago
Metadata