[Bug 297136] New: inst_source listview contains unnamed sources
https://bugzilla.novell.com/show_bug.cgi?id=297136 Summary: inst_source listview contains unnamed sources Product: openSUSE 10.3 Version: Alpha 7 Platform: 32bit OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wstephenson@novell.com QAContact: jsrain@novell.com Found By: Development I have 8 installation sources defined. In the new inst_source UI all 8 are present but only 4 of them have a value set in the Name or Enabled columns, despite all 8 having names, and all 8 are enabled. Therefore there are 4 'ghost' items in the listview, which become visible in the lower pane when clicked on. Screenshot available if this is not clear. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c1 --- Comment #1 from Will Stephenson <wstephenson@novell.com> 2007-08-03 02:39:39 MST --- Created an attachment (id=155397) --> (https://bugzilla.novell.com/attachment.cgi?id=155397) yast2 log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c2 --- Comment #2 from Will Stephenson <wstephenson@novell.com> 2007-08-03 02:51:42 MST --- I just realised that I have 8 repos because 4 are duplicates. I guess these were created during the upgrade from alpha6 to alpha7. Is this an upgrade artifact or is there a bug that existing repos are duplicated? Probably a question for the upgrade/installer/libzypp people. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |lslezak@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c3 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |wstephenson@novell.com --- Comment #3 from Ladislav Slezak <lslezak@novell.com> 2007-08-09 08:36:16 MST --- Please, attach content of /etc/zypp/repos.d directory (use e.g. 'tar cfzv repos.tar.gz /etc/zypp/repos.d' command). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c4 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lslezak@novell.com |locilka@novell.com Status|NEEDINFO |NEW Info Provider|wstephenson@novell.com | --- Comment #4 from Ladislav Slezak <lslezak@novell.com> 2007-08-09 08:56:58 MST --- inst_upgrade_urls.ycp client reads these files: 2007-08-02 13:12:45 <1> 10.10.4.45(3982) [Interpreter] clients/inst_upgrade_urls.ycp:508 Calling YaST client inst_upgrade_urls (arguments: [$["enable_back":false, "enable_next":true]]) 2007-08-02 13:12:46 <1> 10.10.4.45(6267) [ag_anyxml] Reading: '/mnt/var/lib/zypp/db/sources//9b3c9b416d4c36ccfc8fe4a100d5e0c4' 2007-08-02 13:12:46 <1> 10.10.4.45(6267) [ag_anyxml] Reading: '/mnt/var/lib/zypp/db/sources//e67f47b63c4e82c8b5a66412185a0592' 2007-08-02 13:12:46 <1> 10.10.4.45(6267) [ag_anyxml] Reading: '/mnt/var/lib/zypp/db/sources//3287069a8aa3289cda66d49fd547eafb' 2007-08-02 13:12:46 <1> 10.10.4.45(6267) [ag_anyxml] Reading: '/mnt/var/lib/zypp/db/sources//7c02c82ea2ce0136a92890d64ab2362d' 2007-08-02 13:12:46 <1> 10.10.4.45(6267) [ag_anyxml] Reading: '/mnt/var/lib/zypp/db/sources//ecdf548ea362dfe63f0868b963e819b7' 2007-08-02 13:12:46 <1> 10.10.4.45(6267) [ag_anyxml] Reading: '/mnt/var/lib/zypp/db/sources//b49cf826c6a291fdb575ac3921f0af64' 2007-08-02 13:12:46 <1> 10.10.4.45(3982) [YCP] clients/inst_upgrade_urls.ycp:71 URLs: [$["enabled":true, "name":"home:wstephens on", "url":"http://software.opensuse.org/download/home:/wstephenson/openSUSE_Factory"], $["enabled":true, "name":"KDE:KDE3", "u rl":"http://software.opensuse.org/download/KDE%3a/KDE4/SUSE_Factory"], $["enabled":true, "name":"openSUSE Tools", "url":"http:/ /software.opensuse.org/download/openSUSE:/Tools/SUSE_Linux_Factory"], $["enabled":true, "name":"home:dkukawka", "url":"http://s oftware.opensuse.org/download/home:/dkukawka/openSUSE_Factory"], $["enabled":true, "name":"20070718-222501", "url":"ftp://ftp.u ni-erlangen.de/pub/mirrors/packman/suse/10.2"], $["enabled":true, "name":"ftp://dist/install/stable-x86", "url":"ftp://dist/ins tall/stable-x86"]] 2007-08-02 13:12:46 <1> 10.10.4.45(6268) [ag_zypp_repos] Reading: '/mnt/etc/zypp/repos.d/' 2007-08-02 13:12:46 <1> 10.10.4.45(6268) [ag_zypp_repos] Parsing file: /mnt/etc/zypp/repos.d//20070724-121017.repo 2007-08-02 13:12:46 <1> 10.10.4.45(6268) [ag_zypp_repos] Parsing file: /mnt/etc/zypp/repos.d//20070724-120703.repo 2007-08-02 13:12:46 <1> 10.10.4.45(6268) [ag_zypp_repos] Parsing file: /mnt/etc/zypp/repos.d//home:dkukawka.repo 2007-08-02 13:12:46 <1> 10.10.4.45(6268) [ag_zypp_repos] Parsing file: /mnt/etc/zypp/repos.d//20070724-120312.repo Maybe it registers some repo twice... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c5 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com Status|NEW |ASSIGNED --- Comment #5 from Lukas Ocilka <locilka@novell.com> 2007-08-09 09:53:12 MST --- This bug is caused by fixing bug 292986 Those repositories without name are created by inst_upgrade_urls. Repositories with name are migrated by libzypp itself. It seems these two features are in conflict :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com, flucifredi@novell.com, | |gp@novell.com, coolo@novell.com Severity|Normal |Major -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c6 Jigish Gohil <jigish.gohil@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jigish.gohil@gmail.com --- Comment #6 from Jigish Gohil <jigish.gohil@gmail.com> 2007-08-11 08:10:02 MST --- All the repositories added as following shows up with no name in yast installation source view too: zypper sa ftp://ftp-1.gwdg.de/pub/opensuse/distribution/SL-OSS-factory/inst-source factory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c7 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |dmacvicar@novell.com --- Comment #7 from Lukas Ocilka <locilka@novell.com> 2007-08-22 01:53:52 MST --- Duncan, what exactly does your script for re-enabling sources? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c8 --- Comment #8 from Lukas Ocilka <locilka@novell.com> 2007-08-23 02:07:40 MST --- Duncan? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c9 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|dmacvicar@novell.com | --- Comment #9 from Duncan Mac-Vicar <dmacvicar@novell.com> 2007-08-23 03:56:13 MST --- The script just migrates all old sources, let them disabled and delete the old ones. I think probably I have to check if yast is running, and do nothing in this case, or? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c10 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |locilka@novell.com AssignedTo|locilka@novell.com |dmacvicar@novell.com Status|ASSIGNED |NEW --- Comment #10 from Lukas Ocilka <locilka@novell.com> 2007-08-23 05:04:37 MST --- Yes, it seems this could help however isn't actually YaST running 'always'? Frankly, I don't know when the migration script is called. In my opinion, the script should be called by migrate only sources that weren't actually migrated. For instance... The set of sources before update: http://1/ http://2/ nfs://3/ Migrated by YaST: http://2/ (enabled and used during installation/update) Migrated (added as disabled) by your script: http://1/ (disabled) nfs://3/ (disabled) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c11 --- Comment #11 from Stanislav Visnovsky <visnov@novell.com> 2007-08-23 05:14:17 MST --- YAST_IS_RUNNING=instsys ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c12 --- Comment #12 from Stanislav Visnovsky <visnov@novell.com> 2007-08-23 05:15:18 MST --- YAST_IS_RUNNING=setup ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c13 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |visnov@novell.com --- Comment #13 from Duncan Mac-Vicar <dmacvicar@novell.com> 2007-08-23 05:36:30 MST --- I think the real solution is to make Lukas migraton dempotent, that is, we are asking the user explicitly here "what sources you want to migrate", so after the migration, the complete /var/lib/zypp/db/sources content can be deleted, and the postscrpt will only migrate sources not migrated by the upgrade process (zypper upgrades, manual rpm). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c14 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|visnov@novell.com | --- Comment #14 from Lukas Ocilka <locilka@novell.com> 2007-08-23 06:35:59 MST --- After quite a long discussion, we've decided to implement --- cut --- YAST_IS_RUNNING=instsys --- cut --- Only in this case, migration post-script will be skipped otherwise it would migrate the sources as it does now. Use cases: ---------- yast2 installation --- YAST_IS_RUNNING="instsys" migration script will be skipped yast2 sw_single --- YAST_IS_RUNNING="yes" migration script will migrate the sources zypper upgrade --- YAST_IS_RUNNING="" migration script will migrate the sources rpm -Uvh ... --- YAST_IS_RUNNING="" migration script will migrate the sources Duncan, please, fix it in the post-install script, thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c15 --- Comment #15 from Stanislav Visnovsky <visnov@novell.com> 2007-09-04 08:31:09 MST --- What needs to be done here? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297136#c16 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #16 from Duncan Mac-Vicar <dmacvicar@novell.com> 2007-10-03 11:05:30 MST --- This was fixed in GM, the 2 methods of upgrading old sources are no longer in conflict. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com