[opensuse] rpm's do not recognize system architechure
"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: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2200 MHz AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2200 MHz 09:25 wahoo:~ # rpm -hiv http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.g... Retrieving http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.g... Preparing... ########################################### [100%] package smart-0.42-8.guru.suse101 is intended for a x86_64 architecture What have I done wrong and/or, what do I need to change? -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, Patrick Shanahan schrieb:
09:25 wahoo:~ # rpm -hiv http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.g... Retrieving http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.g... Preparing... ########################################### [100%] package smart-0.42-8.guru.suse101 is intended for a x86_64 architecture
What's the output of these commands: rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm rpm --showrc | head rpm --eval '%_arch' rpm --eval '%_target_cpu' rpm -V rpm Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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.g... Retrieving http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.g... Preparing... ########################################### [100%] package smart-0.42-8.guru.suse101 is intended for a x86_64 architecture
What's the output of these commands:
rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm
rpm --showrc | head
rpm --eval '%_arch'
rpm --eval '%_target_cpu'
rpm -V rpm
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 14:13 wahoo:~ # rpm --showrc | head ARCHITECTURE AND OS: build arch : i586 compatible build archs: athlon i686 i586 i486 i386 noarch fat build os : Linux compatible build os's : Linux install arch : athlon install os : Linux compatible archs : athlon i686 i586 i486 i386 noarch fat compatible os's : Linux 14:13 wahoo:~ # rpm --eval '%_arch' i386 14:13 wahoo:~ # rpm --eval '%_target_cpu' i586 14:13 wahoo:~ # rpm -V rpm S.5....T /bin/rpm .......T /etc/init.d/rpmconfigcheck .......T /usr/bin/gendiff S.5....T /usr/bin/rpm2cpio S.5....T /usr/bin/rpmgraph .......T /usr/lib/rpm/Specfile.pm .......T /usr/lib/rpm/brp-compress .......T /usr/lib/rpm/brp-java-gcjcompile .......T /usr/lib/rpm/brp-lib64-linux .......T /usr/lib/rpm/brp-python-bytecompile .......T /usr/lib/rpm/brp-redhat .......T /usr/lib/rpm/brp-sparc64-linux .......T /usr/lib/rpm/brp-strip .......T /usr/lib/rpm/brp-strip-comment-note .......T /usr/lib/rpm/brp-strip-shared .......T /usr/lib/rpm/brp-strip-static-archive .......T /usr/lib/rpm/brp-symlink .......T /usr/lib/rpm/check-files .......T /usr/lib/rpm/check-prereqs .......T /usr/lib/rpm/config.guess .......T /usr/lib/rpm/config.site .......T /usr/lib/rpm/config.sub S.5....T /usr/lib/rpm/convertdb1 .......T /usr/lib/rpm/convertrpmrc.sh .......T /usr/lib/rpm/cross-build S.5....T /usr/lib/rpm/debugedit .......T /usr/lib/rpm/find-debuginfo.sh .......T /usr/lib/rpm/find-lang.sh .......T /usr/lib/rpm/find-prov.pl .......T /usr/lib/rpm/find-provides .......T /usr/lib/rpm/find-provides.ksyms .......T /usr/lib/rpm/find-provides.perl .......T /usr/lib/rpm/find-req.pl .......T /usr/lib/rpm/find-requires .......T /usr/lib/rpm/find-requires.ksyms .......T /usr/lib/rpm/find-requires.perl .......T /usr/lib/rpm/find-supplements .......T /usr/lib/rpm/find-supplements.ksyms .......T /usr/lib/rpm/freshen.sh .......T /usr/lib/rpm/get_magic.pl .......T /usr/lib/rpm/getpo.sh .......T /usr/lib/rpm/http.req S.5....T /usr/lib/rpm/javadeps S.5....T /usr/lib/rpm/macros .......T /usr/lib/rpm/magic .......T /usr/lib/rpm/magic.mgc .......T /usr/lib/rpm/magic.mime .......T /usr/lib/rpm/magic.mime.mgc .......T /usr/lib/rpm/magic.prov .......T /usr/lib/rpm/magic.req .......T /usr/lib/rpm/mkinstalldirs S.5....T /usr/lib/rpm/noarch-linux/macros .......T /usr/lib/rpm/perl.prov .......T /usr/lib/rpm/perl.req .......T /usr/lib/rpm/perldeps.pl S.5....T /usr/lib/rpm/permlist .......T /usr/lib/rpm/pythondeps.sh .......T /usr/lib/rpm/rpm.daily .......T /usr/lib/rpm/rpm.log .......T /usr/lib/rpm/rpm.xinetd .......T /usr/lib/rpm/rpm2cpio.sh S.5....T /usr/lib/rpm/rpmb S.5....T /usr/lib/rpm/rpmcache S.5....T /usr/lib/rpm/rpmd S.5....T /usr/lib/rpm/rpmdb_archive S.5....T /usr/lib/rpm/rpmdb_checkpoint S.5....T /usr/lib/rpm/rpmdb_deadlock S.5....T /usr/lib/rpm/rpmdb_dump S.5....T /usr/lib/rpm/rpmdb_load .......T /usr/lib/rpm/rpmdb_loadcvt S.5....T /usr/lib/rpm/rpmdb_printlog S.5....T /usr/lib/rpm/rpmdb_recover S.5....T /usr/lib/rpm/rpmdb_stat S.5....T /usr/lib/rpm/rpmdb_upgrade S.5....T /usr/lib/rpm/rpmdb_verify S.5....T /usr/lib/rpm/rpmdeps .......T /usr/lib/rpm/rpmdiff .......T /usr/lib/rpm/rpmdiff.cgi S.5....T /usr/lib/rpm/rpmfile S.5....T /usr/lib/rpm/rpmi S.5....T /usr/lib/rpm/rpmk .......T /usr/lib/rpm/rpmpopt-4.4.2 S.5....T /usr/lib/rpm/rpmq S.5....T /usr/lib/rpm/rpmqpack .......T /usr/lib/rpm/rpmrc .......T /usr/lib/rpm/rpmsort .......T /usr/lib/rpm/sql.prov .......T /usr/lib/rpm/sql.req .......T /usr/lib/rpm/suse_macros .......T /usr/lib/rpm/symset-table .......T /usr/lib/rpm/tcl.req .......T /usr/lib/rpm/tgpg .......T /usr/lib/rpm/trpm .......T /usr/lib/rpm/u_pkg.sh .......T /usr/lib/rpm/vpkg-provides.sh .......T /usr/lib/rpm/vpkg-provides2.sh .......T /usr/share/locale/cs/LC_MESSAGES/rpm.mo .......T /usr/share/locale/da/LC_MESSAGES/rpm.mo .......T /usr/share/locale/fi/LC_MESSAGES/rpm.mo .......T /usr/share/locale/fr/LC_MESSAGES/rpm.mo .......T /usr/share/locale/gl/LC_MESSAGES/rpm.mo .......T /usr/share/locale/is/LC_MESSAGES/rpm.mo .......T /usr/share/locale/ja/LC_MESSAGES/rpm.mo .......T /usr/share/locale/ko/LC_MESSAGES/rpm.mo .......T /usr/share/locale/nb/LC_MESSAGES/rpm.mo .......T /usr/share/locale/pl/LC_MESSAGES/rpm.mo .......T /usr/share/locale/pt/LC_MESSAGES/rpm.mo .......T /usr/share/locale/pt_BR/LC_MESSAGES/rpm.mo .......T /usr/share/locale/ro/LC_MESSAGES/rpm.mo .......T /usr/share/locale/ru/LC_MESSAGES/rpm.mo .......T /usr/share/locale/sk/LC_MESSAGES/rpm.mo .......T /usr/share/locale/sl/LC_MESSAGES/rpm.mo .......T /usr/share/locale/sr/LC_MESSAGES/rpm.mo .......T /usr/share/locale/sv/LC_MESSAGES/rpm.mo .......T /usr/share/locale/tr/LC_MESSAGES/rpm.mo .......T d /usr/share/man/man1/gendiff.1.gz .......T d /usr/share/man/man8/rpm.8.gz .......T d /usr/share/man/man8/rpm2cpio.8.gz .......T d /usr/share/man/man8/rpmbuild.8.gz .......T d /usr/share/man/man8/rpmcache.8.gz .......T d /usr/share/man/man8/rpmdeps.8.gz .......T d /usr/share/man/man8/rpmgraph.8.gz .......T d /usr/share/man/man8/rpmqpack.8.gz .......T /var/adm/fillup-templates/sysconfig.services-rpm OK, I see some inconsistancies. What caused the changes to non x86_64. I have designated x86_64 *everywhere* there was a choice??? tks, -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Aug 21, 2006 at 02:22:08PM -0400, Patrick Shanahan wrote:
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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.g... Retrieving http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/smart-0.42-8.g... Preparing... ########################################### [100%] package smart-0.42-8.guru.suse101 is intended for a x86_64 architecture
What's the output of these commands:
rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm
rpm --showrc | head
rpm --eval '%_arch'
rpm --eval '%_target_cpu'
rpm -V rpm
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 breaking them. Please deinstall 'rpm.i586' and reinstall 'rpm.x86_64'. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Michael Schroeder <mls@suse.de> [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 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 breaking them. Please deinstall 'rpm.i586' and reinstall 'rpm.x86_64'.
FALSE! You are mixing up yum with smart! Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 installing packages of different architectures must be allowed. If things break due to this, it's the contents of the packages that are broken and not the package manager.. -- // Janne --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 installed. smart does _not_ do that automagically. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 installed. smart does _not_ do that automagically.
smart installs i686 pkgs on i586, which is more or less connected. Jan Engelhardt -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 22 August 2006 13:15, Andreas Hanke wrote:
AFAIK installing packages of different architectures must be allowed.
Why "must"?
x86-64 boxes still need 32bit software (flash, video codecs et al). And I take it this is the way things are going to be for long, long time. There will always be some commercial shonk that has not been ported to x86-64. BTW: installing 32bit Firefox on x86-64 is easy, but has anyone succeeded running both 32bit and 64bit konqueror on the same host? Installs fine, but screws up KDE completely as files collide :/. Mysterious, RPM should complain about collision.
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 installed. smart does _not_ do that automagically.
Yeah, but you can request it to do it ( @arch switch ). -- // Janne --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 22, 2006 at 02:40:24PM +0300, Janne Karhunen wrote:
On Tuesday 22 August 2006 13:15, Andreas Hanke wrote:
AFAIK installing packages of different architectures must be allowed.
Why "must"?
x86-64 boxes still need 32bit software (flash, video codecs et al). And I take it this is the way things are going to be for long, long time. There will always be some commercial shonk that has not been ported to x86-64.
Note that we use (unlike e.g. fedora) different names for the 32bit packages. It is always an error on SUSE to install two packages with the same name and different architecture. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, Janne Karhunen schrieb:
x86-64 boxes still need 32bit software (flash, video codecs et al).
A few 32bit packages are indeed needed. For libraries, these are the -32bit named packages; for packages which are not primarily library packages, there is no special indication in the package name.
And I take it this is the way things are going to be for long, long time.
Yes, and it really works if people do it correctly, by installing the -32bit.x86_64 packages and not the i586 packages. Installing the i586 packages is plain wrong in most cases.
BTW: installing 32bit Firefox on x86-64 is easy, but has anyone succeeded running both 32bit and 64bit konqueror on the same host? Installs fine, but screws up KDE completely as files collide :/.
Installing kdebase3.i586 on x86_64 systems in order to get a 32bit konqueror is plain wrong and unnecessary. Install kdebase3-nsplugin.i586 instead. That one doesn't collide with anything. konqueror itself does not need to be 32bit in order to support 32bit plugins! Do not try to be smarter than the packaging scheme used by the packagers. You are breaking your system that way. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 22 August 2006 14:50, Andreas Hanke wrote:
Installing kdebase3.i586 on x86_64 systems in order to get a 32bit konqueror is plain wrong and unnecessary. Install kdebase3-nsplugin.i586 instead. That one doesn't collide with anything. konqueror itself does not need to be 32bit in order to support 32bit plugins!
OK, having played with Gnome I almost forgot that we're talking about sane architecture here ;). But hey, thanks. -- // Janne --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm returns exactly rpm-4.4.2-43.4.x86_64 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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 files from midnight commander to the correct locations ?? -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Patrick Shanahan <ptilopteri@gmail.com> [08-21-06 15:00]:
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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 files from midnight commander to the correct locations ??
and this does not work, probably mc uses rpm for access ?? -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Patrick Shanahan <ptilopteri@gmail.com> [08-21-06 15:03]:
* Patrick Shanahan <ptilopteri@gmail.com> [08-21-06 15:00]:
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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 files from midnight commander to the correct locations ??
and this does not work, probably mc uses rpm for access ??
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 THAT doesn't work either :^( -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 any symlink from a /lib directory into a /lib64 directory or vice versa. These directories are separated for a reason. Please remove the symlinks again before doing anything else. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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 /usr/lib/librpmdb-4.4.so /usr/lib/librpmio-4.4.so
NO!
Never ever create any symlink from a /lib directory into a /lib64 directory or vice versa. These directories are separated for a reason.
Please remove the symlinks again before doing anything else.
done -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, On Mon, 21 Aug 2006, Patrick Shanahan wrote:
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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 files from midnight commander to the correct locations ??
rpm -e --justdb <i386 version> rpm -Uhv <x86_64 version> Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Eberhard Moenkeberg <emoenke@gwdg.de> [08-21-06 15:14]:
Hi,
On Mon, 21 Aug 2006, Patrick Shanahan wrote:
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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 files from midnight commander to the correct locations ??
rpm -e --justdb <i386 version> rpm -Uhv <x86_64 version>
Cheers -e
Thanks but toooo late, I have no rpm available: rpm: error while loading shared libraries: librpm-4.4.so: cannot open shared object file: No such file or directory how about the tarball? could you make the tarball available for rpm-4.4.2-43.4.x86_64.rpm? I could config/make/make-install -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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. The script is here: http://www.iagora.com/~espel/rpm2cpio Download it, rename it to rpm2cpio.pl (to avoid confusion with the "real" rpm2cpio), copy it to /usr/local/bin and make it exectuable. Now download rpm.x86_64 http://download.uni-hd.de/ftp/pub/linux/suse/update/10.1/rpm/x86_64/rpm-4.4.... 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. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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....
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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Andreas Hanke <andreas.hanke@gmx-topmail.de> [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 -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 rpm.x86_64 in a different format from somewhere. And you can. It's already in your inbox. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/21/06, Andreas Hanke <andreas.hanke@gmx-topmail.de> 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 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 rpm.x86_64 in a different format from somewhere.
And you can. It's already in your inbox.
OK, thanks. rpm works correctly now, but I have lost myself as user. I cannot log in or access any files. It's like I no longer have permission. I cannot even log onto a console. I went to init 1 and back to three but still cannot login :^( ??? Do I need to reboot (wouldn't think)? To install rpm, I opened the tarball in mc and copied each directory across to the proper locations. Did that screw the system ?? All I can think to do atm, is add a new user and then move my home directory across ?? tks, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
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 not caused by a particular account, but by something more general. But try it anyway. Actually I guess that whatever transaction caused rpm.i586 to be installed screwed up more things than just rpm. Maybe it installed some nice i586 versions of important pam modules... who knows. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/21/06, Andreas Hanke <andreas.hanke@gmx-topmail.de> wrote:
Try that. I guess that the problem is not caused by a particular account, but by something more general. But try it anyway.
Actually I guess that whatever transaction caused rpm.i586 to be installed screwed up more things than just rpm. Maybe it installed some nice i586 versions of important pam modules... who knows.
Possible, but I did not have the user/login problem before replacing rpm. ???? I have added another user, but still have the same problem. No use copying the home directory as the new user cannot login. I used yast to create the user and the accounts are both enabled. Is there a way to regenerate permissions? Will try rebooting while awaiting an answer. hard working on a wdoz box. Thanks all for vmware :^)...... tks, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
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 does not have anyhing to do with that. rpm.i586 did not install itself, it was installed during a package transaction, and the reason why the login is now broken might be linked to the reason why rpm was broken. But rpm is clearly not the reason why the login is now broken. I can't really help you here because I have no idea how the login process works. Since you cannot even log in to a console, X is not the problem and since you cannot even log in to a new account, nothing in your home directory can be the reason. So the reason must be something involved in the login process. How does the login process work? Try to investigate in that direction, associate it to packages and then verify that these packages are correctly installed. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/21/06, Patrick Shanahan <ptilopteri@gmail.com> wrote:
On 8/21/06, Andreas Hanke <andreas.hanke@gmx-topmail.de> wrote:
Try that. I guess that the problem is not caused by a particular account, but by something more general. But try it anyway.
Actually I guess that whatever transaction caused rpm.i586 to be installed screwed up more things than just rpm. Maybe it installed some nice i586 versions of important pam modules... who knows.
Possible, but I did not have the user/login problem before replacing rpm. ???? I have added another user, but still have the same problem. No use copying the home directory as the new user cannot login. I used yast to create the user and the accounts are both enabled.
Is there a way to regenerate permissions? Will try rebooting while awaiting an answer.
hard working on a wdoz box. Thanks all for vmware :^)......
AND, of course, rebooting solves nada. will reboot to the install disk and try recovering the user, but am very unfamiliar with the recovery function :^( Pointers, direction, appreciated. tks, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
Hi, On Mon, 21 Aug 2006, Patrick Shanahan wrote:
AND, of course, rebooting solves nada.
will reboot to the install disk and try recovering the user, but am very unfamiliar with the recovery function :^( Pointers, direction, appreciated.
You should see something in /var/log/messages. Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/21/06, Eberhard Moenkeberg <emoenke@gwdg.de> wrote:
You should see something in /var/log/messages.
attempting to su from root to pat show the attempt but no error or other message other than an attempt nothing shows from attempting logins to X. tks, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 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
rpm-4.4.2-43.4.x86_64
and that
rpm -V
returns exactly nothing.
How to get there? Difficult. ;)
Doesn't 'rpm -e rpm.i586' work? And don't forget to install the right version of rpm afterwards... Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Michael Schroeder <mls@suse.de> [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
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
rpm-4.4.2-43.4.x86_64
and that
rpm -V
returns exactly nothing.
How to get there? Difficult. ;)
Doesn't 'rpm -e rpm.i586' work? And don't forget to install the right version of rpm afterwards...
yes, but then rpm does not work. see my recent posts. Trying rpm2cpio at the moment.. tks, -- 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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". If you want to find out, post the output of file /bin/rpm ldd /bin/rpm rpm -qf /bin/rpm --queryformat='%{NAME}.%{ARCH}\n' rpm -qf /bin/rpm | xargs rpm -V
Trying rpm2cpio at the moment..
Forget it, this script does not work. Look at your inbox, I've sent you rpm.x86_64 extracted and recompressed in tar.bz2 format. Copy the files manually, overwriting the currently installed ones. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 rpm.x86_64 and later on 'rpm -hUv rpm-....x86_64.rpm'. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 think smart is the one to blame? Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 should be allowed if this was requested. In many cases this is a necessity. Runtime linker should not see 'wrong' libraries. -- // Janne --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Andreas Hanke
-
Christoph Thiel
-
Eberhard Moenkeberg
-
Jan Engelhardt
-
Janne Karhunen
-
Marcus Rueckert
-
Michael Schroeder
-
Patrick Shanahan