Re: [foxboro] Extract packages using pkgadd without filling up the small /var partition

Another way to do this is just to set the TMPDIR environmnet variable to 
someplace with space  (say /opt/tmp) before running pkgadd.





"Lieven Taleman" <lieven.taleman@xxxxxxxxx>
Sent by: Stan Brown <stanb@xxxxxxxxx>
01/28/05 04:03 AM
Please respond to foxboro

 
        To:     <foxboro@xxxxxxxxxxxxx>
        cc: 
        Subject:        [foxboro] Extract packages using pkgadd without filling 
up the small /var 
partition


Hi,

To avoid the problem of filling up the small /var partition, you can 
extract
the packages under another directory (a spool directory).
The default and easy way for small package installation is :
>> pkgadd -d <packagename>   # This command uses /var for extraction

The safer way is :
1. First rename the downloaded package to its real <REALPACKAGE>.pkg name
   You obtain the real package name by starting : pkgadd -d <downloadFile>
   Copy this new file under the /opt directory (e.g.: /opt/packages)
2. Execute the following :
>> cd /opt/packages
>> pkgadd -s . -d <REALPACKAGE>.pkg <REALPACKAGE>
>> pkgadd -d . <REALPACKAGE>
>> rm -r <REALPACKAGE>

A good setup is to put these code into a script (eg:
/usr/local/bin/mypkgadd)

Greetings from an Open Source lover,
Lieven Taleman
Sr. Software developer
B.V.B.A. TALSOFT - Belgium
Email : lieven.taleman@xxxxxxxxxx


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________




________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________

This electronic message contains information from MeadWestvaco
Corporation or subsidiary companies, which may be confidential,
privileged or otherwise protected from disclosure.  The
information is intended to be used solely by the recipient(s)
named.  If you are not an intended recipient, be aware that
any review, disclosure, copying, distribution or use of this
transmission or its contents is prohibited.  If you have
received this transmission in error, please notify MeadWestvaco
immediately at postmaster@xxxxxxxxxxxxxxxxx
_______________________________________________________________________

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: