Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
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: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugin-system-upgrade
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Mracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-07 13:51 UTC by Yann Droneaud
Modified: 2019-03-11 12:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


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


Links
System ID Priority Status Summary Last Updated
Github rpm-software-management dnf-plugins-extras issues 147 None None None 2019-03-07 13:53:41 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


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