[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
 

Other related posts: