[Linux] USB drive ---Yum

Jason Alazawi linux@flux.org
Wed, 25 Jul 2007 11:31:52 -0400


------=_Part_140071_26336207.1185377512717
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/25/07, kerry blalock <kerry@uniquewholesale.net> wrote:
>
> Jason Alazawi wrote:
> > I'm still a newbie but if you want to migrate your data then the
> > command that I would use would be:
> >
> > % cp <source of data> <path of destination>
> >
> > Where % is, is your command prompt.  Hope that helps!
> >
> > Jason
> >
> >
> > On 7/25/07, *kerry blalock* <kerry@uniquewholesale.net
> > <mailto:kerry@uniquewholesale.net>> wrote:
> >
> >     I was able to use fdisk to format the USB drive, and it now seems
> >     available as a usb devise.
> >
> >     aaaaaai had just updated from krud-fedora to regular Fedora Core
> >     6. In
> >     the older Krud from tommy.com <http://tommy.com>, he had altered
> >     yum to tummyyum. I thought
> >     upgrading would fix the problem, but yum still does not work. I
> >     get the
> >     following error when I try to upgrade:
> >
> >     [root@maddog1 kerryb]# yum update
> >     Loading "installonlyn" plugin
> >     Repository 'dag' is missing name in configuration, using id
> >     Setting up Update Process
> >     Setting up repositories
> >     http://yum1.tummy.com/krud/fc4-security/repodata/repomd.xml:
> >     [Errno 14]
> >     HTTP Error 404: Date: Wed, 25 Jul 2007 09:40:49 GMT
> >     Server: Apache/2.0.52 (CentOS)
> >     Content-Length: 315
> >     Connection: close
> >     Content-Type: text/html; charset=iso-8859-1
> >
> >     Trying other mirror.
> >     Error: Cannot open/read repomd.xml file for repository:
> krud-security
> >
> >     A few other commands are broken also, like locate, find, etc. What
> >     would be the best way to move my data , under my user, to the usb
> >     drive to not lose information in the subdirectories? After I do
> >     this, I think I will install a clean version of FC6, or Fedora 7
> >     on the hard drive.
> >
> >     [root@maddog1 kerryb]#
> >
> >
> >
> >
> >     ---------- Forwarded message ----------
> >     From: kerryb@basicq.com <mailto:kerryb@basicq.com>
> >     To: kerry@uniquewholesale.net <mailto:kerry@uniquewholesale.net>
> >     Date: Wed, 25 Jul 2007 04:51:13 -0400 (EDT)
> >     Subject: yum
> >     [root@maddog1 kerryb]# yum update
> >     Loading "installonlyn" plugin
> >     Repository 'dag' is missing name in configuration, using id
> >     Setting up Update Process
> >     Setting up repositories
> >     http://yum1.tummy.com/krud/fc4-security/repodata/repomd.xml:
> >     [Errno 14]
> >     HTTP Error 404: Date: Wed, 25 Jul 2007 09:40:49 GMT
> >     Server: Apache/2.0.52 (CentOS)
> >     Content-Length: 315
> >     Connection: close
> >     Content-Type: text/html; charset=iso-8859-1
> >
> >     Trying other mirror.
> >     Error: Cannot open/read repomd.xml file for repository:
> krud-security
> >     [root@maddog1 kerryb]#
> >
> >
> >
> >
> >
> >
> I don't think that this will copy recursively. cp -r will I believe, but
> not sure if it will pick up the .xxxtype files. But, thanks for the input.



Then I think this would work:

