Re: yup trouble


Subject: Re: yup trouble
From: Bryan Stillwell (bstill@terraplex.com)
Date: Thu Nov 02 2000 - 11:43:30 MST


On Wed, Nov 01, 2000 at 06:32:36PM -0500, Robert Vogt IV wrote:
> Mr. Feeney,
>
>> Can anyone help with this?
>>
>> [root@gasbag.com mef]# /usr/sbin/yup update
>> Reading RPM database... (93%)Traceback (innermost last):
>> File "/usr/sbin/yup", line 6, in ?
>> yup.main()
>> File "yup.py", line 181, in main
>> File "yupdb.py", line 568, in ReadLocalList
>> File "yupdb.py", line 307, in ReadFromRPMHeader
>> File "yupdb.py", line 11, in __init__
>> File "yupdb.py", line 59, in _tokenize
>> ValueError: atoi() literal too large: 6508844194
> In C/C++, there is a function for converting a string of characters into
>a number (by interpreting it as an int, for example). This is what
>a[lpha]toi[nteger]() does. While reading from your RPM database, it found a
>number greater than 2^31 (and thus not a valid int). As a result, it
>stopped.
>
> I am guessing that this means some part of your RPM database is screwed.
>I suggest rebuilding it (look in 'man rpm' for details) and then trying YUP
>again. You also could upgrade YUP to see if that fixes the problem
>(temporarily, at least), although you really don't want a corrupted RPM
>database... :)

You can also try running `yup clean` just in case yup's database is
corrupted.

Bryan

-- 
  Terra Soft Solutions, Inc.           | Software Engineer
  http://www.terrasoftsolutions.com/   | bstill@terraplex.com
  GPG fingerprint: 3608 4610 8C08 B8EB 0970  9686 8A93 386C 6116 EFE2




This archive was generated by hypermail 2a24 : Thu Nov 02 2000 - 11:43:32 MST