When trying to run up2date in the batch mode, (RH7.0), I get the 
following message:


[root@admin cajun]# up2date -ua

Retrieving list of all available packages...

Removing installed packages from list of updates...
100.0%
Removing packages marked to skip from list...
100.0%
Getting headers for available packages...
100.0%
Removing packages with files marked to skip from list...
Traceback (innermost last):
  File "/usr/sbin/up2date", line 394, in ?
   main()
  File "/usr/sbin/up2date", line 377, in main
   sys.exit(batchRun(onlyList, pkgNames, fullUpdate))
  File "/usr/sbin/up2date", line 139, in batchRun
   updated, skipped = up2date.getUpdatedPackageList(printit, percent)
  File "/usr/share/rhn/up2date/up2date.py", line 897, in 
getUpdatedPackageList
   progressCallback)
  File "/usr/share/rhn/up2date/up2date.py", line 854, in 
removeSkipFilesPackagesFromList
   if checkModified(h, f_i):
  File "/usr/share/rhn/up2date/up2date.py", line 773, in checkModified
   installedHdr = installedHeader(hdr['name'])
  File "/usr/share/rhn/up2date/up2date.py", line 162, in installedHeader
   for index in db.findbyname(pkgName):
rpm.error: error reading from database
[root@admin cajun]#

I've tried rebuilding the rpm database by 'rpm --rebuilddb' but that has 
not helped. 
Can someone point me to the cause of the problem ?

Thanks,
Mike



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to