RPM removal double check requested

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ToddAndMargo
Level 3
Level 3
Posts: 52
Joined: Tue Feb 28, 2012 12:32 am

RPM removal double check requested

Post by ToddAndMargo »

Hi All,

I am running Scientific Linux 6.2 (RHEL 6.2 clone) 64 bit. My version of Wine is:

$ rpm -qa \*wine-core\*
wine-core-1.2.3-1.el6.x86_64
wine-core-1.2.3-1.el6.i686

I will be wanting to remove my 64 bit wine and replacing it with more updated 32 bit wine packages. As far as I can tell, all of the Wine packages start with "wine". So I was thinking that the following would scrub the old guy clean out.

rpm -e $(rpm -qa wine\*)

Am I missing anything?

Many thanks,
-T
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: RPM removal double check requested

Post by dimesio »

ToddAndMargo wrote: I will be wanting to remove my 64 bit wine and replacing it with more updated 32 bit wine packages. As far as I can tell, all of the Wine packages start with "wine". So I was thinking that the following would scrub the old guy clean out.

rpm -e $(rpm -qa wine\*)

Am I missing anything?
You really need to ask your distro, as this is a package manager/packaging question.
Martin Gregorie

RPM removal double check requested

Post by Martin Gregorie »

On Tue, 2012-02-28 at 12:49 -0600, dimesio wrote:
ToddAndMargo wrote:
I will be wanting to remove my 64 bit wine and replacing it with more updated 32 bit wine packages. As far as I can tell, all of the Wine packages start with "wine". So I was thinking that the following would scrub the old guy clean out.

rpm -e $(rpm -qa wine\*)

Am I missing anything?
You really need to ask your distro, as this is a package manager/packaging question.
I'd use yum (assuming it follows the Redhat model and uses it as its
package manager.

"yum line 'wine*'" shows what packages are installed.

My 32 bit Fedora 16 system shows many more installed packages than
you've listed for Wine 1.3.37.

"yum erase 'wine*'" will wipe them out.

'yum install packagename...' will put the 32 bit wine packages back.
You'll have to work out what name to use for 32 bit packages from a 64
bit distro install, but FWIW all my wine packages have 'arch' set to
i686, e.g. wine.i686.rpm, so 'wine*.i686' might be a good starting
point. Check it first with 'yum list 'wine*.i686' and then run 'yum info
packagename' on the first listed package to see if it looks like what
you want.


Martin
Martin Gregorie

RPM removal double check requested

Post by Martin Gregorie »

On Tue, 2012-02-28 at 21:13 +0000, Martin Gregorie wrote:
"yum line 'wine*'" shows what packages are installed.
That should be: yum list 'wine*'

Martin
ToddAndMargo
Level 3
Level 3
Posts: 52
Joined: Tue Feb 28, 2012 12:32 am

Re: RPM removal double check requested

Post by ToddAndMargo »

Martin Gregorie wrote:On Tue, 2012-02-28 at 21:13 +0000, Martin Gregorie wrote:
"yum line 'wine*'" shows what packages are installed.
That should be: yum list 'wine*'

Martin
I caught that right off the bat.

Thank you for the in depth answer! ( I knew there had be be other folks our there that lived in the RPM world.) Very much appreciated.

-T
Locked