On 42Tue, Mar 12, 2002 at 01:31:27PM -0800 (%H:) or thereabouts, Bill Wagner wrote: > > I'm new to using up2date, but I've got a 7.2 machine with all of the updates > applied, running a custom 2.4.18 kernel. When I run up2date, I get the > following error: > > --- > # up2date > /usr/sbin/up2date:537: SyntaxWarning: name 'progressCurrent' is used prior > to global declaration > def rpmCallback(what, amount, total, hdr, path): > /usr/sbin/up2date:537: SyntaxWarning: name 'hashesPrinted' is assigned to > before global declaration > def rpmCallback(what, amount, total, hdr, path): > /usr/sbin/up2date:537: SyntaxWarning: name 'lastPercent' is assigned to > before global declaration > def rpmCallback(what, amount, total, hdr, path): > /usr/sbin/up2date:537: SyntaxWarning: name 'progressTotal' is assigned to > before global declaration > def rpmCallback(what, amount, total, hdr, path): > /usr/sbin/up2date:537: SyntaxWarning: name 'progressCurrent' is assigned to > before global declaration > def rpmCallback(what, amount, total, hdr, path): > Traceback (most recent call last): > File "/usr/sbin/up2date", line 9, in ? > import rpm > ImportError: No module named rpm > --- > > This is happening with or without any options or packages assigned to it.
The import error probably means you don't have the rpm-python package installed. Do rpm -q rpm-python to check. > > Does anyone know what's going on here and most importantly, how to fix it? Installing rpm-python will probably fix it. /andreas _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list