[Bug 768624] New: inst_extrasources.ycp vs inst_addon_update_sources.ycp
https://bugzilla.novell.com/show_bug.cgi?id=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c0 Summary: inst_extrasources.ycp vs inst_addon_update_sources.ycp Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lnussel@suse.com QAContact: jsrain@suse.com CC: coolo@suse.com Found By: --- Blocker: --- After installation (ftp) one get the following repos: Aktualisierungen-für-openSUSE-12.2-12.2-1.16.repo openSUSE-12.2-12.2-1.16.repo repo-debug.repo repo-debug-update.repo repo-non-oss.repo repo-oss.repo repo-source.repo The first two were added by inst_addon_update_sources.ycp and the latter ones by inst_extrasources.ycp. The first repo should actually be named "repo-update.repo" according to control.xml. The second repo is redundant with repo-oss. -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |jsuchome@suse.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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c1 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lnussel@suse.com --- Comment #1 from Jiří Suchomel <jsuchome@suse.com> 2012-07-02 09:20:27 UTC --- Log files? -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c2 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|lnussel@suse.com | --- Comment #2 from Ludwig Nussel <lnussel@suse.com> 2012-07-02 16:11:56 CEST --- I already looked up the source code responsible for adding the repos for you. What other information do you need from the log files? -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c3 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lnussel@suse.com --- Comment #3 from Jiří Suchomel <jsuchome@suse.com> 2012-07-02 14:25:24 UTC --- I want to get touch with the code. See the metadata that are used there and which arguments are used incorrectly or which code check is missing. I expect to find that in log files. -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c4 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|lnussel@suse.com | --- Comment #4 from Ludwig Nussel <lnussel@suse.com> 2012-07-02 16:34:57 CEST --- Created an attachment (id=497118) --> (http://bugzilla.novell.com/attachment.cgi?id=497118) y2logs -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c5 --- Comment #5 from Jiří Suchomel <jsuchome@suse.com> 2012-07-02 15:32:28 UTC --- The name for 1st repo is generated as described in bug 542792: Updates for <product> <version> It's alias ID that is missing, and that is indeed not read from control file. -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c6 --- Comment #6 from Jiří Suchomel <jsuchome@suse.com> 2012-07-02 16:04:44 UTC --- inst_addon_update_sources.ycp is adding sources defined by 'update_urls' of each product (esp. Add-Ons, but not only). This has nothing to do with control.xml inst_extrasources.ycp, on the other hand, adds the sources defined in control.xml. So far, I see these possible solutions: 1. do not check for base product in inst_addon_update_sources step 2. switch the order of these 2 steps, so 1st would be predefined sources, and only later possibly the ones from proucts (if they are not registered already). 2 is easier code-wise, but I'm not sure if we'd not run into some other problem... -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c7 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |lnussel@suse.com --- Comment #7 from Jiří Suchomel <jsuchome@suse.com> 2012-07-04 05:51:56 UTC --- Ludwig, could you try second option, switching steps in control file? If not during normal installation, you can do it in /etc/YaST/control.xml of installed system, delete your current repositories, touch /var/lib/YaST/runme_at_boot and run 2nd stage again... -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c8 --- Comment #8 from Ludwig Nussel <lnussel@suse.com> 2012-07-05 14:51:05 CEST --- Switching the two modules via control.xml results in repo-update indeed. That doesn't really fix the issue of yast picking a rather inconvenient alias for the repo though. What about setting the alias of the repo according to the 'name' tag of the url and only using the generated pretty name for the 'name' tag of the repo? -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c9 --- Comment #9 from Jiří Suchomel <jsuchome@suse.com> 2012-07-09 11:13:15 UTC --- Created an attachment (id=497772) --> (http://bugzilla.novell.com/attachment.cgi?id=497772) patch for /usr/share/YaST2/clients/inst_addon_update_sources.ycp Try patching inst_addon_update_sources.ycp and see if this result is good enough. (It should create repo with 'update-openSUSE-12.2' alias) -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c10 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|lnussel@suse.com | --- Comment #10 from Ludwig Nussel <lnussel@suse.com> 2012-07-11 15:50:58 CEST --- better than the translated string before I guess. -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c11 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Jiří Suchomel <jsuchome@suse.com> 2012-07-12 06:13:49 UTC --- than it is fixed -- 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=768624 https://bugzilla.novell.com/show_bug.cgi?id=768624#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-07-12 09:00:15 CEST --- This is an autogenerated message for OBS integration: This bug (768624) was mentioned in https://build.opensuse.org/request/show/127695 Factory / yast2-installation -- 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