[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: No i386 images in rawhide,

On Tue, 7 Apr 2009, Peter Robinson wrote:

I'm getting that exact error on a Fit-PC machine (AMD Geode of similar
spec to the OLPC) that's running Fedora 10. I went to upgrade it on
the weekend to F11 beta. As part of the yum upgrade I did a "yum
upgrade rpm yum" which of course pulled in python. The geode is
capable of cmov so it has a i686 glibc installed (but it complains
about the arch) so rather than installing the i386 F10 glibc so it
would go smoothly I used rpm to install the F11 i586 glibc package.
Everything runs fine but I get the same errors with rpm so its stuck
in that state at the moment. I went to do a clean install of F11 but X
fell over (which worked on F10 install) so I haven't bothered to go
any further if you want me to run some tests.

Hmm, Geode doesn't fit the NSS-case as it's not multilib. Please post
exact errors you're seeing and the command that produced it. Also, does
itself work (ie is it just yum that's busted) and if not, what errors
get from that?

Its just plain rpm. An example doing a simple package query gives me
the following

[root cypher ~]# rpm -q glibc
error: Unterminated {: {_%{_keyringpath}/*.k
 0< /
error: /: reading of public key failed.
error: cannot open Packages index using db3 - No such file or directory
error: Unterminated {: {_%{_dbpat???
 0< /
error: cannot open Packages database in /
package glibc is not installed
[root cypher ~]#

Let me know if you want me to do further testing.

Smells strongly of memory corruption... Can you run the same with

# valgrind --leak-check=yes rpm -q glibc

Hmm. don't have valgrind installed and rpm is screwed so I can't.....

rpm2cpio should work even if rpm is otherwise screwed (and if even that
fails, there's a script version in /usr/lib/rpm/rpm2cpio.sh). Also just a
strace might provide some clues, if you have that installed.

Any idea what provides the memcheck tool?

[root cypher bin]# ./valgrind --leak-check=yes rpm -q glibc
valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No
such file or directory
[root cypher bin]#

valgrind expects to find the bits and pieces in certain places - you'll need to do the rpm2cpio unpacking from / to get the paths right.

	- Panu -

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]