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. ------------------ This was posted to the redhat-list where Trond Eivind Glomsrxd (teg) suggested to run without the 'a' flag 'up2date -u'. This yeilded different results, however still failed: [root@admin cajun]# up2date -u 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 789, in checkModified if installedFileMD5s[j] != md5(fileName): File "/usr/share/rhn/up2date/up2date.py", line 218, in md5 f = open(fileName, "r") IOError: [Errno 2] No such file or directory: '/usr/share/Eterm/pix/pixmaps.list.base' [root@admin cajun]#
*** This bug has been marked as a duplicate of 18994 ***