LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

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

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


Hi,

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:

http://louisbotterill.blogspot.com/2...is-to-b93.html

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

Code:
-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/func_abc.py' (pkg:/SUNWDTraceToolkit):
 OSError: [Errno 2] No such file or directory: '/mnt/opt/DTT/Code/Python/func_abc.py'
pkg: An unexpected error happened during image-update: [Errno 2] No such file or directory: '/mnt/opt/DTT/Code/Python/func_abc.py'
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
    img.imageplan.execute()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 464, in execute
    p.execute_update(src, dest)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 271, in execute_update
    dest.install(self, src)
  File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py", line 120, in install
    os.chmod(temp, mode)
OSError: [Errno 2] No such file or directory: '/mnt/opt/DTT/Code/Python/func_abc.py'
-bash-3.2#
I have searched on Google, but there isn't even a single result for "/mnt/opt/DTT/Code/Python/func_abc.py."

Can someone please help?

Thanks in advance for your time.
 
Old 09-05-2008, 06:04 AM   #2
Reisswolf
Member
 
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.
 
  


Reply


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 06:16 PM
pkg image-update results in a non bootable environment crisostomo_enrico Solaris / OpenSolaris 2 06-18-2008 10:10 AM
yum check-update as normal user misses lots of updates humbletech99 Red Hat 2 05-09-2008 03:16 AM
update/pkg manager connection trouble tparker Ubuntu 1 05-11-2007 10:49 PM
Problems with PKG-Config wmustudent99 Linux - Newbie 2 02-04-2005 04:34 AM


All times are GMT -5. The time now is 05:14 PM.

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