<?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>itsMine &#187; yum</title>
	<atom:link href="http://blog.itsmine.co.uk/tag/yum/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.itsmine.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 18 Apr 2010 02:28:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<atom:link rel="next" href="http://blog.itsmine.co.uk/tag/yum/feed/?page=2" />

		<item>
		<title>HOWTO: Convert from RHEL 5.3 to CENTOS 5.3</title>
		<link>http://blog.itsmine.co.uk/2009/08/28/howto-convert-from-rhel-5-3-to-centos-5-3/</link>
		<comments>http://blog.itsmine.co.uk/2009/08/28/howto-convert-from-rhel-5-3-to-centos-5-3/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 12:57:58 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=670</guid>
		<description><![CDATA[This is actually a lot more simple than I was expecting. Recently our RHEL subscription for a backup server expired and couldn&#8217;t really justify the cost to renew it, so I decided to convert it to a CentOS installation by doing the below: yum clean all mkdir /usr/src/centos cd /usr/src/centos wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-3.el5.centos.1.i386.rpm wget [...]]]></description>
			<content:encoded><![CDATA[<p>This is actually a lot more simple than I was expecting. Recently our RHEL subscription for a backup server expired and couldn&#8217;t really justify the cost to renew it, so I decided to convert it to a CentOS installation by doing the below:</p>
<pre class="brush: bash; title: ;">yum clean all
mkdir /usr/src/centos
cd /usr/src/centos
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-3.el5.centos.1.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-notes-5.3-3.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
rpm –-import RPM-GPG-KEY-CentOS-5
/bin/rpm -e --nodeps redhat-release
/bin/rpm -e --nodeps rhn-client-tools
/bin/rpm -e --nodeps yum-rhn-plugin
rpm -Uvh --force *.rpm
yum upgrade</pre>
<p>How painless was that?!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/08/28/howto-convert-from-rhel-5-3-to-centos-5-3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Yum restore script</title>
		<link>http://blog.itsmine.co.uk/2009/01/04/yum-restore-script/</link>
		<comments>http://blog.itsmine.co.uk/2009/01/04/yum-restore-script/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 01:05:00 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=354</guid>
		<description><![CDATA[Ok, so I&#8217;m about to do a reinstallation of Fedora (I made a boo-boo which would be easier to fix by a re-install than go through manually and try to fix). I have backups, but not of the lib folders etc, I do however have backups of the uber important folders e.g. /etc /home /root [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I&#8217;m about to do a reinstallation of Fedora (I made a boo-boo which would be easier to fix by a re-install than go through manually and try to fix). I have backups, but not of the lib folders etc, I do however have backups of the uber important folders e.g. /etc /home /root etc. Anyway, I want to do a minimum-fuss reinstall, and decided to write a wee script which would take a list of all my currently installed packages and make a nice simple exectuable bash script so that once I&#8217;ve set up the repos on the new system I can simply execute this script, it&#8217;ll install all the packages I have now, then I can just restore my /etc/directory on top and hey-presto, I&#8217;ll be back to a nicely functioning system.</p>
<p>So without further ado:</p>
<pre>#!/bin/bash

INSTALLED=/tmp/yum-installed

LIST=/tmp/list

EXECUTABLE=/home/rob/yum

USER=rob

GROUP=$USER

UNATTENDED_INSTALL=yes #yes/no

cat /dev/null &gt; $EXECUTABLE

sudo yum clean all;sudo yum list installed | awk -F' ' '{print $1}' | sed 1d | sed 1d | sed s/.i386// &amp;&gt; $INSTALLED

exec 3&lt; $INSTALLED

while read &lt;&amp;3

do

echo -n "$REPLY " &gt;&gt; $LIST

done

exec 3&gt;&amp;-

# Create the yum installation script file

if [ $UNATTENDED_INSTALL = "yes" ]

then

OPTION="-y"

fi

echo "#!/bin/bash" &gt;&gt; $EXECUTABLE

echo -n "$REPLY " &gt;&gt; $LIST

echo "sudo yum clean all;sudo yum install $OPTION `cat $LIST`" &gt;&gt; $EXECUTABLE

# Set correct perms

chmod +x $EXECUTABLE

chown $USER.$GROUP $EXECUTABLE

# Cleanup

rm -f $LIST

rm -f $INSTALLED

Obviously edit the vars at the top to suit your setup etc - then just sudo (or execute as root) the $EXECUTABLE</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/01/04/yum-restore-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 10 clean install &#8211; update issue</title>
		<link>http://blog.itsmine.co.uk/2008/12/08/fedora-10-clean-install-update-issue/</link>
		<comments>http://blog.itsmine.co.uk/2008/12/08/fedora-10-clean-install-update-issue/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 22:15:48 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=333</guid>
		<description><![CDATA[This evening I installed Fedora 10 onto my desktop so I can use it as my primary OS &#8211; I&#8217;d had enough of Vista 64 Ultimate to last me a lifetime. Anyway, I didn&#8217;t expect the install to go amazingly smoothly, since I&#8217;m running relatively new hardware, however I was pleasantly surprised at just how [...]]]></description>
			<content:encoded><![CDATA[<p>This evening I installed Fedora 10 onto my desktop so I can use it as my primary OS &#8211; I&#8217;d had enough of Vista 64 Ultimate to last me a lifetime. Anyway, I didn&#8217;t expect the install to go amazingly smoothly, since I&#8217;m running relatively new hardware, however I was pleasantly surprised at just how easy the install has become. My only wee gripe is that I had an issue with my standard <em>yum update</em> which I do after I install any Red Hat OS.</p>
<p>This may (or may not) have been caused by an issue with <a href="http://rpmfusion.org/" target="_blank">RPMfusion</a>, since I had installed their repo onto my system, regardless, I was presented with the following:<br />
<code><br />
[root@desktop64 src]# yum update<br />
Loaded plugins: refresh-packagekit<br />
Setting up Update Process<br />
Resolving Dependencies<br />
--&gt; Running transaction check<br />
---&gt; Package m17n-contrib-marathi.noarch 0:1.1.8-2.fc10 set to be updated<br />
---&gt; Package m17n-contrib-tamil.noarch 0:1.1.8-2.fc10 set to be updated<br />
---&gt; Package mesa-dri-drivers.i386 0:7.2-0.14.fc10 set to be updated<br />
---&gt; Package m17n-contrib-sinhala.noarch 0:1.1.8-2.fc10 set to be updated</code></p>
<p>&#8230;&#8230;..</p>
<p><code>---&gt; Package bind-utils.i386 32:9.5.1-0.9.b3.fc10 set to be updated<br />
--&gt; Finished Dependency Resolution<br />
gnome-packagekit-0.3.9-8.fc10.i386 from installed has depsolving problems<br />
--&gt; Missing Dependency: libpackagekit-glib.so.10 is needed by package gnome-packagekit-0.3.9-8.fc10.i386 (installed)<br />
kpackagekit-0.3.1-4.fc10.i386 from installed has depsolving problems<br />
--&gt; Missing Dependency: libpackagekit-qt.so.10 is needed by package kpackagekit-0.3.1-4.fc10.i386 (installed)<br />
Error: Missing Dependency: libpackagekit-glib.so.10 is needed by package gnome-packagekit-0.3.9-8.fc10.i386 (installed)<br />
Error: Missing Dependency: libpackagekit-qt.so.10 is needed by package kpackagekit-0.3.1-4.fc10.i386 (installed)<br />
</code></p>
<p>This was resolved by simply doing a</p>
<p><code>[root@desktop64 src]# yum remove gnome-packagekit kpackagekit</code><br />
since these packages were the only ones causing an issue.</p>
<p><strong>[EDIT: VileGent in #fedora on freenode suggested the following, which would also resolve the issue, without having to remove packagekit  <em>yum --skip-broken update </em>]</strong><br />
In related news, it looks like Fedora was stricken with <a href="https://bugzilla.redhat.com/show_bug.cgi?id=475074" target="_blank">a rather large bug</a> which caused a log of issues with dbus etc &#8211; I think the above problem was strongly related to this bugzilla bug, however I can&#8217;t be sure, and I can&#8217;t be bothered to to a re-install to find out &#8211; besides, I can live without packagekit anyway <img src='http://blog.itsmine.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>[UPDATE: Updated packages are available, but haven't been signed and committed to the [fedora-updates] repository yet. If you can&#8217;t wait, try the following script:<br />
<code>#!/bin/bash<br />
cd /usr/src<br />
wget http://koji.fedoraproject.org/packages/PackageKit/0.3.12/1.fc10/i386/PackageKit-0.3.12-1.fc10.i386.rpm<br />
wget http://koji.fedoraproject.org/packages/PackageKit/0.3.12/1.fc10/i386/PackageKit-qt-0.3.12-1.fc10.i386.rpm<br />
wget http://koji.fedoraproject.org/packages/PackageKit/0.3.12/1.fc10/i386/PackageKit-glib-0.3.12-1.fc10.i386.rpm<br />
wget http://koji.fedoraproject.org/packages/PackageKit/0.3.12/1.fc10/i386/PackageKit-yum-0.3.12-1.fc10.i386.rpm<br />
wget http://koji.fedoraproject.org/packages/PackageKit/0.3.12/1.fc10/i386/PackageKit-yum-plugin-0.3.12-1.fc10.i386.rpm<br />
wget http://koji.fedoraproject.org/packages/PackageKit/0.3.12/1.fc10/i386/PackageKit-udev-helper-0.3.12-1.fc10.i386.rpm<br />
wget http://koji.fedoraproject.org/packages/PackageKit/0.3.12/1.fc10/i386/PackageKit-gstreamer-plugin-0.3.12-1.fc10.i386.rpm<br />
wget http://koji.fedoraproject.org/packages/kpackagekit/0.3.1/9.fc10/i386/kpackagekit-0.3.1-9.fc10.i386.rpm<br />
wget http://koji.fedoraproject.org/packages/gnome-packagekit/0.3.12/1.fc10/i386/gnome-packagekit-0.3.12-1.fc10.i386.rpm<br />
yum install --nogpgcheck kpackagekit-0.3.1-9.fc10.i386.rpm gnome-packagekit-0.3.12-1.fc10.i386.rpm PackageKit-0.3.12-1.fc10.i386.rpm PackageKit-glib-0.3.12-1.fc10.i386.rpm PackageKit-qt-0.3.12-1.fc10.i386.rpm PackageKit-yum-0.3.12-1.fc10.i386.rpm PackageKit-yum-plugin-0.3.12-1.fc10.i386.rpm PackageKit-gstreamer-plugin-0.3.12-1.fc10.i386.rpm PackageKit-udev-helper-0.3.12-1.fc10.i386.rpm </code></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2008/12/08/fedora-10-clean-install-update-issue/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
