Question On Pkgadd Error - Solaris

This is a discussion on Question On Pkgadd Error - Solaris ; 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 ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Question On Pkgadd Error

  1. 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 from


    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 failed, exit code 10
    pkgadd: ERROR: unable to unpack datastream

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


  2. 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 from
    >
    >
    > 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 failed, exit code 10
    > pkgadd: ERROR: unable to unpack datastream
    >
    > Installation of failed (internal error).
    > No changes were made to the system.
    > root@Sun5#



  3. 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 from
    >
    >
    > 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 failed, exit code 10
    > pkgadd: ERROR: unable to unpack datastream
    >
    > Installation of failed (internal error).
    > No changes were made to the system.
    > root@Sun5#
    >


    pkgadd needs space on both /usr/local and /var/sadm.

  4. 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 from
    >
    >
    > 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 failed, exit code 10
    > pkgadd: ERROR: unable to unpack datastream
    >
    > Installation of failed (internal error).
    > No changes were made to the system.
    > root@Sun5#



+ Reply to Thread