LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2005, 10:53 AM   #1
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Rep: Reputation: 30
where do wget rpms go?


Hello All:

I am using wget to upgrade since my yum install is "broken" and I can't seem to uninstall (segmentation fault error).
So I'm using wget to upgrade to rh 9 from rh 7.3, and from 9 to the fc's.
Since wget doesn't seem to do the complete job that yum does (dependencies and actual install), I'm thinking of using wget to create a yum repository and then upgrade yum (with dependencies) and go from there.
My question?
Where do the wget downloaded rpms go?

All relevant replies greatly appreciated.
Thanks.

ergo_sum
 
Old 06-08-2005, 11:01 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
wget is only used to download an url. If you wget a rpm you should find that rpm inside your current dir. Just do a ls and it should be there.
 
Old 06-08-2005, 11:22 AM   #3
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Original Poster
Rep: Reputation: 30
I beg to differ. wget was the de facto tool for upgrading rh os before switching to yum and pre Fedora Core.
My command line is :
wget -r -l1 --no-parent -A.*rpm http://download.fedoralegacy.org/redhat/9/os/i386/

And a "ls" didn't get me any rpm list, and I've downloaded quite a few. So they're not in my "current directory.
So, again, where do the rpms go when downloaded using wget.

ergo_sum
 
Old 06-08-2005, 11:26 AM   #4
mhallbiai
Member
 
Registered: Jun 2005
Posts: 96

Rep: Reputation: 15
have you tried searching for the file after download. wget should give output of a file it downloaded. try locating it by name.
Code:
find / -name just-downloaded.rpm
or
Code:
updatedb && locate just-downloaded.rpm
hope this helps
 
Old 06-08-2005, 11:43 AM   #5
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Quote:
Originally posted by ergo_sum
I beg to differ. wget was the de facto tool for upgrading rh os before switching to yum and pre Fedora Core.
My point was that wget is only designed to download files given an url. If you would read the man pages for wget you see:
Quote:
GNU Wget is a free utility for non-interactive download of files from the Web.
It is not design to run .rpm-files itself, therefore it is not designed to upgrade/install software. Just downloading files.

And all my downloads with wget has always gone to the dir where I have sent the command. After you have followed mhallbiai's suggestions please tell me where you found the downloads, since I am curious.

Regards.
 
Old 06-09-2005, 12:46 PM   #6
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Original Poster
Rep: Reputation: 30
Sure thing.
It'll be a few hours but will do.

ergo_sum
 
Old 06-12-2005, 03:46 PM   #7
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Original Poster
Rep: Reputation: 30
Well, it's been more than a few hours, but here it is:
My command w/ wget was as follows:

wget -r -l1 --no-parent -A *.rpm http://download.fedoralegacy.org/redhat/9/os/i386/

wget creates a folder sort of mirroring the Fedora Legacy repository: i.e, :
file:/home/ergo_sum/download.fedoralegacy.org/redhat/9/os/i386

That's the good part.

ergo_sum
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 03:57 PM
wget ? maybe wesw02 Linux - Software 3 11-24-2004 01:25 AM
How do I get WGET to do this...? mrde50garfield Linux - Software 1 12-03-2003 01:11 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 01:38 PM
wget 1.8.2 PinkJin Linux - General 4 11-24-2002 05:20 PM


All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration