Bug 1686459 - system-upgrade download from F29 or F30 to Rawhide not possible (out of the box)
Summary: system-upgrade download from F29 or F30 to Rawhide not possible (out of the box)
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Josh Boyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1610315
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-07 13:51 UTC by Yann Droneaud
Modified: 2020-05-02 16:52 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-02 16:52:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Content returned by https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-rawhide&arch=x86_64 (49.96 KB, application/metalink+xml)
2019-03-07 13:51 UTC, Yann Droneaud
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure releng issue 7398 0 None None None 2019-05-09 07:51:20 UTC
Fedora Pagure releng issue 7445 0 None None None 2019-05-09 07:51:20 UTC
Github rpm-software-management dnf-plugins-extras issues 147 0 None closed System-upgrade to rawhide tries to fetch nonexistent repo 2020-05-02 16:52:23 UTC

Description Yann Droneaud 2019-03-07 13:51:40 UTC
Created attachment 1541845 [details]
Content returned by https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-rawhide&arch=x86_64

On F29 or F30, dnf system-upgrade download fails when target release is rawhide:

  # dnf system-upgrade download --releasever=rawhide --best --allowerasing
  Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
  Fedora Modular rawhide - x86_64                                                                    19 kB/s |  50 kB     00:02    
  Failed to synchronize cache for repo 'fedora-modular'
  Error: Failed to synchronize cache for repo 'fedora-modular'

With more verbosity:

  # dnf --verbose system-upgrade download --releasever=rawhide --best --allowerasing
  Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, leaves, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, rpmconf, show-leaves, system-upgrade, tracer
  DNF version: 4.1.0
  cachedir: /var/cache/dnf
  Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
  Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
  Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
  Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
  repo: downloading from remote: fedora-modular
  Fedora Modular rawhide - x86_64                                                                    21 kB/s |  50 kB     00:02    
  Cannot download 'https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-rawhide&arch=x86_64': Cannot prepare internal mirrorlist: file "repomd.xml" was not found in metalink.
  Failed to synchronize cache for repo 'fedora-modular'
  Error: Failed to synchronize cache for repo 'fedora-modular'

The exact error can be found in the metalink content (see attached file):

  # repo = fedora-modular-rawhide arch = x86_64 error: invalid repo or arch

It's trying to access to a repository, assuming incorrectly "rawhide" is a version number, just like 29 or 30, appended to fedora-modular- prefix.
The correct repository name would be rawhide-modular and not fedora-modular-rawhide.

This could probably be workarounded by disabling the /etc/yum.repos.d/fedora-modular.repo repositories.

Anyway, "dnf system-upgrade" method is one way to get a Fedora Rawhide, documented on the wiki:
- https://fedoraproject.org/wiki/Releases/Rawhide#Upgrade_from_existing_stable_install
- https://fedoraproject.org/wiki/DNF_system_upgrade#How_do_I_use_it.3F

So users might expect this to work out of the box.

Comment 1 Yann Droneaud 2019-03-07 13:53:41 UTC
This issue was also reported as: https://github.com/rpm-software-management/dnf-plugins-extras/issues/147

Comment 2 Yann Droneaud 2019-05-05 08:24:27 UTC
Still not possible

Comment 3 Jaroslav Mracek 2019-05-05 20:40:27 UTC
One work-arround could be to use as a releasever 31. It works to me. But the situation must be resolved by infrastructure, therefore changing component.

Comment 4 Kevin Fenzi 2019-05-06 14:58:00 UTC
There are plans to make rawhide use 'rawhide' the name instead of whatever number, but those are still in process. 

see: https://pagure.io/releng/issue/7445

For now, you will have to know and use the number.

Comment 5 Yann Droneaud 2019-05-26 12:54:32 UTC
(In reply to Jaroslav Mracek from comment #3)
> One work-arround could be to use as a releasever 31. It works to me.

I should have work too for me, but I have debug repositories enabled, and there's one missing for F31, see bug #1713997.

Comment 6 Ben Cotton 2020-04-30 21:56:01 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Yann Droneaud 2020-05-02 16:52:14 UTC
This seems to be fixed: dnf system-upgrade download --releasever=rawhide --best --allowerasing is able to fetch the "rawhide" repositories !

(But rpmfusion doesn't have -rawhide repositories, but it's another story).


Note You need to log in before you can comment on or make changes to this bug.