Re: error compiling yum source

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Ashwini Dhiman <[email protected]> writes:

> I also tried installing a package using the yum source but I got the error
>
>   File "yum/__init__.py", line 2563, in install
>     vwarning(_('Package %s already installed and latest version'), po)
> NameError: global name 'vwarning' is not defined
>
> The whole yum traceback is at http://fpaste.org/paste/6255
>
> I suppose, the vwarning function that is being called is some
> predefined function to display warnings to the user and is defined in
> some module that is imported, but I would like to know, which one? Can
> this be changed to use something else? How to rectify this? I hope
> this is not a very simply rectifiable error.

 This means you've got the "master" branch ... which is still
basically untested. You want the yum-3_2_X branch.

-- 
James Antill -- [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.