updatedb error

Vivek J. Patankar list307 at gmail.com
Sat Jul 28 22:54:18 UTC 2007


Peter Reed wrote:
> On Saturday 28 July 2007 6:09:50 pm Vivek J. Patankar wrote:
>> Peter Reed wrote:
>>> I am receiving this error when I try to use the command updatedb:
>>> updatedb: src/updatedb.c:721: scan_cwd: Assertion `name_size > 1' failed.
>>> Aborted
>>> however locate does seem to work although how old the database is unknown
>>>  any help with this would be appreciated.
>> It seems that I am also having the same problem. I ran updatedb in
>> verbose mode and the error comes with the same folder everytime. A
>> listing of the folder gives strange output. Output from my terminal below.
>>
>>   /sys/module/nousb/parameters
>>   updatedb: src/updatedb.c:721: scan_cwd: Assertion `name_size > 1' failed.
>>   Aborted
>>   [root at marvin parameters]# file /sys/module/nousb/parameters
>>   /sys/module/nousb/parameters: directory
>>   [root at marvin parameters]# cd /sys/module/nousb/parameters
>>   [root at marvin parameters]# ls -l
>>   ls: cannot access : No such file or directory
>>   total 0
>>   -????????? ? ? ? ?                ?
>>   [root at marvin parameters]#
>>
>> I tried rpm -qf to determine which package creates the folder but it
>> says that the file is not owned by the package.
>>
>> Can you run updatedb -v and check if the result is similar/identical?
>>
> Yes this is the same place my run of updatedb is exiting.  Same error as you 
> with the same directory. 
> Peter

Can anybody else on the list verify this? What I would like to know is 
the contents of the directory. Listing the directory gives me strange 
output.

-- 
Regards,
विवेक ज. पाटणकर (Vivek J. Patankar)

Registered Linux User #374218
Fedora release 7 (Moonshine)
Linux 2.6.22.1-27.fc7 x86_64
My USB drives automount! :p




More information about the fedora-list mailing list