ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Baffling error while uninstalling MQ

Post new topic  Reply to topic
 Baffling error while uninstalling MQ « View previous topic :: View next topic » 
Author Message
rmah
PostPosted: Tue May 29, 2007 6:53 pm    Post subject: Baffling error while uninstalling MQ Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

I'm getting an error while running an uninstall script that gets rid of all MQ packages installed on my system.

When it gets to this step in the script:
rpm -e MQSeriesRuntime-U806667-6.0.2-0

I get this error:
ERROR: This maintenance package, "MQSeriesRuntime", is not the most
recent maintenance package applied on this system.
Please remove the later maintenance package(s) associated with the
component "MQSeriesRuntime", before removing this one.
Aborting install

I'm pretty positive MQSeriesRuntime-U806667-6.0.2-0 is the latest maintenance package on the system. When I "rpm -qa|grep "^MQSeries"" I get this:

rpm -qa|grep "^MQSeries"
MQSeriesRuntime-6.0.1-0
MQSeriesRuntime-U806667-6.0.2-0

Everything is gone, but these 2 packages.

So, these are the only 2 left on my system, but it's telling me there's another one. Where???!!!


Last edited by rmah on Wed May 30, 2007 7:39 am; edited 1 time in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 29, 2007 7:48 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

What does dspmqver tell you ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rmah
PostPosted: Wed May 30, 2007 7:20 am    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

fjb_saper wrote:
What does dspmqver tell you ?


Name: WebSphere MQ
Version: 6.0.2.0
BuildType: IKAP - (Production)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 30, 2007 7:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Maybe you applied a 6-0-2-0 rpm for, say, the SDK after you applied the Runtime rpm...

Also, you can't possibly only have the MQSeriesRuntime RPM installed. Surely you have at least the Server or Client package as well.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rmah
PostPosted: Wed May 30, 2007 7:38 am    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

jefflowrey wrote:
Maybe you applied a 6-0-2-0 rpm for, say, the SDK after you applied the Runtime rpm...

Also, you can't possibly only have the MQSeriesRuntime RPM installed. Surely you have at least the Server or Client package as well.


I was running an uninstall script that gets rid of everything. It successfully did get rid of everything BUT these 2 runtime packages. It refuses to uninstall these 2 packages because of the problem outlined in the 1st post.

If i rpm -qa|grep "^MQSeries", only those 2 packages show up, with no other packages installed.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 30, 2007 7:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, maybe one of the other uninstalls didn't complete successfully...

Or the rpm database hasn't refreshed entirely yet...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rmah
PostPosted: Wed May 30, 2007 7:41 am    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

jefflowrey wrote:
Well, maybe one of the other uninstalls didn't complete successfully...

Or the rpm database hasn't refreshed entirely yet...


These are some of the message I get when trying to re-run the script:

error: package gsk7bas-7.0-3.30 is not installed
error: package gsk7bas64-7.0-3.18 is not installed
error: package gsk7bas-7.0-3.18 is not installed
error: package gsk7bas-7.0-3.15 is not installed
.
.
.
.


So it seems like the other packages were initially uninstalled ok.
How would I refresh the rpm database?

Thanks so much!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 30, 2007 7:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

well, rpm --help shows the --rebuilddb option.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rmah
PostPosted: Wed May 30, 2007 8:08 am    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

jefflowrey wrote:
well, rpm --help shows the --rebuilddb option.


i have rebuilt the db, but still no luck.

does this mean anything?
error: %preun(MQSeriesRuntime-U806667-6.0.2-0.x86_64) scriptlet failed, exit status 1


thanks!!!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 30, 2007 8:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

rmah wrote:
does this mean anything?
error: %preun(MQSeriesRuntime-U806667-6.0.2-0.x86_64) scriptlet failed, exit status 1


Not to me, no.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed May 30, 2007 1:25 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Try adding the --nodeps flag to the rpm command.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
rmah
PostPosted: Wed May 30, 2007 1:40 pm    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

Nigelg wrote:
Try adding the --nodeps flag to the rpm command.


No luck

rpm -e MQSeriesRuntime-U806667-6.0.2-0 --nodeps
ERROR: This maintenance package, "MQSeriesRuntime", is not the most
recent maintenance package applied on this system.
Please remove the later maintenance package(s) associated with the
component "MQSeriesRuntime", before removing this one.
Aborting install
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed May 30, 2007 5:34 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

For ha-has, have you tried uninstalling the 6.0.2.1 version of that package (even though it doesn't appear to be there), just to see what would happen?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Philip Morten
PostPosted: Thu May 31, 2007 1:22 am    Post subject: Reply with quote

Master

Joined: 07 Mar 2002
Posts: 230
Location: Hursley Park

I can't tell now how you got into this situattion but this should clear it up:

rpm -e --nodeps --noscripts MQSeriesRuntime-U806667-6.0.2-0

rpm -e MQSeriesRuntime ( if this has problems then add --noscripts)

Check that the packages have indeed been removed:

rpm -qa | grep MQSeries

There may be files left in /opt/mqm, so:

rm -rf /opt/mqm/*

Check for symlinks in /usr/bin and /usr/lib that point to (now nonexisting) files in /opt/mqm and remove them.
_________________
Philip Morten

The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
rmah
PostPosted: Mon Jun 04, 2007 2:16 pm    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

Philip Morten wrote:
I can't tell now how you got into this situattion but this should clear it up:

rpm -e --nodeps --noscripts MQSeriesRuntime-U806667-6.0.2-0

rpm -e MQSeriesRuntime ( if this has problems then add --noscripts)

Check that the packages have indeed been removed:

rpm -qa | grep MQSeries

There may be files left in /opt/mqm, so:

rm -rf /opt/mqm/*

Check for symlinks in /usr/bin and /usr/lib that point to (now nonexisting) files in /opt/mqm and remove them.


Thanks! This solved my problem!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Baffling error while uninstalling MQ
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.