Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 09-03-2008, 03:38 AM   #1
Registered: Jun 2007
Posts: 67

Rep: Reputation: 15
Lots of problems with pkg image-update


For the longest time I have had problems with pkg image-update. I was able to upgrade from Build 85 to build 91 without a problem, but since then, the process of updating had been failing with the error message "Cannot update a live image."

I finally found a resource that helped me overcome that problem:

I managed to successfully download everything. But, as you can see below, the actual updating failed with a Python error.

-bash-3.2# pfexec pkg -R /mnt image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                572/572 19893/19893 1099.86/1099.86 

PHASE                                        ACTIONS
Removal Phase                              7146/7146 
Update Phase                             14853/18252 Action upgrade failed for 'opt/DTT/Code/Python/' (pkg:/SUNWDTraceToolkit):
 OSError: [Errno 2] No such file or directory: '/mnt/opt/DTT/Code/Python/'
pkg: An unexpected error happened during image-update: [Errno 2] No such file or directory: '/mnt/opt/DTT/Code/Python/'
opensolaris-5 failed to be updated. No changes have been made to opensolaris-5.
Traceback (most recent call last):
  File "/usr/bin/pkg", line 1458, in ?
    ret = main_func()
  File "/usr/bin/pkg", line 1422, in main_func
    return image_update(img, pargs)
  File "/usr/bin/pkg", line 390, in image_update
  File "/usr/lib/python2.4/vendor-packages/pkg/client/", line 464, in execute
    p.execute_update(src, dest)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/", line 271, in execute_update
    dest.install(self, src)
  File "/usr/lib/python2.4/vendor-packages/pkg/actions/", line 120, in install
    os.chmod(temp, mode)
OSError: [Errno 2] No such file or directory: '/mnt/opt/DTT/Code/Python/'
I have searched on Google, but there isn't even a single result for "/mnt/opt/DTT/Code/Python/"

Can someone please help?

Thanks in advance for your time.
Old 09-05-2008, 07:04 AM   #2
Registered: Jun 2007
Posts: 67

Original Poster
Rep: Reputation: 15
Well, I guess I have choice but to wait for OpeSolaris 2008.11 to come out. Maybe I'll have better luck with it. I have spent the last two days trying to solve the problem--without any luck.

Could someone please tell me if SXCE is a bit better in this regard? I have never tried out SXCE.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about "pkg image-update" in OpenSolaris Reisswolf Solaris / OpenSolaris 3 07-05-2008 07:16 PM
pkg image-update results in a non bootable environment crisostomo_enrico Solaris / OpenSolaris 2 06-18-2008 11:10 AM
yum check-update as normal user misses lots of updates humbletech99 Red Hat 2 05-09-2008 04:16 AM
update/pkg manager connection trouble tparker Ubuntu 1 05-11-2007 11:49 PM
Problems with PKG-Config wmustudent99 Linux - Newbie 2 02-04-2005 05:34 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration