From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (Win98; U) The -l option stopped working when I upgraded to up2date v2.5.2 . The exact error message looks like this: # up2date -l There was a fatal RPM error. The message was: Couldn't determine what version of Red Hat Linux you are running. Reproducible: Always Steps to Reproduce: 1. su - 2. up2date -l 3. "Error occurs" Actual Results: # up2date -l There was a fatal RPM error. The message was: Couldn't determine what version of Red Hat Linux you are running. Expected Results: # up2date -l 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... 100.0%
The change from rpm-3.0.x to rpm-4.0.2 requires that the rpm database be rebuilt. This is why you are getting this error. So, as root, run the following: 'rpm --rebuilddb' Once that has completed, you should be able to run up2date again without problems.