Re: [opensuse] rpm's do not recognize system architechure

2006-08-22 Thread Christoph Thiel
On Mon, 21 Aug 2006, Michael Schroeder wrote: 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 Ah, a user of 'smart'. Smart automatically installs all architectures it can find for a package, effectively

Re: [opensuse] rpm's do not recognize system architechure

2006-08-22 Thread Christoph Thiel
On Mon, 21 Aug 2006, Marcus Rueckert wrote: On 2006-08-21 14:22:08 -0400, Patrick Shanahan wrote: 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 maybe another fuckup due the smart bug. :| What makes you

Re: [opensuse] rpm's do not recognize system architechure

2006-08-22 Thread Janne Karhunen
On Tuesday 22 August 2006 09:47, Christoph Thiel wrote: Ah, a user of 'smart'. Smart automatically installs all architectures it can find for a package, effectively breaking them. Please deinstall 'rpm.i586' and reinstall 'rpm.x86_64'. FALSE! You are mixing up yum with smart! AFAIK

Re: [opensuse] rpm's do not recognize system architechure

2006-08-22 Thread Janne Karhunen
On Tuesday 22 August 2006 09:50, Christoph Thiel wrote: '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm rpm-4.4.2-43.4.i586 rpm-4.4.2-43.4.x86_64 maybe another fuckup due the smart bug. :| What makes you think smart is the one to blame? Installing packages of different architectures

Re: [opensuse] rpm's do not recognize system architechure

2006-08-22 Thread Andreas Hanke
Hi, Janne Karhunen schrieb: AFAIK installing packages of different architectures must be allowed. Why must? If things break due to this, it's the contents of the packages that are broken and not the package manager.. I really wonder how it could happen that both architectures were

[opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
All of a sudden my system does not know what it is: 09:25 wahoo:~ uname -a Linux wahoo 2.6.16.21-0.13-smp #1 SMP Mon Jul 17 17:22:44 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux 09:29 wahoo:~ # hwinfo --cpu --short cpu:

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Andreas Hanke
Hi, Patrick Shanahan schrieb: 09:25 wahoo:~ # rpm -hiv http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.guru.suse101.x86_64.rpm Retrieving http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.guru.suse101.x86_64.rpm Preparing...

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Andreas Hanke [EMAIL PROTECTED] [08-21-06 10:55]: Patrick Shanahan schrieb: 09:25 wahoo:~ # rpm -hiv http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.guru.suse101.x86_64.rpm Retrieving

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Michael Schroeder
On Mon, Aug 21, 2006 at 02:22:08PM -0400, Patrick Shanahan wrote: * Andreas Hanke [EMAIL PROTECTED] [08-21-06 10:55]: Patrick Shanahan schrieb: 09:25 wahoo:~ # rpm -hiv http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.guru.suse101.x86_64.rpm Retrieving

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Andreas Hanke
Hi, 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

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Michael Schroeder [EMAIL PROTECTED] [08-21-06 14:32]: Ah, a user of 'smart'. Smart automatically installs all architectures it can find for a package, effectively breaking them. Please deinstall 'rpm.i586' and reinstall 'rpm.x86_64'. tks, will report back. -- Patrick Shanahan

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Andreas Hanke
Andreas Hanke schrieb: Usually I'd say uninstall both versions and reinstall the desired one, but reinstalling rpm with rpm will be tricky. 's/rpm with rpm/rpm without rpm/' - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Andreas Hanke [EMAIL PROTECTED] [08-21-06 14:40]: Andreas Hanke schrieb: Usually I'd say uninstall both versions and reinstall the desired one, but reinstalling rpm with rpm will be tricky. 's/rpm with rpm/rpm without rpm/' yes, I have reached that problem. What next, manually copy

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Patrick Shanahan [EMAIL PROTECTED] [08-21-06 15:00]: * Andreas Hanke [EMAIL PROTECTED] [08-21-06 14:40]: Andreas Hanke schrieb: Usually I'd say uninstall both versions and reinstall the desired one, but reinstalling rpm with rpm will be tricky. 's/rpm with rpm/rpm without rpm/'

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Eberhard Moenkeberg
Hi, On Mon, 21 Aug 2006, Patrick Shanahan wrote: * Andreas Hanke [EMAIL PROTECTED] [08-21-06 14:40]: Andreas Hanke schrieb: Usually I'd say uninstall both versions and reinstall the desired one, but reinstalling rpm with rpm will be tricky. 's/rpm with rpm/rpm without rpm/' yes, I have

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Patrick Shanahan [EMAIL PROTECTED] [08-21-06 15:03]: * Patrick Shanahan [EMAIL PROTECTED] [08-21-06 15:00]: * Andreas Hanke [EMAIL PROTECTED] [08-21-06 14:40]: Andreas Hanke schrieb: Usually I'd say uninstall both versions and reinstall the desired one, but reinstalling rpm with

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Andreas Hanke
Hi, Patrick Shanahan schrieb: yes, I have reached that problem. What next, manually copy files from midnight commander to the correct locations ?? Now you have basically two choices: 1. Use a program or script that can unpack RPMs without using rpm. 2. Use the rescue system. Try 1. first.

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Andreas Hanke
Patrick Shanahan schrieb: made simlinks from: /usr/lib64/librpm-4.4.so /usr/lib64/librpmbuild-4.4.so /usr/lib64/librpmdb-4.4.so /usr/lib64/librpmio-4.4.so to: /usr/lib/librpm-4.4.so /usr/lib/librpmbuild-4.4.so /usr/lib/librpmdb-4.4.so /usr/lib/librpmio-4.4.so NO! Never ever create

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Eberhard Moenkeberg [EMAIL PROTECTED] [08-21-06 15:14]: Hi, On Mon, 21 Aug 2006, Patrick Shanahan wrote: * Andreas Hanke [EMAIL PROTECTED] [08-21-06 14:40]: Andreas Hanke schrieb: Usually I'd say uninstall both versions and reinstall the desired one, but reinstalling rpm with rpm will

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Andreas Hanke [EMAIL PROTECTED] [08-21-06 15:19]: Patrick Shanahan schrieb: made simlinks from: /usr/lib64/librpm-4.4.so /usr/lib64/librpmbuild-4.4.so /usr/lib64/librpmdb-4.4.so /usr/lib64/librpmio-4.4.so to: /usr/lib/librpm-4.4.so /usr/lib/librpmbuild-4.4.so

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Andreas Hanke [EMAIL PROTECTED] [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

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Michael Schroeder
On Mon, Aug 21, 2006 at 08:37:51PM +0200, Andreas Hanke wrote: Hi, 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

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Michael Schroeder [EMAIL PROTECTED] [08-21-06 15:27]: On Mon, Aug 21, 2006 at 08:37:51PM +0200, Andreas Hanke wrote: Hi, 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

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
* Andreas Hanke [EMAIL PROTECTED] [08-21-06 15:16]: rpm2cpio.pl rpm-4.4.2-43.4.x86_64.rpm | cpio -id 15:47 wahoo:~/work # rpm2cpio.pl ./rpm-4.4.2-43.4.x86_64.rpm | cpio -id Error: header not recognized cpio: premature end of archive guess I'll have to go the 'RESCUE' route. be back soon --

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Andreas Hanke
Patrick Shanahan schrieb: 15:47 wahoo:~/work # rpm2cpio.pl ./rpm-4.4.2-43.4.x86_64.rpm | cpio -id Error: header not recognized cpio: premature end of archive I know. The script does not work. I should have checked that before. guess I'll have to go the 'RESCUE' route. Not if you can get

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
On 8/21/06, Andreas Hanke [EMAIL PROTECTED] wrote: Patrick Shanahan schrieb: 15:47 wahoo:~/work # rpm2cpio.pl ./rpm-4.4.2-43.4.x86_64.rpm | cpio -id Error: header not recognized cpio: premature end of archiveI know. The script does not work. I should have checked that before. guess I'll have to

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Andreas Hanke
Hi, Patrick Shanahan schrieb: To install rpm, I opened the tarball in mc and copied each directory across to the proper locations. Did that screw the system ?? No. All I can think to do atm, is add a new user and then move my home directory across ?? Try that. I guess that the problem is

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Michael Schroeder
On Mon, Aug 21, 2006 at 09:47:11PM +0200, Andreas Hanke wrote: Patrick Shanahan schrieb: yes, but then rpm does not work. I guess that it's because your /bin/rpm is still i586 and you've lost your i586 shared libraries while doing rpm -e rpm.i586. Hmm, this should work then: rpm -e

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Marcus Rueckert
On 2006-08-21 14:22:08 -0400, Patrick Shanahan wrote: 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 maybe another fuckup due the smart bug. :| darix -- openSUSE - SUSE Linux is my linux

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Andreas Hanke
Hi, Patrick Shanahan schrieb: Possible, but I did not have the user/login problem before replacing rpm. Did you log out and log in between the transaction where rpm.i586 was installed and the point where you fixed rpm manually? Copying the rpm files manually cannot break the login. rpm

Re: [opensuse] rpm's do not recognize system architechure

2006-08-21 Thread Patrick Shanahan
On 8/21/06, Patrick Shanahan [EMAIL PROTECTED] wrote: On 8/21/06, Andreas Hanke [EMAIL PROTECTED] wrote: Try that. I guess that the problem is not caused by a particularaccount, but by something more general. But try it anyway.Actually I guess that whatever transaction caused rpm.i586 to