Bug 296782

Summary: Display repository name instead of product name in package selector
Product: [openSUSE] openSUSE 10.3 Reporter: Casual J. Programmer <casualprogrammer>
Component: YaST2Assignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 7   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 10.3   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot of yast2 inst_source
Screenshot of yast2 sw_single
yast2 logs
Content of /etc/zypp/repos.d
Screenshot of yast2 inst_source
Screenshot of yast2 sw_single
A patch for yast2-qt :)

Description Casual J. Programmer 2007-08-02 09:45:32 UTC
While 

cjp@workstation6l:~> zypper lr
# | Enabled | Refresh | Type   | Name                       | URI                                                                              
--+---------+---------+--------+----------------------------+----------------------------------------------------------------------------------
1 | Yes     | Yes     | yast2  | openSuSE_10.3_Debuginfo    | http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/
1 | Yes     | Yes     | rpm-md | Videolan openSuSE 10.3     | http://download.videolan.org/pub/videolan/vlc/SuSE/10.3                          
1 | Yes     | Yes     | yast2  | openSuSE_10.3_Extras       | http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/  
1 | No      | Yes     | yast2  | openSuSE_10.3_Factory      | http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/            
1 | No      | No      | yast2  | openSuSE 10.3 alpha6 DVD   | dvd:///                                                                          
1 | Yes     | Yes     | rpm-md | Packman-RPMs               | http://ftp.gwdg.de/pub/linux/misc/packman/suse/10.2                              
1 | Yes     | Yes     | rpm-md | rbos home openSuSE Factory | http://download.opensuse.org/repositories/home:/rbos/openSUSE_Factory   

provides names for all repositories, this is different in yast2 inst_source

see screenshot

as well as yast2 sw_single

see screenshot

workstation6l:/home/cjp # uname -r
2.6.22.1-10-default

workstation6l:/home/cjp # cat /etc/SuSE-release
openSUSE 10.3 (i586) Alpha7
VERSION = 10.3

workstation6l:/home/cjp # rpm -qa | grep yast
yast2-control-center-2.14.6-32
yast2-registration-2.14.6-8
yast2-firewall-2.15.7-3
yast2-slp-2.14.1-68
yast2-tv-2.15.6-16
yast2-perl-bindings-2.15.1-17
yast2-http-server-2.15.6-5
yast2-control-center-gnome-2.13.2-52
yast2-irda-2.15.1-59
yast2-x11-2.15.10-26
yast2-theme-openSUSE-2.15.4-9
yast2-kerberos-client-2.15.6-10
autoyast2-2.15.13-8
yast2-ldap-server-2.15.5-41
yast2-samba-client-2.15.10-7
yast2-packager-2.15.52-2
yast2-storage-2.15.19-5
yast2-sound-2.15.8-16
yast2-country-2.15.14-4
yast2-network-2.15.55-5
yast2-samba-server-2.15.7-19
yast2-users-2.15.33-5
yast2-hardware-detection-2.15.8-6
yast2-mouse-2.15.1-46
yast2-scanner-2.15.5-7
yast2-ldap-client-2.15.11-5
yast2-nfs-client-2.14.0-66
yast2-ftp-server-2.15.7-3
yast2-trans-en_US-2.15.1-6
yast2-apparmor-2.0.2-10
yast2-support-2.15.2-37
yast2-sysconfig-2.15.3-24
autoyast2-installation-2.15.13-8
yast2-2.15.43-4
yast2-inetd-2.15.1-3
yast2-backup-2.15.4-11
yast2-profile-manager-2.15.0-14
yast2-mail-2.15.9-34
yast2-bootloader-2.15.14-5
yast2-schema-2.15.0-72
yast2-trans-de-2.15.10-6
yast2-repair-2.15.7-20
yast2-printer-2.15.3-4
yast2-runlevel-2.15.2-8
yast2-nfs-server-2.15.3-46
yast2-sudo-2.15.3-48
yast2-tftp-server-2.14.0-70
yast2-qt-2.15.7-8
yast2-installation-2.15.37-3
yast2-core-2.15.6-32
yast2-xml-2.15.0-33
yast2-metapackage-handler-0.4-4
yast2-ldap-2.15.1-48
yast2-tune-2.15.6-32
yast2-restore-2.15.2-3
yast2-storage-lib-2.15.19-5
yast2-security-2.15.0-54
yast2-power-management-2.15.1-24
yast2-dns-server-2.15.3-43
yast2-control-center-qt-2.14.6-32
yast2-bluetooth-2.15.2-25
yast2-pam-2.14.0-93
yast2-cd-creator-2.15.4-63
yast2-update-2.15.18-6
yast2-add-on-2.15.10-12
yast2-iscsi-client-2.15.2-4
yast2-ca-management-2.15.1-9
yast2-transfer-2.14.0-72
yast2-ncurses-2.15.21-7
yast2-trans-stats-2.15.0-10
yast2-ntp-client-2.15.5-4
yast2-online-update-frontend-2.15.19-9
yast2-nis-client-2.15.2-44
yast2-online-update-2.15.19-9
yast2-pkg-bindings-2.15.35-4
Comment 1 Casual J. Programmer 2007-08-02 09:46:25 UTC
Created attachment 155105 [details]
Screenshot of yast2 inst_source
Comment 2 Casual J. Programmer 2007-08-02 09:46:55 UTC
Created attachment 155107 [details]
Screenshot of yast2 sw_single
Comment 3 Cyril Hrubis 2007-08-02 10:56:18 UTC
Please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 4 Casual J. Programmer 2007-08-02 12:23:36 UTC
Created attachment 155158 [details]
yast2 logs
Comment 5 Ladislav Slezák 2007-08-10 11:01:41 UTC
It's strange that only one name is empty.

