Mailinglist Archive: opensuse (3232 mails)

< Previous Next >
Re: [opensuse] rpm's do not recognize system architechure
  • From: Patrick Shanahan <ptilopteri@xxxxxxxxx>
  • Date: Mon, 21 Aug 2006 15:22:11 -0400
  • Message-id: <20060821192211.GK24315@xxxxxxxxxxxxxxx>
* Andreas Hanke <andreas.hanke@xxxxxxxxxxxxxx> [08-21-06 15:16]:
> Now download rpm.x86_64
>
> http://download.uni-hd.de/ftp/pub/linux/suse/update/10.1/rpm/x86_64/rpm-4.4.2-43.4.x86_64.rpm
>
> and extract it somewhere (preferably an otherwise empty directory):
>
> rpm2cpio.pl rpm-4.4.2-43.4.x86_64.rpm | cpio -id
>
> Now copy the extracted files manually to their location.
>
> Important: rpm will probably work again, but copying the files manually
> will not register rpm itself in the rpm database. So you should
> rpm-install rpm on top of the manually extracted files:
>
> rpm -Uvh rpm-4.4.2-43.4.x86_64.rpm
>
> And a general hint: Use "rpm -U", not "rpm -i" when installing packages.
> This might help avoiding double installed packages (-U replaces an
> existing package which is the right thing in most situations, -i will
> install a new package in addition to the existing one).
>
> If that fails, try 2. Boot into the rescue system, mount your / file
> system and use
>
> rpm -Uvh --root=/mountpoint rpm-4.4.2-43.4.x86_64.rpm
>
> to reinstall rpm on the rpm-less system.
>


tks, I'm working on it now...
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >