SUMMARY: pkgadd

From: Tony C. Wu (
Date: Fri Mar 20 1998 - 12:08:09 CST

I created empty 'save' directories under /var/sadm/pkg and that solved
the problem.

Thanks to the following ppl for their instant helps.

From: Brent Parish <>
From: "Darryl V. Pace" <>
From: Gerald Combs - Unicom Communications <>
From: Bob Fulwiler <>
From: Alexandre Peixoto Ferreira <>
From: "D. Stewart McLeod" <>
From: Sanjaya Srivastava <Sanjaya.Srivastava@Eng.Sun.COM>
From: Casper Dik <casper@holland.Sun.COM>
From: Ian TCollins <>

---------- Original message ----------
Date: Thu, 19 Mar 1998 02:37:27 +0800 (CST)
From: "Tony C. Wu" <>
Subject: pkgadd


I removed /var/sadm/*/save to free /var space, but now I am getting
troubles installing new patches. Is there any way around ?

# ./installpatch .

Checking installed packages and patches...
Generating list of files to be patched...
Verifying sufficient filesystem capacity (exhaustive method)...
Installing patch packages...
pkgadd: ERROR: unable to transfer prior contents to save directory

The installation of patch 103577-07 was interrupted.
Installpatch needs to be re-invoked to ensure proper installation of the

Backoutpatch is terminating.

Installpatch is terminating.

----- Answers -------------------------------------------------
>From Thu Mar 19 09:59:35 1998
Date: Wed, 18 Mar 1998 14:27:46 -0500
To: "Tony C. Wu" <>
Subject: Re: pkgadd

Have you tried just recreating the save directories?

cd /var/sadm/pkg
for file in *
mkdir $file/save
chmod 755 $file/save

>From Thu Mar 19 09:59:41 1998
Date: Wed, 18 Mar 1998 14:46:43 -0500
From: Brent Parish <>
To: "'Tony C. Wu'" <>
Subject: RE: pkgadd

You cant symbolic link the save directory to a location that has free space?
Brent Parish
Unix/Network Systems Administrator
PFN, Inc.
26 Landsdowne Street
Cambridge, MA 02139
(617) 679-0269

>From Thu Mar 19 09:59:48 1998
Date: Wed, 18 Mar 1998 14:15:41 -0500
From: "Darryl V. Pace" <>
To: "Tony C. Wu" <>
Subject: Re: pkgadd

You might be able to remedy your problem by recreating that directory.
However, I think that you will probably have to restore that directory,
from tape if you have it, or from the Solaris installation CD if
The /var/sadm directory is an important one. It contains, among other
things, a subdirectory for every package installed on your system, and
other info. the system uses to manage its packages.


>From Thu Mar 19 09:59:52 1998
Date: Wed, 18 Mar 1998 14:24:38 -0600 (CST)
From: Gerald Combs - Unicom Communications <>
To: "Tony C. Wu" <>
Subject: Re: pkgadd

  I'm not sure how to get around the missing save directories. Each patch
I've installed comes with an '' document explaining how to
install patches under different circumstances. It also includes a man
page for installpatch about 1/3 of the way down. You might try the -u
(unconditional) or -d (don't save backout files) flags.

  According to a Sun InfoDoc that I ran across once, the recommended way
to clear out unneeded patch info is to go into /var/sadm and run

    find . -name "*obsolete*"

  This will give you a list of old backout data that has been replaced by
more recent data. These files can be deleted at your discretion. I
usually feed the list into "|xargs rm".

  Good luck!

 ***** ***** Gerald Combs
  *** *** Kernel engraver
   * * Unicom Communications, Inc. (913)327-5309
    ***** 7223 W. 95th St., Ste 325 (913)327-5376 Fax
     *** Overland Park, KS 66212 (913)327-5375 Client Support

>From Thu Mar 19 09:59:56 1998
Date: Wed, 18 Mar 1998 14:31:38 -0600 (CST)
From: Bob Fulwiler <>
To: "Tony C. Wu" <>
Subject: Re: pkgadd

Did you create a link from /var/... to the new location so that pkgadd can
find it?


 / __/ /_ Bob Fulwiler On-Site: AT&T Wireless
/ /_ __/ Phone: (425) 803-8972
\__/ /ollective

>From Thu Mar 19 09:59:59 1998
Date: Wed, 18 Mar 1998 17:36:21 -0300
From: Alexandre Peixoto Ferreira <>
To: "Tony C. Wu" <>
Subject: Re: pkgadd


I would recommend that you remove the files inside the save directory,
because the installpatch needs this directory to save the files for a
possible removal of the patch. Another option is to tell installpatch to
install the patches with no backup of the files, use the -d flag.



 Alexandre Peixoto Ferreira              Telefone: (048) 281-7083
 Diretor de Produtos                     Fax:      (048) 281-7099
 Flug Telematica e Automacao Ltda
 Rua Prof. Sofia Quint de Souza, 99
 Florianopolis-SC 88085-040

>From Thu Mar 19 10:00:01 1998 Date: Wed, 18 Mar 1998 12:36:20 -0800 From: "D. Stewart McLeod" <> To: "Tony C. Wu" <> Subject: Re: pkgadd

Use the "-d" option which will not save the backout files for you.


-- # D. Stew McLeod ... working at The Boeing Company .. in Renton, WA. #"A pessimist sees the difficulty in every opportunity; # an optimist sees the opportunity in every difficulty." # - Sir Winston Churchill (1874-1965)

>From Sanjaya.Srivastava@Eng.Sun.COM Thu Mar 19 10:00:05 1998 Date: Wed, 18 Mar 1998 13:34:49 -0800 (PST) From: Sanjaya Srivastava <Sanjaya.Srivastava@Eng.Sun.COM> To: Subject: Re: pkgadd

Hi-, Try using the nosave option in installpatch.


>From casper@holland.Sun.COM Thu Mar 19 10:00:08 1998 Date: Wed, 18 Mar 1998 22:59:38 +0100 From: Casper Dik <casper@holland.Sun.COM> To: "Tony C. Wu" <> Subject: Re: pkgadd

I think you should not remote the save directories. Only the contents thereof.

>From Thu Mar 19 23:25:05 1998 Date: Thu, 19 Mar 1998 08:57:03 GMT From: Ian TCollins <> To: Subject: Re: pkgadd

If you can, recover the files! Anything under /var/sadm/ should be left well alone. Rather than remove it, move it.


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:34 CDT