Please attach /etc/zypp/repos.d/* files (I'm interested especially in /etc/zypp/repos.d/openSuSE_10.3_Factory.repo file).
Comment 6 Casual J. Programmer 2007-08-15 06:05:15 UTC
This is not the same setup any more, but the eroor still persists. Currently I have installed the following Sources:

zypper lr
# | Enabled | Refresh | Type   | Name                                                                              | URI                                                                                               
--+---------+---------+--------+-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------
1 | Yes     | Yes     | yast2  | openSUSE-10.3-Extras                                                              | http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/                   
2 | Yes     | Yes     | yast2  | http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/             | http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/                             
3 | No      | No      | yast2  | openSUSE-10.3-Beta1-KDE                                                           | iso:///?iso=openSUSE-10.3-Beta1-KDE-i386.iso&url=file:///media/WS6L-Extern1/antonyarendt/Download/
4 | No      | No      | yast2  | 20070813-163841                                                                   | cd:///?devices=/dev/sr0                                                                           
5 | Yes     | Yes     | yast2  | http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/ | http://download.opensuse.org/distribution/SL-OSS-factory-debug/inst-source-debug/                 
6 | Yes     | Yes     | rpm-md | Videolan-openSUSE-10.3                                                            | http://download.videolan.org/pub/videolan/vlc/SuSE/10.3  

The last one I added thru yast2 inst_source, while the name  given   ( Videolan-openSUSE-10.3 ) is reflected properly in zypper, it is empty in yast2 sw_single.

                                


Comment 7 Casual J. Programmer 2007-08-15 06:06:11 UTC
Created attachment 157557 [details]
Content of /etc/zypp/repos.d
Comment 8 Casual J. Programmer 2007-08-15 06:09:28 UTC
Created attachment 157558 [details]
Screenshot of yast2 inst_source
Comment 9 Casual J. Programmer 2007-08-15 06:11:08 UTC
Created attachment 157559 [details]
Screenshot of yast2 sw_single

As you can see by the screenshots, names of the repos in sw_single differ from inst_source
Comment 10 Ladislav Slezák 2007-08-15 08:23:23 UTC
The package selector widget displays product name as the repository name (in the past repositories didn't have names).

It should display repository name (zypp::RepoInfo::name()) instead.
Both Qt and ncurses frontends are affected.
Comment 11 Katarina Machalkova 2007-08-22 15:43:26 UTC
Fixed for y2-ncurses 2.15.25
Comment 12 Katarina Machalkova 2007-08-22 15:44:42 UTC
Created attachment 159120 [details]
A patch for yast2-qt :)
Comment 13 Katarina Machalkova 2007-08-23 11:28:34 UTC
Fixed for y2-qt in svn, for the next build (2.15.13)