SUMMARY: Can't patch a system

From: Daniel R. Falconer (drf@dedalus.net)
Date: Sat Feb 27 1999 - 13:23:15 CST


Enrique Vadillo suggested using truss to check what was happening in terms
of system calls, but before I got a chance to try that out Tim Evans nailed
the problem: the whole directory tree where the patches reside has to be
readable by "all". As I suspected, I was completely off track!

Thanks to Enrique and Tim for their quick replies.

Regards,
Daniel R. Falconer

======================================================
ORIGINAL POST

I've always tried to keep my good old IPX up to date in terms of patches.
I have Solaris 2.5.1 installed, and never had problems installing patches
before.

Unfortunately, last time I tried I got the following error (consistently,
no matter what patch I tried to install):

===============================
Installing xxxxxx-xx...

Checking installed packages and patches...
Generating list of files to be patched...
Verifying sufficient filesystem capacity (exhaustive method)...
Installing patch packages...
pkgadd: ERROR: checkinstall script did not complete successfully

Checking installed packages and patches...

Patch xxxxxx-xx has not been applied to this system.

Backoutpatch is terminating.

Installpatch is terminating.
=================================================

There is more than enough disk space to install patches (and, as I said,
the same process always worked before).

The only thing I think MIGHT be related to this (although I have no idea
how, and I'm probably COMPLETELY off track) is that pkgadd apparently uses
/var/spool/pkg, and we remapped /var/spool a few months ago to a separate
partition (that is, separate from the /var partition). The required
changes in the init scripts were done, the partition is being mounted
correctly during boot, and everything else seems to be working fine.
/var/spool/pkg is empty, but I think it should be so -- all my old backups
show this directory to be empty.

Any idea why I can't patch my system?

Thanks in advance for your help.

Regards,

- Daniel R. Falconer
Dedalus Eng. S/C Ltda.
----- Dedalus Net -----
=======================
Tel: 55-11-5506-2210
Fax: 55-11-5506-1195
E-mail: drf@dedalus.net



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:16 CDT