Bug 203716

Summary: Entering twice the same additional repository causes a traceback
Product: [Fedora] Fedora Reporter: Matthias Saou <matthias>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-05 20:07:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150224    

Description Matthias Saou 2006-08-23 13:12:48 UTC
I just tried an FTP installation of today's devel tree and managed to get a
traceback :
- When on the first screen to select packages, choose to enter an additional repo
- Enter the reponame "foo" and its valid info
- Go to the next screen and come back
  (possibly not needed, I was testing a comps.xml change in the repo)
- Enter the same reponame "foo" with the same info
- There is a traceback about having two repositories of the same name

Either it should check and complain about already having one with that name
(what happens if someone enters "core" or "development" btw?), or ideally
replace the previously entered one.

Comment 1 Matthias Saou 2006-08-23 14:08:36 UTC
Somewhat related, I'm entering my repository information as follows :

name : freshrpms
url : http://ayo.freshrpms.net/fedora/linux/5/i386/freshrpms/

Which seems to work (no complaining), but on the next screen the groups I've
defined don't appear. Is anaconda properly processing the comps.xml files from
additional repositories?

Comment 2 Chris Lumens 2006-08-23 16:53:35 UTC
Submitted a patch to upstream yum to make this easier to deal with.  We'll fix
this up after we can get a new yum built.