Installing packages inside a zone

From: Monappallil, George (george.monappallil@rpfl.com)
Date: Wed Oct 17 2007 - 10:42:48 EDT


Guys:
I see the following errors when installing packages inside a zone after
logging into a zone and issuing the pkgadd command. For some reason the
pkgadd command is looking at the files installed int eh global zone and
complaining about package conflicts. Also it complains about not able to
create directory under /usr/local. Any ideas why

For example when installing the xpm package, I get the following error.
*************************
# pkgadd -d ./xpm-3.4k-sol10-sparc-local

The following packages are available:
  1 SMCxpm xpm
                (sparc) 3.4k

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance <SMCxpm> from
</export/home/a140388/xpm-3.4k-sol10-sparc-local>

xpm(sparc) 3.4k
GROUPE BULL
Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
  /usr/local/bin <attribute change only>
  /usr/local/doc <attribute change only>
  /usr/local/lib <attribute change only>
  /usr/local/man <attribute change only>
  /usr/local/man/man1 <attribute change only>

Do you want to install these conflicting files [y,n,?,q]
## Checking for setuid/setgid programs.

Installing xpm as <SMCxpm>

## Installing part 1 of 1.
pkgadd: ERROR: unable to create package object </usr/local/bin>.
    unable to fix attributes
/usr/local/bin <attribute change only>
/usr/local/bin/cxpm
pkgadd: ERROR: unable to open </usr/local/bin/cxpm> for writing: (30)
Read-only file system
/usr/local/bin/sxpm
pkgadd: ERROR: unable to open </usr/local/bin/sxpm> for writing: (30)
Read-only file system
pkgadd: ERROR: unable to create package object </usr/local/doc>.
    unable to fix attributes
/usr/local/doc <attribute change only>
pkgadd: ERROR: unable to create package object </usr/local/doc/xpm>.
    pathname does not exist
    unable to create directory
/usr/local/doc/xpm/CHANGES
pkgadd: ERROR: unable to create directory </usr/local/doc/xpm>: (30)
Read-only file system
pkgadd: ERROR: unable to open </usr/local/doc/xpm/CHANGES> for writing:
(30) Read-only file system
/usr/local/doc/xpm/COPYRIGHT
.
.
.
.
******************

-George
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:26 EDT