Xymon Mailing List Archive search

Upgrading Hobbit

list Frank M. Ramaekers
Thu, 7 Jun 2007 15:22:32 -0500
Message-Id: <user-88b81b58b920@xymon.invalid>

-----Original Message-----
From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] 
 
Frank,

Try rpm -qpl <rpm filename>


Frank M. Ramaekers wrote:
-----Original Message-----
From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] 
Sent: Thursday, June 07, 2007 11:09 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Upgrading Hobbit

Frank,

I've done a number of in-place upgrades.  Shut down Hobbit right
before 
you do the make install and bring it back up when it's done.

I would strongly suggest getting the latest all-in-one patch, though.

Frank M. Ramaekers wrote:
I attempting to determine the best method to upgrade my hobbit
4.2-alpha-20060527 to the 4.2 version w/o losing history and keeping
monitoring disruption to a minimum.  Currently hobbit is installed at
/home/hobbit.

Any thoughts, experiences, horror stories, etc.

Thanks,

Frank M. Ramaekers Jr.
Rich Smrcina
---
Well, from the source, I get:

$ rpm -qpl hobbit-4.2.0-1.src.rpm
hobbit-4.2.0.tar.gz
hobbit-client.default
hobbit-client.init
hobbit-init.d
hobbit.logrotate
hobbit.spec

(Notice no directories)

The install package:
$ rpm -qpl FC5-hobbit-4.2.0-1.i386.rpm | more
/etc/hobbit
/etc/hobbit/bb-hosts
/etc/hobbit/bb-services
/etc/hobbit/bbcombotest.cfg
/etc/hobbit/client-local.cfg
/etc/hobbit/columndoc.csv
/etc/hobbit/hobbit-alerts.cfg
/etc/hobbit/hobbit-clients.cfg
/etc/hobbit/hobbit-nkview.cfg
/etc/hobbit/hobbit-nkview.cfg.bak
  :
  :

(Notice directory names included)

But when I tried to install the source, I got (because of permissions):
$ rpm -i ../hobbit-4.2.0-1.src.rpm
error: cannot write to %sourcedir /usr/src/redhat/SOURCES

So, it appears that there is some directory information that the -qpl
switch doesn't display

Frank M. Ramaekers Jr.
Systems Programmer                   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (XXX)XXX-XXXX
XXXX Wooded Acres Dr.                Fax:   (XXX)XXX-XXXX
Waco, Texas  76701

This message contains information which is privileged and confidential and is solely for the use of the intended recipient.  If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.

This message contains information which is privileged and confidential and is solely for the use of the intended recipient.  If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.