The main issue is you are running a legacy SVR4 packaging command which is only supported to handle legacy packages which sendmail is not.
The supported way to remove a Solaris package under Solaris 11 and newer is:
In that particular case, you would also need to remove the smtp-notify package which depends on sendmail.
You can run this command to see if no other dependency is present on you machine:
Note that the -n tell pkg not to actually remove any package (trial run)
If you are fine with removing sendmail, simply run the command without the -n option.
I'm a newbie to Unix, but am working with some people that are more knowledgable than I, and we're all stumped.
We are working to secure (Information Assurance) a Command & Control System that uses a Solaris 8 Application server. As part of this process, we are attempting to minimize the... (0 Replies)
Hi all,
Is there any option to remove a package without removing the dependent packages....
ie, i need to remove a package, while trying to remove by using pkgrm command it says as some dependent packages also will get removed, i dont want to remove those dependent packages. (1 Reply)
If my system is supposed to be a pure oracle database server can i remove all the GNOME packages from the system ? Currently system is installed with Everything+OEM and i want the image to be as small as possible remove the unnecessary softwares from it so that its a master image for other servers.... (2 Replies)
hey
i need to remove a package has my system will not boot up now.
when i go into failsafe and mount the root onto /a
if i run pkgrm -R /a SUNWvolu it says it does no exist, i een tried to pkginfo -R /a to see if i could see any packages, but it no packages are returned.
as failsafe is... (1 Reply)
Hi,
Need a small help
Bash$> pkginfo | grep -i compress
system SUNWbzip The bzip compression utility
system SUNWgzip The GNU Zip (gzip) compression utility
system SUNWzip The Info-Zip (zip)... (9 Replies)
Is there any way to do this?
Files/directory have been deleted but pkginfo reports the packages still there. Is there any way to clean this out? (2 Replies)
I want to install EMCpower (EMC Powerpath package) in Solaris 11. At most of the places, I can see procedure to install packages which comes with repository.
This is third party tool, I have downloaded it to /var/tmp. How should I install it ?
root@orapdps11 # pkg publisher
PUBLISHER ... (4 Replies)
Hi all,
Does anyone know where you can get solaris 10 packages these days? It seems that sunfreeware have now started charging you to download them, which is good.
I have found opencsw, but that seems to rely on you hooking the machine into the interenet and at the moment I am trying to... (3 Replies)
Does anyone know how to install a package that comes in a p5i file in Solaris 11.4? The first thing the Oracle documentation says is to "launch packagemanager". Well they removed packagemanager from 11.4 (and you can't install it yourself). I want a package from... (7 Replies)
Discussion started by: Michele31416
7 Replies
LEARN ABOUT CENTOS
pkg::create
pkg::create(n) Tcl Built-In Commands pkg::create(n)
__________________________________________________________________________________________________________________________________________________NAME
pkg::create - Construct an appropriate 'package ifneeded' command for a given package specification
SYNOPSIS
::pkg::create -name packageName -version packageVersion ?-load filespec? ... ?-source filespec? ...
_________________________________________________________________DESCRIPTION
::pkg::create is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate package ifneeded com-
mand for a given package specification. It can be used to construct a pkgIndex.tcl file for use with the package mechanism.
OPTIONS
The parameters supported are:
-name packageName
This parameter specifies the name of the package. It is required.
-version packageVersion
This parameter specifies the version of the package. It is required.
-load filespec
This parameter specifies a binary library that must be loaded with the load command. filespec is a list with two elements. The
first element is the name of the file to load. The second, optional element is a list of commands supplied by loading that file.
If the list of procedures is empty or omitted, ::pkg::create will set up the library for direct loading (see pkg_mkIndex). Any num-
ber of -load parameters may be specified.
-source filespec
This parameter is similar to the -load parameter, except that it specifies a Tcl library that must be loaded with the source com-
mand. Any number of -source parameters may be specified.
At least one -load or -source parameter must be given.
SEE ALSO
package(n)
KEYWORDS
auto-load, index, package, version
Tcl 8.3 pkg::create(n)