Installing packages inside a zone



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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Summary - Installing packages inside a zone
    ... My non-global zone was a sparse root zone and hence I wasn't able to ... I see the following errors when installing packages inside a zone after ... complaining about package conflicts. ... Read-only file system ...
    (SunManagers)
  • Re: adding pkgs to non-global zones
    ... new parameters in the pkginfo file within the package. ... the package can be installed in a local zone only. ... For installing in the global zone only you have to use the "-G" option then. ...
    (comp.unix.solaris)
  • Summary: A Raid manager 6.22.1 issue with Solaris 2.6 on E3000
    ... I will be installing 4.5FP6 BS on this machine so if there ... SUNWosafw Open Storage Array Firmware ... SUNWosamn Open Storage Array Man Pages ... Using as the package base directory. ...
    (SunManagers)
  • A Raid manager 6.22.1 issue with Solaris 2.6 on E3000
    ... SUNWosafw Open Storage Array Firmware ... SUNWosamn Open Storage Array Man Pages ... Using as the package base directory. ... Installing Open Storage Array Firmware as ...
    (SunManagers)
  • Re: sunmanagers Digest, Vol 34, Issue 14
    ... Christopher sent me a link to ftp.cs.tu-berlin.de that has all patches sun ... Subject: SUMMARY: Setting up mail on a Solaris Server ... however I seem to be having issues finding a binary package. ... Problems while installing 108528-29 for Sol8 machine ...
    (SunManagers)