Bug 461010

Summary: RepoName is not displayed in package version tab
Product: [openSUSE] openSUSE 11.1 Reporter: nugenesis nugenesis <nugenesis>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: whonea
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description nugenesis nugenesis 2008-12-19 21:49:51 UTC
***Overview Description***

RepoName is not properly displayed in package version tab. There is only a generic repo name displayed.

***Steps to Reproduce***

01) Open yast, goto Software Management
02) If not already done add Packman Repo to your used repos.
03) Search for package "kaffeine"
04) Select package "kaffeine" and click on the version tab

***Actual Results***

There are various versions of the kaffeine package displayed in format
VERSION_ARCH from REPO

REPO is not the name of the repository (as specified repository configuration) but a generic string build from the string "repo_" and a number e.g "repo_7"

***Expected Results***

There should be the name of the repository instead of a generic string displayed (or at least as in 11.0 the URL)
Comment 1 will honea 2008-12-23 05:19:18 UTC
Same problem description.  

Added commentary: The problem becomes more severe in that there seems to be no obvious description of how the repo_(n) reference can be resolved manually since the number bears no clear relation to the position of the repos in the list of available repos.  That's an error waiting to happen.
Comment 2 nugenesis nugenesis 2008-12-24 12:07:46 UTC
I just figured out that this generic RepoNames are defined in the *.repo files in /etc/zypp/repos.d e.g.

more /etc/zypp/repos.d/repo_7.repo

[repo_7]
name=Packman Repository
enabled=1
autorefresh=1
baseurl=http://ftp.skynet.be/pub/packman/suse/11.1/
path=/
type=rpm-md
keeppackages=0

After a few tests it seems to be no problem to 
-change the RepoName e.g. "repo_7" in the *.repo files 
-and, for consistency reasons, rename the files

Maybe that could be a workaround.
Comment 3 Thomas Göttlicher 2009-01-20 09:01:56 UTC
.

*** This bug has been marked as a duplicate of bug 462778 ***