Yeah thats true. I did same when i tried this on RHEL 5.<br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 6:09 PM, Shakthi Kannan <span dir="ltr">&lt;<a href="mailto:shakthimaan@gmail.com">shakthimaan@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">@rtnrpo, @sherry151, @aunkit?<br>
<br>
Here are some points on how I tested Fedora 11 offline repository:<br>
<br>
* As suggested in #fedora-admin, I used the following to download the .rpms:<br>
<br>
  reposync --repoid=fedora --repoid=updates<br>
<br>
* Installed vsftpd on the test laptop, and copied the fedora/,<br>
updates/ directory directly into /var/ftp/pub. The directory structure<br>
looks like this:<br>
<br>
  /var/ftp/pub/fedora-11-offline/fedora<br>
                                            /updates<br>
<br>
vsftpd default directory is /var/ftp/pub.<br>
<br>
=== fedora-11-offline.repo file ===<br>
<br>
[fedora-offline]<br>
name=Fedora $releasever - $basearch offline<br>
baseurl=<a href="ftp://127.0.0.1/pub/fedora-11-offline/fedora/Packages/%0Aenabled=1%0Agpgcheck=1%0Agpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch" target="_blank">ftp://127.0.0.1/pub/fedora-11-offline/fedora/Packages/<br>

enabled=1<br>
gpgcheck=1<br>
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch</a><br>
<br>
[fedora-offline-updates]<br>
name=Fedora $releasever - $basearch - offline Updates<br>
baseurl=<a href="ftp://127.0.0.1/pub/fedora-11-offline/updates/%0Aenabled=1%0Agpgcheck=1%0Agpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch" target="_blank">ftp://127.0.0.1/pub/fedora-11-offline/updates/<br>
enabled=1<br>
gpgcheck=1<br>
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch</a><br>
<br>
=== END ===<br>
<br>
* Since I had other repos on the client, I disabled them through the<br>
GUI (System-&gt;Administration-&gt;Software Sources).<br>
<br>
* &quot;yum clean all&quot; will clean dbcache, metadeta. Subsequent &#39;yum<br>
search&#39; fetches from the above repo file copied to client.<br>
<br>
* Since reposync only gets the .rpms, we have to generate the<br>
repodata/ directory. In *.rpm directory in /fedora and /updates do:<br>
<br>
  createrepo .<br>
<br>
which will create repodata/ directory with the following files in it:<br>
<br>
-  filelists.xml.gz<br>
-  other.xml.gz<br>
-  primary.xml.gz<br>
<br>
* Also, the fedora-release RPM has all the GPG keys in it. So, on the<br>
client, we have to:<br>
1. Install the fedora-release RPM<br>
2. Copy the fedora-11-offline.repo file<br>
3. yum clean all;<br>
<br>
And you can start using the offline repo.<br>
<div><div></div><div class="h5"><br>
SK<br>
<br>
--<br>
Shakthi Kannan<br>
<a href="http://www.shakthimaan.com" target="_blank">http://www.shakthimaan.com</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.dgplug.org">Users@lists.dgplug.org</a><br>
<a href="http://lists.dgplug.org/listinfo.cgi/users-dgplug.org" target="_blank">http://lists.dgplug.org/listinfo.cgi/users-dgplug.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ankit <br><br>@Web: <a href="http://www.ankitsharma.co.nr">http://www.ankitsharma.co.nr</a><br>@Linkedin: <a href="http://www.linkedin.com/in/aunkit">http://www.linkedin.com/in/aunkit</a><br>
@Twitter: <a href="http://www.twitter.com/ankit_sharma">http://www.twitter.com/ankit_sharma</a><br>