LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-25-2004, 07:00 PM   #16
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30

Yep, did that. Anyway, a reboot solved it. Here's the output at last...

/etc/wgetrc
/home/rollo/installs/wget-1.8.2-310.i586.rpm
/home/rollo/installs/wget-1.9.1-0.gbv.1.i586.rpm
/home/rollo/installs/wget-1.9.1-45.i586.rpm
/opt/kde3/share/doc/HTML/en/quanta/project-use-wget.png
/opt/kde3/share/services/useragentstrings/wgetoncurrent.desktop
/usr/lib/perl5/5.8.3/newgetopt.pl
/usr/sbin/iwgetid
/usr/share/doc/packages/wget
/usr/share/doc/packages/wget/AUTHORS
/usr/share/doc/packages/wget/COPYING
/usr/share/doc/packages/wget/MAILING-LIST
/usr/share/doc/packages/wget/NEWS
/usr/share/doc/packages/wget/PATCHES
/usr/share/doc/packages/wget/README
/usr/share/doc/packages/wget/README.cvs
/usr/share/doc/packages/wget/rmold.pl
/usr/share/doc/packages/wget/sample.wgetrc
/usr/share/doc/packages/wget/TODO
/usr/share/doc/packages/wget/wget_10.html
/usr/share/doc/packages/wget/wget_11.html
/usr/share/doc/packages/wget/wget_12.html
/usr/share/doc/packages/wget/wget_1.html
/usr/share/doc/packages/wget/wget_2.html
/usr/share/doc/packages/wget/wget_3.html
/usr/share/doc/packages/wget/wget_4.html
/usr/share/doc/packages/wget/wget_5.html
/usr/share/doc/packages/wget/wget_6.html
/usr/share/doc/packages/wget/wget_7.html
/usr/share/doc/packages/wget/wget_8.html
/usr/share/doc/packages/wget/wget_9.html
/usr/share/doc/packages/wget/wget_abt.html
/usr/share/doc/packages/wget/wget_fot.html
/usr/share/doc/packages/wget/wget.html
/usr/share/doc/packages/wget/wget_ovr.html
/usr/share/doc/packages/wget/wget_toc.html
/usr/share/locale/bg/LC_MESSAGES/wget.mo
/usr/share/locale/ca/LC_MESSAGES/wget.mo
/usr/share/locale/cs/LC_MESSAGES/wget.mo
/usr/share/locale/da/LC_MESSAGES/wget.mo
/usr/share/locale/de/LC_MESSAGES/wget.mo
/usr/share/locale/el/LC_MESSAGES/wget.mo
/usr/share/locale/es/LC_MESSAGES/wget.mo
/usr/share/locale/et/LC_MESSAGES/wget.mo
/usr/share/locale/fr/LC_MESSAGES/wget.mo
/usr/share/locale/gl/LC_MESSAGES/wget.mo
/usr/share/locale/he/LC_MESSAGES/wget.mo
/usr/share/locale/hr/LC_MESSAGES/wget.mo
/usr/share/locale/hu/LC_MESSAGES/wget.mo
/usr/share/locale/it/LC_MESSAGES/wget.mo
/usr/share/locale/ja/LC_MESSAGES/wget.mo
/usr/share/locale/nl/LC_MESSAGES/wget.mo
/usr/share/locale/no/LC_MESSAGES/wget.mo
/usr/share/locale/pl/LC_MESSAGES/wget.mo
/usr/share/locale/pt_BR/LC_MESSAGES/wget.mo
/usr/share/locale/ro/LC_MESSAGES/wget.mo
/usr/share/locale/ru/LC_MESSAGES/wget.mo
/usr/share/locale/sk/LC_MESSAGES/wget.mo
/usr/share/locale/sl/LC_MESSAGES/wget.mo
/usr/share/locale/sv/LC_MESSAGES/wget.mo
/usr/share/locale/tr/LC_MESSAGES/wget.mo
/usr/share/locale/uk/LC_MESSAGES/wget.mo
/usr/share/locale/zh_CN/LC_MESSAGES/wget.mo
/usr/share/locale/zh_TW/LC_MESSAGES/wget.mo
/usr/share/man/man8/iwgetid.8.gz
/usr/share/susehelp/meta/Manuals/Productivity/wget.desktop
/usr/share/vim/vim62/syntax/wget.vim
/usr/share/YaST2/scrconf/root_wgetrc.scr
/usr/share/zsh/4.2.0/functions/_wget


(The second of the .rpm's listed I definitely didn't try to install.)
 
Old 12-25-2004, 07:19 PM   #17
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
hmm, I don't think it installed right
Try installing the file (/home/rollo/installs/wget-1.9.1-45.i586.rpm) again..
 
Old 12-25-2004, 08:26 PM   #18
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
'rpm -ivh wget-1.9.1-45.i586.rpm' produces:

Code:
package wget-1.9.1-45 is already installed
(This is essentially the problem of this thread.)

'echo $PATH' produces:

/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin
 
Old 12-25-2004, 08:33 PM   #19
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
idk about slack, and i dont know if this has already been said, but it seems like this can be done in 2 easy steps

find / -name wget

then find an entry that ends in wget and is most likely in some form of bin directory

then do

ln -s /bin/wget /path/to/wget

then run wget and it should run

--adam
 
Old 12-25-2004, 09:57 PM   #20
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Thanks for that, but the problem hasn't changed - the system claims 'wget' is installed but there is no binary.

'find' / 'locate' commands turn up nothing that could be a binary except this:

/usr/sbin/iwgetid

Anyone any more ideas?
 
Old 12-26-2004, 01:27 AM   #21
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Yes, try running as root.
 
Old 12-28-2004, 11:36 AM   #22
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Code:
linux:/home/rollo # find / -name wget
/usr/share/doc/packages/wget
find: /media/cdrom: No medium found
linux:/home/rollo #
See, nothing.

So I guess my rephrased problem is, how do I uninstall install this program (which isn't really installed) so that I can then install it with the .rpm and not get this error message:

Code:
package wget-1.9.1-45 is already installed
 
Old 12-28-2004, 09:16 PM   #23
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
OK, you can uninstall it with
Code:
rpm -e packagename.rpm
, but first I'll try installing wget with
Code:
rpm -Uvh --force wget.<whatever>.rpm
. Try with --force first, if it does not work, use the -e.
 
Old 12-29-2004, 07:09 PM   #24
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Thumbs up Solved

Cheers whiperm5

This time the --force switch worked. Must have been the -Uvh switch which made the difference - thanks.

wget now installed correctly at last.
 
Old 12-29-2004, 09:22 PM   #25
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
No problem The Uvh simply means upgrade, verify headers. It also installs things if they aren't installed, so it does not mean an older version must be installed. I think it's the --force that made the diff, not the Uvh.
 
  


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
VM not in PATH - Cannot locate installed components chidman Linux - Newbie 3 10-14-2004 10:39 PM
How to locate where a program is? minm Linux - Newbie 18 08-16-2004 02:00 AM
can't get icewm installed because it cant locate a file simpletoker Slackware 5 03-17-2004 12:21 AM
where the applications locate installed in rpm way? cnwillow Linux - Newbie 1 11-18-2003 02:46 AM
how do i locate or point the location of installed libraries? kublador Linux - Newbie 7 03-01-2003 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:27 PM.

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
Open Source Consulting | Domain Registration