- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swpackage goes wrong
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 07:21 PM
02-19-2006 07:21 PM
short story:
I am unable to remove my own package from my own depot.
ISEE stuff claim it needs it !!
long story:
I distribute configuration check shell on some of my system in a swdepot.
(see attached package file)
this package is sed'ed to give ##var## real value
then depot is created using :
swpackage -s package-bo.tmp @ /depot/CHC1/MyCompany_Tools
resulting log file is
======= 02/20/06 09:12:04 MET BEGIN swpackage SESSION
* Session started for user
"root@achc1us012h.int.chem.corp.local".
* Source: achc1us012h:package-bo.tmp
* Target: achc1us012h:/depot/CHC1/MyCompany_Tools
* Software selections:
*
* Beginning Selection Phase.
* Reading the Product Specification File (PSF) "package-bo.tmp".
* Reading the product "MyCompanyBO" at line 12.
* Reading the fileset "OutilsVerifMachi" at line 26.
* Reading the fileset "fichiersReferenc" at line 44.
* Selection Phase succeeded.
* Beginning Analysis Phase.
NOTE: The estimated free disk space required on filesystem
"/depot/CHC1" is 28 Kbyte blocks. This requirement will leave
10307063 Kbyte blocks of free disk space on the filesystem
after the packaging session completes.
* Analysis Phase succeeded.
* Beginning Package Phase.
* Packaging the product "MyCompanyBO".
* Packaging the fileset "MyCompanyBO.OutilsVerifMachine".
* Packaging the fileset "MyCompanyBO.fichiersReference".
* Package Phase succeeded.
======= 02/20/06 09:12:04 MET END swpackage SESSION
unfortunatly I can't remove this package
I try issuing
swremove -d 'MyCompanyBO,r==2.2' @ /depot/CHC1/MyCompany>
I get the following :
======= 02/20/06 09:14:04 MET BEGIN swremove SESSION
(non-interactive) (jobid=achc1us012h-0244)
* Session started for user "root@achc1us012h".
* Beginning Selection
* Target connection succeeded for
"achc1us012h:/depot/CHC1/MyCompany_Tools/".
* Software selections:
MyCompanyBO.OutilsVerifMachine,r=2.2,a=HP-UX_B.11.11_32/64,v=CHC
MyCompanyBO.fichiersReference,r=2.2,a=HP-UX_B.11.11_32/64,v=CHC
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swremove.last".
ERROR: "achc1us012h:/depot/CHC1/MyCompany_Tools/": The software
dependencies for 2 products or filesets cannot be resolved.
* The analysis phase failed for
"achc1us012h:/depot/CHC1/MyCompany_Tools/".
* Analysis had errors.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log achc1us012h-0244 @achc1us012h:/depot/CHC1/MyCompany_Tools/".
======= 02/20/06 09:14:05 MET END swremove SESSION (non-interactive)
(jobid=achc1us012h-0244)
So I go for more information
======= 02/20/06 09:14:05 MET BEGIN remove AGENT SESSION (pid=2204)
(jobid=achc1us012h-0244)
* Agent session started for user
"root@achc1us012h.int.chem.corp.local". (pid=2204)
* Beginning Analysis Phase.
* Target: achc1us012h:/depot/CHC1/MyCompany_Tools/
* Target logfile:
achc1us012h:/depot/CHC1/MyCompany_Tools/swagent.log
* Reading source for file information.
* The fileset "ISEE-Chorus.MADHPSERVICES,r=A.5.1.390.872"
requires the selected fileset
"MyCompanyBO.fichiersReference,r=2.2" as a prerequisite.
* The fileset "ISEE-SysInfo.SYSINFOBIN,r=A.01.00.18" requires
the selected fileset "MyCompanyBO.fichiersReference,r=2.2" as a
prerequisite.
* The fileset "Isee_EmsListener.ISEE-EMSCONF,r=A.11.09.10"
requires the selected fileset
"MyCompanyBO.fichiersReference,r=2.2" as a prerequisite.
* The fileset "Isee_EmsListener.ISEE-EMSLSTNR,r=A.11.09.10"
requires the selected fileset
"MyCompanyBO.fichiersReference,r=2.2" as a prerequisite.
ERROR: The dependencies for fileset
"MyCompanyBO.fichiersReference,r=2.2" cannot be resolved (see
previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
(on it goes)
Am I reading well
The fileset "ISEE-Chorus.MADHPSERVICES,r=A.5.1.390.872"
requires the selected fileset
"MyCompanyBO.fichiersReference,r=2.2" as a prerequisite.
ISEE-Chorus depends on my package ????
what am I making wrong ?
Jean-Yves Picard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 07:27 PM
02-19-2006 07:27 PM
Re: swpackage goes wrong
Can you check your product's PSF file that you have added ISEE as prerequisite ?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 07:53 PM
02-19-2006 07:53 PM
Re: swpackage goes wrong
I add as an enclose document the package file.
to be clearer here it is
vendor
tag FOO
title MyCompany
description Outils specifiques
end
product
tag MyCompanyBO
title Outils et utilitaires BO pour MyCompany ##DATE##
description < check/description
vendor_tag CHC
revision ##MAJEUR##.##MINEUR##
architecture HP-UX_B.11.11_32/64
machine_type *
os_name HP-UX
os_release B.11.11
os_version *
is_locatable false
directory /opt/check-BO
fileset
tag OutilsVerifMachine
title les outils d exploitation MyCompany
directory check=/opt/check-BO
control_file script/uninstall=unconfigure
file_permissions -o root -g root -m 444
file -m 544 check-machine.ksh
## (other files)
end
fileset
tag fichiersReference
title les fichiers de references pour MyCompany
configure check/update-hosts.ksh
file /etc/hosts.referenceMyCompany
end
end
I don't see any dependancies toward ISEE-Chorus and I don't see that ISEE shoudl have dependencied on me ...
as I mentioned, ##var## are substituted before the actual swpackage.
Jean-Yves Picard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 08:01 PM
02-19-2006 08:01 PM
Re: swpackage goes wrong
# swlist -l file | grep -i
or change -l to -l product. or simply as,
# swlist | grep 'product'
Try this first,
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
try it again.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 09:00 PM
02-19-2006 09:00 PM
Re: swpackage goes wrong
package was indeed installed.
I remove it using swremove.
I stop/start swagentd
still I am not able to remove my own package.
Jean-Yves Picard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 09:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 09:17 PM
02-19-2006 09:17 PM
Re: swpackage goes wrong
I have tired the enforce_dependencies before, but it didin't work.
Now it wroks.
I think problem was solved using
-swremove to remove package in swlist's host system
-stop/start of swagentd
-enforce_dependencies=false in swremove option while removing from depot.
thanks for help
(altough this didn't explain why I was able to remove package w/o enforce option for 6 month ... )