<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>diehn.net/blog &#187; sysadm suse you yast2</title>
	<atom:link href="http://diehn.net/blog/category/sysadm-suse-you-yast2/feed/" rel="self" type="application/rss+xml" />
	<link>http://diehn.net/blog</link>
	<description></description>
	<lastBuildDate>Fri, 13 Apr 2012 13:16:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Studying openSUSE Yast Online Update (YOU).</title>
		<link>http://diehn.net/blog/2008/02/studying-opensuse-yast-online-update-you/</link>
		<comments>http://diehn.net/blog/2008/02/studying-opensuse-yast-online-update-you/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 14:28:00 +0000</pubDate>
		<dc:creator>Mike Diehn</dc:creator>
				<category><![CDATA[sysadm suse you yast2]]></category>

		<guid isPermaLink="false">http://diehn.net/blog/?p=47</guid>
		<description><![CDATA[2008-02-14 mdiehn.Hi, this is Mike. I&#8217;m just making notes as I learn, so not to forget what I&#8217;ve discovered. Happy Valentine&#8217;s Day. Working on rondo.fluent.com, an openSUSE 10.3 system &#8211; trying to understand the workings of the Yast Online Update system. We want to make a local repository and wondered if we could &#8220;piggy-back&#8221; the [...]]]></description>
			<content:encoded><![CDATA[<p>2008-02-14 mdiehn.<br />Hi, this is Mike.  I&#8217;m just making notes as I learn, so not to forget what I&#8217;ve discovered.  Happy Valentine&#8217;s Day.</p>
<p>Working on rondo.fluent.com, an openSUSE 10.3 system &#8211; trying to understand the workings of the Yast Online Update system.  We want to make a local repository and wondered if we could &#8220;piggy-back&#8221; the server on a YOU client.  So I&#8217;m studying a client while it works.</p>
<p>Found that /var/cache/zypp contains a set of xml files for each software repository configured in YAST. Have a look at what I found in them:</p>
<pre>rondo:/var/cache/zypp # lsraw  zypp.dbrondo:/var/cache/zypp/raw # lsopenSUSE-10.3-DVD 10.3  openSUSE-10.3-Updatesrondo:/var/cache/zypp/raw/openSUSE-10.3-Updates # lsrepodatarondo:/var/cache/zypp/raw/openSUSE-10.3-Updates/repodata # lspatch-aaa_base-4866.xmlpatch-alsa-4737.xmlpatch-amarok-4492.xml.[300 some xml files omitted].patch-yast2-trans-de-4889.xmlpatch-zypper-4530.xmlprimary.xml.gzrepomd.xmlrepomd.xml.ascrepomd.xml.keyrondo:/var/cache/zypp/raw/openSUSE-10.3-Updates/repodata # </pre>
<p>Looks like an xml file for every patch on the update server.  The actual RPMs containing the patches aren&#8217;t put here.  Instead, they appear in an ephermial stucture under /var/adm/mount that exists only while the update process is actually running:</p>
<pre>rondo:/var/adm # find .../mount./mount/AP_0x00000002./mount/AP_0x00000002/rpm./mount/AP_0x00000002/rpm/x86_64./mount/AP_0x00000002/rpm/x86_64/kernel-source-2.6.22.17-0.1.x86_64.rpm./mount/AP_0x00000002/rpm/x86_64/kernel-source-2.6.22.16_2.6.22.17-0.2_0.1.x86_64.delta.rpm.[the rest of the find output isn't relevant]</pre>
<p>Only the rpms currently and immediately in use by the update process exists.  Looks like it operates on one &#8220;patch&#8221; at a time and that occasionally that will mean more than one rpm in the queue at once, as we see here.</p>
<p>More later as I find it.</p>
]]></content:encoded>
			<wfw:commentRss>http://diehn.net/blog/2008/02/studying-opensuse-yast-online-update-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

