1830241 Members
1444 Online
109999 Solutions
New Discussion

Software Admin Question

 
SOLVED
Go to solution
Alzhy
Honored Contributor

Software Admin Question

A little help please:

1. When upgrading software in HPUX, do I need to remove first the existing version? (ie. Upgrading CIFS/Server A.01.08 to A.01.09). What happens if I remove A.01.09 if I installed it on top of A.01.08? Will A.01.08 get reinstated?

2. Also, how do I remove a software fileset? Ie. CIFS (client and software) were included in an OS 11i install... swlist does not show them but swlist -l fileset does.

3. Any short but comprehensive software administration link/site I could be pointed to?
Hakuna Matata.
11 REPLIES 11
Patrick Wallek
Honored Contributor
Solution

Re: Software Admin Question

1) It entirely depends on the software. Some things get installed to a different location, so there is no point in removing the old first. Some software, like Ignite/UX, I always remove the old first and then install the new.

2) You remove a fileset using 'swremove'. If you just do an:

# swremove

Then a window will open up and give you a selection of software that is installed on your system. You select what you want to remove from this list, mark it, and remove it.

3) You could check http://docs.hp.com and see if they have anything that suits you.
Zeev Schultz
Honored Contributor

Re: Software Admin Question

1)depends,usually worth to read release notes
can find them on docs.hp.com,search for CIFS.
I usually did swremove as it didn't take much time.Oh,well saved smbd.conf and needed files (logs?)
2)swremove,sometimes filesets depend one on another but in case of CIFS 9000 software I think it's a standalone install (no dep.)
2) www.software.hp.com , hpux.utah.cs.edu

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Darren Prior
Honored Contributor

Re: Software Admin Question

Hi Nelson,

1) It depends on the s/w; CIFS can be upgraded without uninstalling the previous version. Doing this will preserve your existing CIFS configuration.

3) http://docs.hp.com

Please also consider awarding points to those that have helped you - it helps others decide which answers are good and is a free way of rewarding those that have spent their time helping you.

regards,

Darren.
Calm down. It's only ones and zeros...
Robert-Jan Goossens
Honored Contributor

Re: Software Admin Question

Hi,

Adding a bit of information before starting swremove.

If you use X-reminal emulator software like reflectionX or Xvision.

# export DISPLAY=your-ip-adres:0.0

# swinstall

# swremove

Hope it helps,

Robert-Jan.
Alzhy
Honored Contributor

Re: Software Admin Question

Thanks for the replies.. I found out myself that this can be done via that GUI... I guess I was looking at a CLI that will do the trick instead of the GUI...

BTW, is there a tool/way to find out which software package/fileset a file (exe or otherwise) belongs to.. ie. if I want to know which fileset /usr/contrib/bin/perl belongs to?

Also, is it normal to for swinstall to not overwrite existing versions ie. perl? I installed 5.6.1 depot but the old perl is available in /usr/contrib/bin.
Hakuna Matata.
Zeev Schultz
Honored Contributor

Re: Software Admin Question

Nelson,
1)swlist -l file FilesetName/ProductName
2)Depends on software and swinstall options.Check /var/adm/sw/swagent log file.
3)What about points to those deserving?

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Pete Randall
Outstanding Contributor

Re: Software Admin Question

Nelson,

Yes, that's normal in this case. It depends on how the software was packaged and installed.


Pete

Pete
Patrick Wallek
Honored Contributor

Re: Software Admin Question

As said with new software, it depends entirely on how it is packaged and what its installation target is. With Perl as an example, the new version of Perl get installed into /opt/perl or /opt/perl5, etc. The version of Perl that is in /usr/contrib/bin was part of a different package, done when the OS was installed, and is quite old (Perl 4, I believe). The version in /usr/contrib/bin will remain when newer versions are installed and should actually be left there for some OS utilities that apparently haven't been upgraded or test with newer versions of Perl.

There is no one set answer to a lot of these questions. As with anything else in Unix the answer is "It Depends".
Alzhy
Honored Contributor

Re: Software Admin Question

Any answer as to how I find out what software/fileset a particular file belongs to? On Sun's I just grep for it in /var/sadm/install/contents file to get the package name.
Hakuna Matata.
Jean-Louis Phelix
Honored Contributor

Re: Software Admin Question

Hi,

You can find it using :

swlist -l file | grep progname

It will search in the IPD.

Regards.
It works for me (© Bill McNAMARA ...)
Zeev Schultz
Honored Contributor

Re: Software Admin Question

Try this (I was looking where /etc/hosts belongs)

[ring]//etc/opt/resmon/lbin::swlist -l file | grep "/etc/hosts"

InternetSrvcs.INETSVCS-INETD: /etc/hosts
InternetSrvcs.INETSVCSINETD: /usr/newconfig/etc/hosts

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray