Unix Technical Forum

Question On Pkgadd Error

This is a discussion on Question On Pkgadd Error within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Gentle People: When I run pkgadd I get the following error as shown below. Now clearly one of the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 09:42 AM
Thomas Dineen
 
Posts: n/a
Default Question On Pkgadd Error

Gentle People:

When I run pkgadd I get the following error
as shown below. Now clearly one of the devices
is filling up. But which one (partition)? If I
knew which device and directory path I probably
could fix it with a link to a larger partition.

Thanks for the help.
Thomas Dineen


pkgadd -d gcc_small-3.4.2-sol8-intel-local

The following packages are available:
1 SMCgcc342s gcc
(intel) 3.4.2

Select package(s) you wish to process (or ’all’ to process
all packages). (default: all) [?,??,q]: SMCgcc342s

Processing package instance <SMCgcc342s> from
</export/home0/tools/gcc-3.4.2/gcc_small-3.4.2-sol8-intel-local>

gcc
(intel) 3.4.2
cpio: Cannot write
"reloc/include/c++/3.4.2/i386-pc-solaris2.8/bits/stdc++.h.gch/O2g",
errno 28, No space left on device
cpio: Cannot write "reloc/include/c++/3.4.2/iomanip", errno 28, No space
left on device
cpio: Cannot write "reloc/include/c++/3.4.2/iosfwd", errno 28, No space
left on device
cpio: Cannot write "reloc/include/c++/3.4.2/iostream", errno 28, No
space left on device
cpio: Cannot write "reloc/include/c++/3.4.2/istream", errno 28, No space
left on device
cpio: Cannot write "reloc/include/c++/3.4.2/iterator", errno 28, No
space left on device
cpio: Cannot write "reloc/include/c++/3.4.2/limits", errno 28, No space
left on device
cpio: Cannot write "reloc/include/c++/3.4.2/list", errno 28, No space
left on device
cpio: Cannot write "reloc/include/c++/3.4.2/map", errno 28, No space
left on device
cpio: Cannot write "reloc/include/c++/3.4.2/memory", errno 28, No space
left on device
cpio: Cannot write "reloc/include/c++/3.4.2/new", errno 28, No space
left on device
cpio: Cannot write ", errno 28,


pkgadd: ERROR: attempt to process datastream failed
- process </usr/bin/cpio -icdumD -C 512> failed, exit code 10
pkgadd: ERROR: unable to unpack datastream

Installation of <SMCgcc342s> failed (internal error).
No changes were made to the system.
root@Sun5#

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 09:42 AM
Amit Agrawal
 
Posts: n/a
Default Re: Question On Pkgadd Error

Thomas Dineen wrote:
> Gentle People:
>
> When I run pkgadd I get the following error
> as shown below. Now clearly one of the devices
> is filling up. But which one (partition)? If I
> knew which device and directory path I probably
> could fix it with a link to a larger partition.
>
> Thanks for the help.
> Thomas Dineen
>
>

It is the BASEDIR at which gcc gets installed. Generally it is
/usr/local.
You will have to check the pkginfo file of the package to find BASEDIR.

> pkgadd -d gcc_small-3.4.2-sol8-intel-local
>
> The following packages are available:
> 1 SMCgcc342s gcc
> (intel) 3.4.2
>
> Select package(s) you wish to process (or 'all' to process
> all packages). (default: all) [?,??,q]: SMCgcc342s
>
> Processing package instance <SMCgcc342s> from
> </export/home0/tools/gcc-3.4.2/gcc_small-3.4.2-sol8-intel-local>
>
> gcc
> (intel) 3.4.2
> cpio: Cannot write
> "reloc/include/c++/3.4.2/i386-pc-solaris2.8/bits/stdc++.h.gch/O2g",
> errno 28, No space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iomanip", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iosfwd", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iostream", errno 28, No
> space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/istream", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iterator", errno 28, No
> space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/limits", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/list", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/map", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/memory", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/new", errno 28, No space
> left on device
> cpio: Cannot write ", errno 28,
>
>
> pkgadd: ERROR: attempt to process datastream failed
> - process </usr/bin/cpio -icdumD -C 512> failed, exit code 10
> pkgadd: ERROR: unable to unpack datastream
>
> Installation of <SMCgcc342s> failed (internal error).
> No changes were made to the system.
> root@Sun5#


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 09:42 AM
Richard B. Gilbert
 
