Re: yup trouble


Subject: Re: yup trouble
From: Robert Vogt IV (vogt@arborhost.com)
Date: Wed Nov 01 2000 - 16:32:36 MST


    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... :)

                            Sincerely,

                            Robert Vogt IV
                            CEO
                            ArborHost



This archive was generated by hypermail 2a24 : Wed Nov 01 2000 - 16:33:16 MST