Hi
Aydemir,
Check
if wget is inside your PATH:
#
which wget
/usr/bin/wget
Then
add it into your PATH:
#
export PATH=$PATH:/usr/bin
If
you're using Ubuntu-10.4, I remember that there are some bug where user's PATH
is not passed to 'sudo' path. But after few automatic software upgrades in my
PC, my Ubuntu-10.4 sudo can pass user's PATH.
Hope
that helps
Regards,
-daniel
From:
address@hidden
[mailto:address@hidden On Behalf Of aydemir
kala
Sent: Monday, October 04, 2010 3:38 PM
To: Stuart Hughes
Cc: address@hidden
Subject: Re: [Ltib] problem on running LTIB
Hi Stuart,
Sorry i was away. Here is output of wget --version:
address@hidden /]# wget --version
GNU Wget 1.12 built on linux-gnu.
+digest +ipv6 +nls +ntlm +opie +md5/openssl +https -gnutls +openssl
+iri
Wgetrc:
/usr/local/etc/wgetrc (system)
Locale: /usr/local/share/locale
Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/usr/local/etc/wgetrc"
-DLOCALEDIR="/usr/local/share/locale" -I. -I../lib
-O2 -Wall
Link: gcc -O2 -Wall -lssl -lcrypto -ldl -lrt -lidn ftp-opie.o openssl.o
http-ntlm.o gen-md5.o ../lib/libgnu.a
Copyright © 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Originally written by Hrvoje Nikšić <address@hidden>.
Currently maintained by Micah Cowan <address@hidden>.
Please send bug reports and questions to <address@hidden>.
Best Regards
Aydemir
On Sat, Oct 2, 2010 at 1:31 PM, Stuart Hughes <address@hidden> wrote:
Hi Aydemir,
ltib is not complaining about sudo anymore, it thinks wget is missing.
As your normal user, please run:
wget --version
This is what ltib is doing to check you have wget install. Please post
your output and we can figure it out from there.
Regards, Stuart
aydemir kala wrote:
> Hi all,
>
> It makes me crazy. I am loging as user aydemir on my PC.
> then opening a command terminal
> then change user to root
> aydemir> su -
> root> sudo /usr/sbin/visudo
> at the end of the file adding
> aydemir ALL = NOPASSWD: /bin/rpm, /opt/ltib/usr/bin/rpm
> save and Quit
> then leaving root
> root> exit
> as a aydemir user
> aydemir>mkdir /home/aydemir/LTIB
> aydemir>cd /home/aydemir/LTIB
> aydemir> cvs -z3
> -d:pserver:address@hidden:/sources/ltib co -P ltib
> after download finish
> aydemir>cd ltib
> aydemir> ./ltib
> address@hidden ltib]$ ./ltib
>
> ltib cannot be run because one or more of the host packages needed to run
it
> are either missing, failing, out of date or not in ltib's standard path.
> Current the PATH environment is set to:
> /opt/ltib/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin
>
> Please correct this problem (e.g. install/upgrade these packages on your
> host).
> If you have your own utilities in non-standard paths, please add an entry
> into the .ltibrc file for example:
>
> %path_std
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes
>
> Package Minimum ver
Installed info
> ------- -----------
---------------
> wget 0
not installed or error
>
> Died at ./ltib line 1430.
> traceback:
> main::host_checks:1430
> main:548
>
>
> Started: Fri Oct 1 14:22:27 2010
> Ended: Fri Oct 1 14:22:28 2010
> Elapsed: 1 seconds
>
|