Mailinglist Archive: opensuse (3232 mails)

< Previous Next >
Re: [opensuse] rpm's do not recognize system architechure
  • From: Andreas Hanke <andreas.hanke@xxxxxxxxxxxxxx>
  • Date: Mon, 21 Aug 2006 20:37:51 +0200
  • Message-id: <44E9FD7F.3080600@xxxxxxxxxxxxxx>

Patrick Shanahan schrieb:
> 14:13 wahoo:~ # rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm
> rpm-4.4.2-43.4.i586
> rpm-4.4.2-43.4.x86_64

Ouch. rpm itself is installed twice, once for i586 and once for x86_64.
That's what I suspected...

What you need in the end is that

rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm

returns exactly


and that

rpm -V

returns exactly nothing.

How to get there? Difficult. ;)

Usually I'd say "uninstall both versions and reinstall the desired one",
but reinstalling rpm with rpm will be tricky.

Andreas Hanke
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >