Bug 304815

Summary: Wrong name for update repository
Product: [openSUSE] openSUSE 10.3 Reporter: Michael Calmer <mc>
Component: InstallationAssignee: Christoph Thiel <cthiel>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P5 - None CC: benji, locilka, lslezak
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs

Description Michael Calmer 2007-08-27 11:58:39 UTC
At the beginning of the installation the user is asked if he wants to add some repositories.

A repository for getting updates is also available, but it gets the wrong name.

Current situation:

Name: http://download.opensuse.org/update/10.3/
URL:  http://download.opensuse.org/update/10.3/

Correct entry would be:

Name: openSUSE-10.3-Updates
URL:  http://download.opensuse.org/update/10.3/


This would also make the registration easier and would not end up in 2 update repositories which download from the same URL.
Comment 1 Katarina Machalkova 2007-08-28 08:14:47 UTC
Lukas, please have a look at this one (might be already fixed together with bug #304659)
Btw, Michael, repository name is editable, you can name as you like :)
Comment 2 Lukas Ocilka 2007-08-28 10:19:16 UTC
Michael, YaST logs would be helpful :)
Comment 3 Michael Calmer 2007-08-28 10:30:16 UTC
Created attachment 160206 [details]
yast2 logs
Comment 4 Michael Calmer 2007-08-28 10:32:21 UTC
The ../repos.d/... file looks like this:

[http://download.opensuse.org/update/10.3/]
name=10.3 - Update Repository
baseurl=http://download.opensuse.org/update/10.3/
path=/
type=rpm-md
enabled=1
autorefresh=1
gpgcheck=1


Better would be:
[openSUSE-10.3-Updates]
name=10.3 - Update Repository
baseurl=http://download.opensuse.org/update/10.3/
path=/
type=rpm-md
enabled=1
autorefresh=1
gpgcheck=1
Comment 5 Lukas Ocilka 2007-08-28 10:55:47 UTC
Michael, the bug as it is reported is INVALID.

--- cut ---
Current situation:

Name: http://download.opensuse.org/update/10.3/
URL:  http://download.opensuse.org/update/10.3/

Correct entry would be:

Name: openSUSE-10.3-Updates
URL:  http://download.opensuse.org/update/10.3/
--- cut ---

As you can see in your comment #4, $name IS already "10.3 - Update Repository".
You are talking about $alias (openSUSE-10.3-Updates) and such short-name is not available for these URLs.

See this link:
http://download.opensuse.org/YaST/Repos/_openSUSE_103_Default.xml

  <repository recommended="true" format="yast">
    <name>10.3 - Update Repository</name>
    <summary>This is the update repository of openSUSE 10.3.</summary>
    <description>...</description>
    <url>http://download.opensuse.org/update/10.3/</url>
  </repository>

I'm not responsible for having online update repository in that XML, additionally. I'm sorry but you would need to get the information directly from the source.
Comment 6 Michael Calmer 2007-08-28 11:41:21 UTC
Ok, then it is named "alias". There is a definitiion, that the alias for the update source in 10.3 is "openSUSE-10.3-Updates". 
This is a PM definition. 

So please hardcode it somewhere. Or remove the update source completly from this list.
Comment 7 Lukas Ocilka 2007-08-28 12:25:02 UTC
I have no information about PM requirements for repository aliases.
The XML content is controlled by the PM.

I'm not responsible for having the openSUSE update repository there.

See http://en.opensuse.org/Standards/One_Click_Install
There is no possibility to have alias there.
Comment 8 Christoph Thiel 2007-08-28 12:33:13 UTC
The openSUSE update repo has just been added to the list of repos, because of a problem in registrations. I'll be removing it soon, since the registration should be working again with the current Factory build and the upcoming Beta3 release.
Comment 9 Christoph Thiel 2007-08-28 13:23:31 UTC
I have removed the openSUSE update repo now, since it should be working in Beta3 again with the registration. Closing fixed.