Discussion:
removing a single rpm when there are 2
Ian Brown
2007-08-01 18:27:01 UTC
Permalink
Hello,

I have an FC7 machine (x86_64).


rpm -qa | grep GLU
mesa-libGLU-6.5.2-10.fc7
mesa-libGLU-6.5.2-10.fc7


but::
rpm -e mesa-libGLU gives:
error: "mesa-libGLU" specifies multiple packages

there are two mesa-libGLU installed here , one is i386 and one is x86_64.
How do I erase the x86_64 version?

The man page is huge, and I could not find my way around it.


Regards,
Ian
seth vidal
2007-08-01 18:28:01 UTC
Permalink
Post by Ian Brown
Hello,
I have an FC7 machine (x86_64).
rpm -qa | grep GLU
mesa-libGLU-6.5.2-10.fc7
mesa-libGLU-6.5.2-10.fc7
error: "mesa-libGLU" specifies multiple packages
there are two mesa-libGLU installed here , one is i386 and one is x86_64.
How do I erase the x86_64 version?
yum remove mesa-libGLU.x86_64

or

rpm -e mesa-libGLU.x86_64

-sv
Bob Proulx
2007-08-01 21:15:11 UTC
Permalink
Post by seth vidal
Post by Ian Brown
there are two mesa-libGLU installed here , one is i386 and one is x86_64.
How do I erase the x86_64 version?
rpm -e mesa-libGLU.x86_64
Note that files shared between the two versions will also be removed
leaving the i386 version only partially remaining. It would probably
be required to reinstall the i386 version in order to return it to
complete status. Probably better to remove both and then install the
i386 version only if that is your desired ending state.

Bob
Rodrigo Barbosa
2007-08-01 21:51:30 UTC
Permalink
Post by Bob Proulx
Post by seth vidal
Post by Ian Brown
there are two mesa-libGLU installed here , one is i386 and one is x86_64.
How do I erase the x86_64 version?
rpm -e mesa-libGLU.x86_64
Note that files shared between the two versions will also be removed
leaving the i386 version only partially remaining. It would probably
be required to reinstall the i386 version in order to return it to
complete status. Probably better to remove both and then install the
i386 version only if that is your desired ending state.
Are you sure about that ? As far as I remember, shared files between
packages would only be removed when the last owner was.

[]s

- --
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
seth vidal
2007-08-01 22:02:07 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Bob Proulx
Post by seth vidal
Post by Ian Brown
there are two mesa-libGLU installed here , one is i386 and one is x86_64.
How do I erase the x86_64 version?
rpm -e mesa-libGLU.x86_64
Note that files shared between the two versions will also be removed
leaving the i386 version only partially remaining. It would probably
be required to reinstall the i386 version in order to return it to
complete status. Probably better to remove both and then install the
i386 version only if that is your desired ending state.
Are you sure about that ? As far as I remember, shared files between
packages would only be removed when the last owner was.
it's a bug in rpm that causes it. I think the bug has been fixed for
rawhide/fedora 8, I _think_.

-sv
Panu Matilainen
2007-08-02 05:58:57 UTC
Permalink
Post by seth vidal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Bob Proulx
Post by seth vidal
Post by Ian Brown
there are two mesa-libGLU installed here , one is i386 and one is x86_64.
How do I erase the x86_64 version?
rpm -e mesa-libGLU.x86_64
Note that files shared between the two versions will also be removed
leaving the i386 version only partially remaining. It would probably
be required to reinstall the i386 version in order to return it to
complete status. Probably better to remove both and then install the
i386 version only if that is your desired ending state.
Are you sure about that ? As far as I remember, shared files between
packages would only be removed when the last owner was.
it's a bug in rpm that causes it. I think the bug has been fixed for
rawhide/fedora 8, I _think_.
Yes. Except it'd be better described as a "bug" because it was a known
side-effect of an ages old nasty hack to bring memory usage down...
Further, that only affected files in certain directories such as
documentation and locales.

Note that rpm also allows multilib packages to "share" conflicting (same
path, different contents) executables, in such a case the binary
of the "better" arch wins and the other never gets put to the disk. Which
is fine until you remove the "better" arch package, in which case the file
goes missing although the other package claims owning such a file.

All that said, mesa-libGLU package isn't affected by either issue.

- Panu -

Tony Earnshaw
2007-08-02 05:45:40 UTC
Permalink
Post by Ian Brown
Hello,
I have an FC7 machine (x86_64).
rpm -qa | grep GLU
mesa-libGLU-6.5.2-10.fc7
mesa-libGLU-6.5.2-10.fc7
error: "mesa-libGLU" specifies multiple packages
there are two mesa-libGLU installed here , one is i386 and one is x86_64.
How do I erase the x86_64 version?
Don't! If you're running X you can use pirut to see the package
extensions; the x86_64 versions are installed to separate locations and
they are mostly needed.

--Tonni
--
Tony Earnshaw
Email: tonni at hetnet dot nl
Loading...