niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Solaris » x86
>>>>> pkgadd: ERROR: unable to open temporary contents file image <<<<<
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
Author Message
C:\\
*nix forums beginner


Joined: 04 Jun 2005
Posts: 6

PostPosted: Sun Jun 12, 2005 3:34 pm    Post subject: >>>>> pkgadd: ERROR: unable to open temporary contents file image <<<<< Reply with quote

Howdy,

I'm trying to install gcc-3.2.2 (from the sunfreeware.com site.
Package libiconv as <SMCiconv> is required and when I try to install
it I get the following: (second installation attempt)

corrin: pkgadd -d libiconv-1.8-sol10-intel-local

The following packages are available:
1 SMCiconv libiconv
(intel) 1.8

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

Processing package instance <SMCiconv> from
</mnt/sd12/software/libiconv-1.8-sol10-intel-local>

libiconv(intel) 1.8

This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.


The installation of this package was previously terminated and
installation was never successfully completed.

Do you want to continue with the installation of <SMCiconv> [y,n,?] y
FSF
Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
45 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing libiconv as <SMCiconv>

## Installing part 1 of 1.
pkgadd: ERROR: unable to open temporary contents file image
(errno 11: Resource temporarily unavailable)

Installation of <SMCiconv> failed (internal error) - package
partially installed.
-- -- -- -- -- -- -- -- -- --
Can someone tell me why this is failing?

Thanx in advance, C:\
Back to top
Martin Schöön
*nix forums Guru


Joined: 22 Feb 2005
Posts: 2122

PostPosted: Sun Jun 12, 2005 3:43 pm    Post subject: Re: >>>>> pkgadd: ERROR: unable to open temporary contents file image <<<<< Reply with quote

"C:\\" <ckb@fdisk-mbr.org> writes:

Quote:
Howdy,

I'm trying to install gcc-3.2.2 (from the sunfreeware.com site.
Package libiconv as <SMCiconv> is required and when I try to install
it I get the following: (second installation attempt)


[snip]


Quote:
## Installing part 1 of 1.
pkgadd: ERROR: unable to open temporary contents file image
(errno 11: Resource temporarily unavailable)

Installation of <SMCiconv> failed (internal error) - package
partially installed.
-- -- -- -- -- -- -- -- -- --
Can someone tell me why this is failing?

Did you run out of disk space or something like that?

Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!
Back to top
Dave Uhring
*nix forums Guru


Joined: 02 Mar 2005
Posts: 973

PostPosted: Sun Jun 12, 2005 4:04 pm    Post subject: Re: >>>>> pkgadd: ERROR: unable to open temporary contents file image <<<<< Reply with quote

On Sun, 12 Jun 2005 13:43:15 -0400, Dragan Cvetkovic wrote:

Quote:
"C:\\" <ckb@fdisk-mbr.org> writes:

Howdy,

I'm trying to install gcc-3.2.2 (from the sunfreeware.com site.
Package libiconv as <SMCiconv> is required and when I try to install
it I get the following: (second installation attempt)


[snip]


## Installing part 1 of 1.
pkgadd: ERROR: unable to open temporary contents file image
(errno 11: Resource temporarily unavailable)

Installation of <SMCiconv> failed (internal error) - package
partially installed.
-- -- -- -- -- -- -- -- -- --
Can someone tell me why this is failing?

Did you run out of disk space or something like that?

SMC packages sometimes fill /var/tmp. Solution is to set $TMPDIR to some
directory where there is sufficient space.
Back to top
C:\\
*nix forums beginner


Joined: 04 Jun 2005
Posts: 6

PostPosted: Mon Jun 13, 2005 1:04 pm    Post subject: Re: >>>>> pkgadd: ERROR: unable to open temporary contents file image <<<<< Reply with quote

[snip]
Quote:
## Installing part 1 of 1.
pkgadd: ERROR: unable to open temporary contents file image
(errno 11: Resource temporarily unavailable)

Installation of <SMCiconv> failed (internal error) - package
partially installed.
-- -- -- -- -- -- -- -- -- --
Can someone tell me why this is failing?

Did you run out of disk space or something like that?


SMC packages sometimes fill /var/tmp. Solution is to set $TMPDIR to some
directory where there is sufficient space.

Thanks for the replies,


I dont have $TMPDIR set...
Heres my disk(s) layout

corrin: df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1d0s0 7.1G 149M 6.9G 3% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 113M 624K 112M 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/dev/dsk/c1d0s3 9.9G 2.6G 7.1G 28% /usr
/dev/dsk/c1d0p0:boot 10M 1.5M 8.8M 15% /boot
/usr/lib/libc/libc_hwcap1.so.1
9.9G 2.6G 7.1G 28% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1d0s1 1.4G 112M 1.2G 9% /var <<<---!!!
swap 112M 44K 112M 1% /tmp
swap 112M 20K 112M 1% /var/run
/dev/dsk/c0t0d0s1 8.2M 1.0M 6.4M 14% /data
/dev/dsk/c0t0d0s0 12G 1.4G 10G 12% /opt
/dev/dsk/c0t9d0s0 12G 15M 12G 1% /export/home
/dev/dsk/c0t9d0s1 4.8G 4.9M 4.7G 1% /export/home0
/dev/dsk/c0t5d0s7 32G 119M 32G 1% /mnt/sd5
/dev/dsk/c0t12d0s0 32G 384M 32G 2% /mnt/sd12
^
I install the software (pkgadd -d < >) from here ------|
Back to top
C:\\
*nix forums beginner


Joined: 04 Jun 2005
Posts: 6

PostPosted: Mon Jun 13, 2005 1:14 pm    Post subject: Re: >>>>> pkgadd: ERROR: unable to open temporary contents file image <<<<< Reply with quote

[snip]
Never mind...thanx...
I set $TMPDIR to /mnt/sd12/tmp...


The following packages are available:
1 SMCiconv libiconv
(intel) 1.8

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

Processing package instance <SMCiconv> from
</mnt/sd12/software/libiconv-1.8-sol10-intel-local>

libiconv(intel) 1.8

This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.


The installation of this package was previously terminated and
installation was never successfully completed.

Do you want to continue with the installation of <SMCiconv> [y,n,?] y
FSF
Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
45 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing libiconv as <SMCiconv>

## Installing part 1 of 1.
[ verifying class <none> ]

Installation of <SMCiconv> was successful.
Back to top
Dave Uhring
*nix forums Guru


Joined: 02 Mar 2005
Posts: 973

PostPosted: Mon Jun 13, 2005 1:16 pm    Post subject: Re: >>>>> pkgadd: ERROR: unable to open temporary contents file image <<<<< Reply with quote

On Mon, 13 Jun 2005 10:04:36 -0500, C:\ wrote:

Quote:
I dont have $TMPDIR set...
Heres my disk(s) layout

/dev/dsk/c1d0s1 1.4G 112M 1.2G 9% /var <<<---!!!

/dev/dsk/c0t12d0s0 32G 384M 32G 2% /mnt/sd12
^
I install the software (pkgadd -d < >) from here ------|

Try:

mkdir /mnt/sd12/tmp
chmod 1777 /mnt/sd12/tmp
export TMPDIR=/mnt/sd12/tmp *or* setenv TMPDIR /mnt/sd12/tmp
pkgadd -d name_of_package
Back to top
memo.salas
*nix forums beginner


Joined: 12 May 2008
Posts: 1
Location: DF

PostPosted: Mon May 12, 2008 9:36 pm    Post subject: Fixed it after setting up swap device Reply with quote

Dude, I was having the exact same problem with a newly installed system. It turned out that I had not correctly set up my swap device at installation time, and so kept running out of memory.

To check whether you have swap devices correctly set up, run the command " swap -l " . If you have no devices configured, create a slice in your disk that you will use for swapping, then use the "format" command to tag the partition as a swap partition, with permission flags "writeable unmountable" - or "wu" (you will need to be in the partition submenu of the format command to do this - don't forget to use the label command afterwards). Then create a new line in your /etc/vfstab that will contain a reference to the block device to your new swap partition - look up the web for a sample vfstab to check syntax. Finally run the /sbin/swapadd command. After this has been run successfully, run the " swap -l " command again to verify you have a swap device.

P.S. You could also use a file in your current UFS filesystem as swap space, but it is much faster if you use a disk slice as there's no ufs filesystem overhead.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 10:44 am | All times are GMT
navigation Forum index » *nix » Solaris » x86
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix + MySQL error: very strange variable %s iWarior Postfix 0 Mon Aug 25, 2008 2:01 pm
No new posts ** Postfix error on console every minute or so ** ?? drywash Postfix 0 Fri Jul 04, 2008 8:49 pm
No new posts Artica-postfix a full Open Source postfix management console dtouzeau Postfix 0 Mon Jun 16, 2008 9:46 pm
No new posts Unable to print PDF only. subhankar RedHat 0 Mon May 05, 2008 9:08 am
No new posts unable to pop bahadirtonguc Postfix 0 Fri Apr 04, 2008 6:32 pm

Electricity Suppliers | Loans | Mortgage | Debt Consolidation | Gas Suppliers
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2996s ][ Queries: 16 (0.2083s) ][ GZIP on - Debug on ]