[Yum] Yum Problem : Asking For Help

Saiffil Fariz Mohamad Yusuff sfmy at hotmail.com
Wed Jul 27 12:13:32 UTC 2005


Sorry for that, i never used reply to all before, i will now :)

I already solve the problem. This is what i do. I went away installing 
gettext through yum using the PYTHONPATH:

[root at M-Touch root]# PYTHONPATH=/usr/lib/python2.3/site-packages yum install 
gettext

the installation went well.
[root at M-Touch etc]# rpm -q gettext
gettext-0.11.4-7

I'm sure than i could rebuild yum*src*rpm

before doing that i uninstall yum
[root at M-Touch etc]# rpm -e yum
[root at M-Touch etc]# rpm --rebuild yum-2.2.2-1.src.rpm

the build was successfull, and i straight away use the rpm to install yum
[root at M-Touch etc]# rpm -ivh 
/usr/src/redhat/RPMS/noarch/yum-2.2.2-1.noarch.rpm
Preparing...                ########################################### 
[100%]
   1:yum                    ########################################### 
[100%]

[root at M-Touch etc]# yum

    Usage:  yum [options] < update | install | info | remove | list |
            clean | provides | search | check-update | groupinstall |
            groupupdate | grouplist | groupinfo | groupremove | generate-rss 
|
            makecache | localinstall >

        Options:
        -c [config file] - specify the config file to use
        -e [error level] - set the error logging level
        -d [debug level] - set the debugging level
        -y - answer yes to all questions
        -R [time in minutes] - set the max amount of time to randomly run in
        -C run from cache only - do not update the cache
        --installroot=[path] - set the install root (default '/')
        --version - output the version of yum
        --rss-filename=[path/filename] - set the filename to generate rss to
        --exclude=package to exclude
        --disablerepo=repository id to disable (overrides config file)
        --enablerepo=repository id to enable (overrides config file)

        -h, --help  - this screen

That's it.

Thank you very much for the initial help. Also its nice to see some from 
UofA answering the question. I'm a former student there from Malaysia.

Cheers.



----- Original Message ----- 
From: "Michael Stenner" <mstenner at ece.arizona.edu>
To: "Saiffil Fariz Mohamad Yusuff" <sfmy at hotmail.com>
Cc: <yum at lists.dulug.duke.edu>
Sent: Wednesday, July 27, 2005 3:41 AM
Subject: Re: [Yum] Yum Problem : Asking For Help


> Please keep the discussions on the list.  You'll get better results
> that way (because more people can respond) and it's a tad more polite.
>
> On Wed, Jul 27, 2005 at 03:33:21AM +0800, Saiffil Fariz Mohamad Yusuff 
> wrote:
>> I actually did that at first
>>
>> [root at M-Touch etc]# rpm --rebuild yum-2.2.2-1.src.rpm
>> Installing yum-2.2.2-1.src.rpm
>> warning: user skvidal does not exist - using root
>> warning: group skvidal does not exist - using root
>> warning: user skvidal does not exist - using root
>> warning: group skvidal does not exist - using root
>> error: Failed build dependencies:
>>        gettext is needed by yum-2.2.2-1
>>
>> Sorry if this is so dum but what is skvidal? Does the warning harm the
>> system if i proceed?
>
> skvidal is the username of the warm and cudly yum author who built
> that srpm.  That should probably be fixed, but it's not a problem.
> You can safely ignore those warnings.
>
>> As gettext is required i installed gettext 0.14.5 but that doesnt' change
>> anything :
>>
>> [root at M-Touch etc]# rpm --rebuild yum-2.2.2-1.src.rpm
>> Installing yum-2.2.2-1.src.rpm
>> warning: user skvidal does not exist - using root
>> warning: group skvidal does not exist - using root
>> warning: user skvidal does not exist - using root
>> warning: group skvidal does not exist - using root
>> error: Failed build dependencies:
>>        gettext is needed by yum-2.2.2-1
>>
>> So, i checked if gettext is really installed on the system :
>>
>> [root at M-Touch etc]# find / -name gettext
>> /etc/gettext-0.14.5/gettext-runtime/src/gettext
>> /etc/gettext-0.14.5/gettext-runtime/intl-java/gnu/gettext
>> /etc/gettext-0.14.5/gettext-runtime/intl-java/javadoc2/gnu/gettext
>> /etc/gettext-0.14.5/gettext-tools/src/gnu/gettext
>> /usr/share/doc/gettext
>> /usr/share/doc/gettext/javadoc2/gnu/gettext
>> /usr/share/gettext
>> /usr/bin/gettext
>> /usr/lib/gettext
>>
>> Yes, gettext is there. At this point i'm clueless. How do i get gettext 
>> to
>> work.
>
> Did you install gettext via rpm?
>
>   rpm -q gettext
>   rpm -qf /usr/bin/gettext
>
> rpm is likely complaining because it doesn't KNOW that gettext is
> installed.
>
> -Michael
> -- 
>  Michael D. Stenner                            mstenner at ece.arizona.edu
>  ECE Department, the University of Arizona                 520-626-1619
>  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G
> 



More information about the Yum mailing list