RPM oddness with FC2

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

 



I recently tried to install GCC for the MC68HC11.

First, I tried building from sources and installing.
The example given was hard to try, because a link to
the source to build was broken. But I cobbled together
what I could, and tried the example. It didn't work,
because of missing include files.

I deleted the stuff which the install put into /usr/local/bin
/usr/local/lib/... etc. and started over.

I pulled the RPMs from the website, and did the install.
The RPMs put files into /usr/bin and /usr/lib/... etc
I tried it, and had exactly the same problems I had with
the build from source.

I decided to uninstall. But then I hit some problems. Here is
the current behavior of rpm, which I find confusing.

# rpm -e newlib-68hc1x-1.12.0-3.0.1.i586.rpm
error: package newlib-68hc1x-1.12.0-3.0.1.i586.rpm is not installed
# rpm -i newlib-68hc1x-1.12.0-3.0.1.i586.rpm
       package newlib-68hc1x-1.12.0-3.0.1 is already installed
# rpm -e newlib-68hc1x-1.12.0-3.0.1.i586.rpm
error: package newlib-68hc1x-1.12.0-3.0.1.i586.rpm is not installed
# rpm --rebuilddb
   [a few minutes of disc activity here]
# rpm -i newlib-68hc1x-1.12.0-3.0.1.i586.rpm
       package newlib-68hc1x-1.12.0-3.0.1 is already installed
# rpm -e newlib-68hc1x-1.12.0-3.0.1.i586.rpm
error: package newlib-68hc1x-1.12.0-3.0.1.i586.rpm is not installed
# rpm -q newlib-68hc1x-1.12.0-3.0.1.i586.rpm
package newlib-68hc1x-1.12.0-3.0.1.i586.rpm is not installed
# rpm -i newlib-68hc1x-1.12.0-3.0.1.i586.rpm
       package newlib-68hc1x-1.12.0-3.0.1 is already installed
# rpm -q --dump -p binutils-68hc1x-2.15-3.0.1.i586.rpm
/usr/bin 4096 1116148412 00000000000000000000000000000000 040555 root root 0 0 0 X /usr/bin/m6811-elf-addr2line 294136 1116148412 757d013b6f7feb3309408174f1337981 0100555 root root 0 0 0 X
   [rest snipped]
# ls -l /usr/bin/m6811-elf-addr2line
-r-xr-xr-x  1 root root 299632 May 15 04:13 /usr/bin/m6811-elf-addr2line

So I'm confused. Can anyone explain this behavior, and give me
advice on what to do?

Mike

--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux