Bug 342758

Summary: community repositories broken ...
Product: [openSUSE] openSUSE 10.3 Reporter: Michael Meeks <mmeeks>
Component: Live MediumAssignee: Lukas Ocilka <locilka>
Status: RESOLVED FIXED QA Contact: Stephan Kulow <coolo>
Severity: Major    
Priority: P5 - None CC: jsrain, locilka
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michael Meeks 2007-11-19 16:52:28 UTC
I installed from the nice live bootable CD, then after a while wanted more software (like you do ;-).

I ran the nice yast2 "community repositories" tool as root:

/usr/lib/YaST2/bin/y2base inst_productsources gtk

and it spews these cryptic things to y2log:


2007-11-19 16:47:11 <1> linux(13110) [YCP] SuSERelease.ycp:47 File with release information: /etc/SuSE-release
2007-11-19 16:47:11 <1> linux(13110) [YCP] NetworkService.ycp:136 Network is running ...
2007-11-19 16:47:11 <1> linux(13110) [YCP] clients/inst_productsources.ycp:159 Adjusting proxy settings
2007-11-19 16:47:11 <1> linux(13110) [YCP] clients/inst_productsources.ycp:505 Using lang: nil
2007-11-19 16:47:11 <1> linux(13110) [YCP] clients/inst_productsources.ycp:632 Preferred language:  
2007-11-19 16:47:11 <1> linux(13110) [YCP] XML.ycp:113 Reading /etc/YaST2/control.xml
2007-11-19 16:47:11 <1> linux(13110) [agent-xml] XmlAgent.cc(Read):758 Setting XML generic error handler
2007-11-19 16:47:11 <1> linux(13110) [agent-xml] XmlAgent.cc(Read):793 Freeing generic XML error handler
2007-11-19 16:47:11 <1> linux(13110) [YCP] clients/inst_productsources.ycp:332 Got link: http://seven-swords.net/Repos/openSUSE_10.3/testing_list_of_repositories.xml
2007-11-19 16:47:11 <1> linux(13110) [YCP] clients/inst_productsources.ycp:340 Using link: http://seven-swords.net/Repos/openSUSE_10.3/testing_list_of_repositories.xml
2007-11-19 16:47:11 <1> linux(13110) [agent-curl] CurlAgent.cc(Execute):217 Data: 
2007-11-19 16:47:11 <1> linux(13110) [agent-curl] CurlAgent.cc(Execute):218 Output: /tmp/YaST2-13110-9UKC2A/inst_productsources_downloadfile
2007-11-19 16:47:12 <1> linux(13110) [agent-curl] CurlAgent.cc(Get):114 curl returned -> response code: 404, total size: 349, total time 0.766607, content type: text/html; charset=iso-8859-1
2007-11-19 16:47:12 <1> linux(13110) [YCP] clients/inst_productsources.ycp:382 Server response: $["code":404, "content-type":"text/html; charset=iso-8859-1", "dsize":349., "totaltime":0.766607]
2007-11-19 16:47:12 <1> linux(13110) [YCP] XML.ycp:113 Reading /tmp/YaST2-13110-9UKC2A/inst_productsources_downloadfile
2007-11-19 16:47:12 <1> linux(13110) [agent-xml] XmlAgent.cc(Read):758 Setting XML generic error handler
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 Space required after the Public Identifier
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 SystemLiteral " or ' expected
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 SYSTEM or PUBLIC, the URI is missing
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 AttValue: " or ' expected
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 attributes construct error
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 Couldn't find end of Start Tag a line 8
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 Opening and ending tag mismatch: ADDRESS line 8 and a
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 Opening and ending tag mismatch: HR line 7 and ADDRESS
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 Opening and ending tag mismatch: P line 6 and BODY
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 Opening and ending tag mismatch: BODY line 4 and HTML
2007-11-19 16:47:12 <3> linux(13110) [agent-xml] XmlAgent.cc(xmlagentError):680 Premature end of data in tag HTML line 2
2007-11-19 16:47:12 <1> linux(13110) [agent-xml] XmlAgent.cc(Read):786 Freeing generic XML error handler
2007-11-19 16:47:12 <3> linux(13110) [Interpreter] XML.ycp:114 Failed while processing XIncludes
2007-11-19 16:47:12 <3> linux(13110) [Interpreter] XML.ycp:114 SCR::Read() failed
2007-11-19 16:47:12 <3> linux(13110) [YCP] clients/inst_productsources.ycp:400 Reading file /tmp/YaST2-13110-9UKC2A/inst_productsources_downloadfile failed
2007-11-19 16:47:12 <3> linux(13110) [YCP] clients/inst_productsources.ycp:474 Unable to parse list of servers
2007-11-19 16:47:12 <3> linux(13110) [YCP] clients/inst_productsources.ycp:648 Cannot download or parse repositories


The punch line seems to be from etc/YaST2/control.xml:

   <software>
        <delete_old_packages config:type="boolean">true</delete_old_packages>
        <selection_type config:type="symbol">auto</selection_type>

        <!-- FATE #300898, List of external sources accesible during the installaion time -->
        <external_sources_link>http://seven-swords.net/Repos/openSUSE_10.3/testing_list_of_repositories.xml</external_sources_link>
        <base_repo_url>http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/</base_repo_url>
    </software>

Unfortunately the seven-swords (strange name) server appears not to have that file in that place anymore.
Comment 1 Stephan Kulow 2007-11-19 17:01:12 UTC
Jiri, can we have an uptodate live-installer.xml?
Comment 2 Lukas Ocilka 2007-11-22 12:50:36 UTC
- Fixed link to online repositories (#342758).
- 2.15.16
Comment 3 Lukas Ocilka 2007-11-22 12:51:45 UTC
Used diff

--- branches/SuSE-Linux-10_3-Branch/live-installer/src/control/live-install.xml (original)
+++ branches/SuSE-Linux-10_3-Branch/live-installer/src/control/live-install.xml Thu Nov 22 13:36:30 2007
@@ -40,8 +40,12 @@
         <delete_old_packages config:type="boolean">true</delete_old_packages>
         <selection_type config:type="symbol">auto</selection_type>
 
+	<!-- Bugzilla #327791, if not set, default is true -->
+	<online_repos_preselected config:type="boolean">false</online_repos_preselected>
+
 	<!-- FATE #300898, List of external sources accesible during the installaion time -->
-	<external_sources_link>http://seven-swords.net/Repos/openSUSE_10.3/testing_list_of_repositories.xml</external_sources_link>
+	<external_sources_link>http://download.opensuse.org/YaST/Repos/openSUSE_103_Servers.xml</external_sources_link>
+
 	<base_repo_url>http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/</base_repo_url>
     </software>
Comment 4 Stephan Kulow 2007-11-22 17:50:24 UTC
*** Bug 343700 has been marked as a duplicate of this bug. ***