PDA

View Full Version : rhel4 broken?


wew
05-07-2006, 11:26 AM
Hi!

I've just done 'apt-get upgrade' on my rimuhosting rhel4 box, and stuff seems broken.

Any 'rpm' command gives the warning:

error: Macro % has illegal name (%define)

and attempting to 'apt-get install libtool' gives the error:

The following packages have unmet dependencies:
libtool: Depends: gcc (= 3.4.3) but 3.4.5-2 is to be installed
E: Broken packages

Any ideas?

retep
05-11-2006, 02:57 AM
This is an odd error that has crept in from somewhere. The error message is harmless (just a warning). You should be able to run this and it will fix the problem (by commenting out that macro):

replace "\^%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm" "#%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm" -- /etc/rpm/macros.solve