cp -r /path/of/file/* /path/of/destination

That might be a bit better
Jason

_______________________________________________
> Linux mailing list
> Linux@flux.org
> http://www.flux.org/mailman/listinfo/linux
>

------=_Part_140071_26336207.1185377512717
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br>
<div><span class="gmail_quote">On 7/25/07, <b class="gmail_sendername">kerry blalock</b> &lt;<a href="mailto:kerry@uniquewholesale.net">kerry@uniquewholesale.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Jason Alazawi wrote:<br>&gt; I&#39;m still a newbie but if you want to migrate your data then the<br>&gt; command that I would use would be:
<br>&gt;<br>&gt; % cp &lt;source of data&gt; &lt;path of destination&gt;<br>&gt;<br>&gt; Where % is, is your command prompt.&nbsp;&nbsp;Hope that helps!<br>&gt;<br>&gt; Jason<br>&gt;<br>&gt;<br>&gt; On 7/25/07, *kerry blalock* &lt;
<a href="mailto:kerry@uniquewholesale.net">kerry@uniquewholesale.net</a><br>&gt; &lt;mailto:<a href="mailto:kerry@uniquewholesale.net">kerry@uniquewholesale.net</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I was able to use fdisk to format the USB drive, and it now seems
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; available as a usb devise.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; aaaaaai had just updated from krud-fedora to regular Fedora Core<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 6. In<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; the older Krud from <a href="http://tommy.com">tommy.com</a> &lt;<a href="http://tommy.com">
http://tommy.com</a>&gt;, he had altered<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; yum to tummyyum. I thought<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; upgrading would fix the problem, but yum still does not work. I<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; get the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; following error when I try to upgrade:
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; [root@maddog1 kerryb]# yum update<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Loading &quot;installonlyn&quot; plugin<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Repository &#39;dag&#39; is missing name in configuration, using id<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Setting up Update Process
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Setting up repositories<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://yum1.tummy.com/krud/fc4-security/repodata/repomd.xml">http://yum1.tummy.com/krud/fc4-security/repodata/repomd.xml</a>:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; [Errno 14]<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; HTTP Error 404: Date: Wed, 25 Jul 2007 09:40:49 GMT
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Server: Apache/2.0.52 (CentOS)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Content-Length: 315<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Connection: close<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Content-Type: text/html; charset=iso-8859-1<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Trying other mirror.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Error: Cannot open/read 
repomd.xml file for repository: krud-security<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; A few other commands are broken also, like locate, find, etc. What<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; would be the best way to move my data , under my user, to the usb<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; drive to not lose information in the subdirectories? After I do
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; this, I think I will install a clean version of FC6, or Fedora 7<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; on the hard drive.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; [root@maddog1 kerryb]#<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ---------- Forwarded message ----------
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; From: <a href="mailto:kerryb@basicq.com">kerryb@basicq.com</a> &lt;mailto:<a href="mailto:kerryb@basicq.com">kerryb@basicq.com</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; To: <a href="mailto:kerry@uniquewholesale.net">kerry@uniquewholesale.net
</a> &lt;mailto:<a href="mailto:kerry@uniquewholesale.net">kerry@uniquewholesale.net</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Date: Wed, 25 Jul 2007 04:51:13 -0400 (EDT)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Subject: yum<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; [root@maddog1 kerryb]# yum update<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Loading &quot;installonlyn&quot; plugin<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Repository &#39;dag&#39; is missing name in configuration, using id<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Setting up Update Process<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Setting up repositories<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://yum1.tummy.com/krud/fc4-security/repodata/repomd.xml">
http://yum1.tummy.com/krud/fc4-security/repodata/repomd.xml</a>:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; [Errno 14]<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; HTTP Error 404: Date: Wed, 25 Jul 2007 09:40:49 GMT<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Server: Apache/2.0.52 (CentOS)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Content-Length: 315
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Connection: close<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Content-Type: text/html; charset=iso-8859-1<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Trying other mirror.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Error: Cannot open/read repomd.xml file for repository: krud-security<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; [
root@maddog1 kerryb]#<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>I don&#39;t think that this will copy recursively. cp -r will I believe, but<br>not sure if it will pick up the .xxxtype files. But, thanks for the input.
</blockquote>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Then I think this would work:</div>
<div>&nbsp;</div>
<div>cp -r /path/of/file/* /path/of/destination</div>
<div>&nbsp;</div>
<div>That might be a bit better</div>
<div>Jason</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">_______________________________________________<br>Linux mailing list<br><a href="mailto:Linux@flux.org">Linux@flux.org
</a><br><a href="http://www.flux.org/mailman/listinfo/linux">http://www.flux.org/mailman/listinfo/linux</a><br></blockquote></div><br>

------=_Part_140071_26336207.1185377512717--