Posts: n/a
Default Re: Question On Pkgadd Error

Thomas Dineen wrote:

> Gentle People:
>
> When I run pkgadd I get the following error
> as shown below. Now clearly one of the devices
> is filling up. But which one (partition)? If I
> knew which device and directory path I probably
> could fix it with a link to a larger partition.
>
> Thanks for the help.
> Thomas Dineen
>
>
> pkgadd -d gcc_small-3.4.2-sol8-intel-local
>
> The following packages are available:
> 1 SMCgcc342s gcc
> (intel) 3.4.2
>
> Select package(s) you wish to process (or ’all’ to process
> all packages). (default: all) [?,??,q]: SMCgcc342s
>
> Processing package instance <SMCgcc342s> from
> </export/home0/tools/gcc-3.4.2/gcc_small-3.4.2-sol8-intel-local>
>
> gcc
> (intel) 3.4.2
> cpio: Cannot write
> "reloc/include/c++/3.4.2/i386-pc-solaris2.8/bits/stdc++.h.gch/O2g",
> errno 28, No space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iomanip", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iosfwd", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iostream", errno 28, No
> space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/istream", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iterator", errno 28, No
> space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/limits", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/list", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/map", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/memory", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/new", errno 28, No space
> left on device
> cpio: Cannot write ", errno 28,
>
>
> pkgadd: ERROR: attempt to process datastream failed
> - process </usr/bin/cpio -icdumD -C 512> failed, exit code 10
> pkgadd: ERROR: unable to unpack datastream
>
> Installation of <SMCgcc342s> failed (internal error).
> No changes were made to the system.
> root@Sun5#
>


pkgadd needs space on both /usr/local and /var/sadm.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 09:42 AM
jeffhigham@gmail.com
 
Posts: n/a
Default Re: Question On Pkgadd Error

To find the BASEDIR of your package do:

pkginfo -l -d ./gcc_small-3.4.2-sol8-intel-local | grep BASEDIR

Check space in BASEDIR and /var/sadm

-Jeff


Thomas Dineen wrote:
> Gentle People:
>
> When I run pkgadd I get the following error
> as shown below. Now clearly one of the devices
> is filling up. But which one (partition)? If I
> knew which device and directory path I probably
> could fix it with a link to a larger partition.
>
> Thanks for the help.
> Thomas Dineen
>
>
> pkgadd -d gcc_small-3.4.2-sol8-intel-local
>
> The following packages are available:
> 1 SMCgcc342s gcc
> (intel) 3.4.2
>
> Select package(s) you wish to process (or 'all' to process
> all packages). (default: all) [?,??,q]: SMCgcc342s
>
> Processing package instance <SMCgcc342s> from
> </export/home0/tools/gcc-3.4.2/gcc_small-3.4.2-sol8-intel-local>
>
> gcc
> (intel) 3.4.2
> cpio: Cannot write
> "reloc/include/c++/3.4.2/i386-pc-solaris2.8/bits/stdc++.h.gch/O2g",
> errno 28, No space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iomanip", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iosfwd", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iostream", errno 28, No
> space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/istream", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/iterator", errno 28, No
> space left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/limits", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/list", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/map", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/memory", errno 28, No space
> left on device
> cpio: Cannot write "reloc/include/c++/3.4.2/new", errno 28, No space
> left on device
> cpio: Cannot write ", errno 28,
>
>
> pkgadd: ERROR: attempt to process datastream failed
> - process </usr/bin/cpio -icdumD -C 512> failed, exit code 10
> pkgadd: ERROR: unable to unpack datastream
>
> Installation of <SMCgcc342s> failed (internal error).
> No changes were made to the system.
> root@Sun5#


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com