Bug 1040841 - Run "sudo yum clean all" and "sudo yum update", displayed errors (with used generic-release package)
Summary: Run "sudo yum clean all" and "sudo yum update", displayed errors (with used ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 08:38 UTC by mejiko
Modified: 2014-04-07 21:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-07 21:05:42 UTC
Type: Bug


Attachments (Terms of Use)

Description mejiko 2013-12-12 08:38:53 UTC
My system is installed generic-release package. (I replaced that fedora-release, fedora-release-notes and fedora-logos to generic-release, generic-release-notes and generic-logos after fresh install for Fedora 19. because fedora-logos license is non-free trademark/copyright license, I think.)

Version info:

yum version is: 3.4.3-120 (yum-3.4.3-120.fc19.noarch)
generic-release version is: 19-2 (generic-release-19-2.noarch)


I run "sudo yum clean all". and I run "sudo yum update". 
displayed yum error message.

"Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=fedora-19-2&arch=i386&country=JP error was 
No repomd file"

Why is "repo=fedora-19-2" ? That is incorrent variable.
Corrent variable is "repo=fedora-19".


I try:

curl 'https://mirrors.fedoraproject.org/metalink?repo=fedora-19-2&arch=i386&country=JP' 

Result: Mirror URI is not displayed. 

and I try:

curl 'https://mirrors.fedoraproject.org/metalink?repo=fedora-19&arch=i386&country=JP' 

Result: Mirror URI is displayed.


Using yum old version (before updating yum), No problem.
 

Workaround:

Edit /etc/yum.conf, Adding this text:

"distroverpkg=generic-release"
 

and run "sudo yum clean all" and "sudo yum update". 
This is OK.


Thanks.


Reference:

https://fedoraproject.org/wiki/Legal:Trademark_guidelines#Distributing_combinations_of_Fedora_software_with_non-Fedora_or_modified_Fedora_software
https://bugzilla.redhat.com/show_bug.cgi?id=518738#c2

Comment 1 mejiko 2014-03-15 10:08:59 UTC
Changed to rawhide.

How it this bug current status ? 
Is this bug is resolved ?

Thanks.

Comment 2 Jan Zeleny 2014-03-17 08:11:59 UTC
Not sure it's a problem in yum, might be a distribution bug. Requesting some additional information from James, he might know if this is yum or distribution bug ...

Comment 3 James Antill 2014-04-07 21:05:42 UTC
 This is related to bug#1002977.

 Basically generic-release does the provides "wrong" for very new yum, and should be fixed.


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