[indiana-discuss] image-update fails from b110 to b111 at SUNWgnome-system-monitor

Brock Pytlik bpytlik at sun.com
Wed Apr 8 20:30:01 PDT 2009


Could you please show us the what's in the following directories?
/mnt/var/pkg/pkg/SUNWgnome-system-monitor/
/mnt/var/pkg/pkg/SUNWgnome-system-monitor/0.5.11%2C5.11-0.111%3A20090331T082201Z/ 


Thanks,
Brock
Seymour Krebs wrote:
> ~# beadm create b111
> ~# beadm mount b111 /mnt
> ~# pkg -R /mnt image-update
> PHASE                                          ITEMS
> Indexing Packages                            840/840 
> DOWNLOAD                                    PKGS       FILES     XFER (MB)
> Completed                                734/734 12821/12821 548.07/548.07 
>
> PHASE                                        ACTIONS
> Removal Phase                              6003/6003 
> Install Phase                              5288/5288 
> Update Phase                             21299/21299 
> Reading Existing Index                           7/7 
> Indexing Packages                            734/734 
> Optimizing Index...
> b111 failed to be updated. No changes have been made to b111.
>
> pkg: An unexpected error happened during image-update: [Errno 2] No such file or directory: '/mnt/var/pkg/pkg/SUNWgnome-system-monitor/0.5.11%2C5.11-0.111%3A20090331T082201Z/manifest'
> Traceback (most recent call last):
>   File "/usr/bin/pkg", line 2465, in ?
>     __ret = main_func()
>   File "/usr/bin/pkg", line 2412, in main_func
>     return image_update(mydir, pargs)
>   File "/usr/bin/pkg", line 592, in image_update
>     api_inst.execute_plan()
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 520, in execute_plan
>     self.img.imageplan.execute()
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 814, in execute
>     ind.rebuild_index_from_scratch(
>   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 624, in rebuild_index_from_scratch
>     IDX_INPUT_TYPE_FMRI, tmp_index_dir)
>   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 537, in _generic_update_index
>     dicts = self._process_fmris(inputs)
>   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 235, in _process_fmris
>     self.excludes)
>   File "/usr/lib/python2.4/vendor-packages/pkg/manifest.py", line 348, in search_dict
>     file_handle = file(file_path)
> IOError: [Errno 2] No such file or directory: '/mnt/var/pkg/pkg/SUNWgnome-system-monitor/0.5.11%2C5.11-0.111%3A20090331T082201Z/manifest'
>
>
> pkg: This is an internal error.  Please let the developers know about this
> problem by filing a bug at http://defect.opensolaris.org and including the
> above traceback and this message.  The version of pkg(5) is 'fe52359f5636'.
> close failed: [Errno 5] I/O error
> ~# pkg -R /mnt image-update
> DOWNLOAD                                    PKGS       FILES     XFER (MB)
> Completed                                734/734 12821/12821 548.07/548.07 
>
> PHASE                                        ACTIONS
> Removal Phase                              4539/4539 
> Install Phase                              5290/5290 
> Update Phase                             22031/22031 
> PHASE                                          ITEMS
> Reading Existing Index                           7/7 
> Indexing Packages                            734/734 
> Optimizing Index...
> b111 failed to be updated. No changes have been made to b111.
>
> pkg: An unexpected error happened during image-update: [Errno 2] No such file or directory: '/mnt/var/pkg/pkg/SUNWgnome-system-monitor/0.5.11%2C5.11-0.111%3A20090331T082201Z/manifest'
> Traceback (most recent call last):
>   File "/usr/bin/pkg", line 2465, in ?
>     __ret = main_func()
>   File "/usr/bin/pkg", line 2412, in main_func
>     return image_update(mydir, pargs)
>   File "/usr/bin/pkg", line 592, in image_update
>     api_inst.execute_plan()
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 520, in execute_plan
>     self.img.imageplan.execute()
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 814, in execute
>     ind.rebuild_index_from_scratch(
>   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 624, in rebuild_index_from_scratch
>     IDX_INPUT_TYPE_FMRI, tmp_index_dir)
>   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 537, in _generic_update_index
>     dicts = self._process_fmris(inputs)
>   File "/usr/lib/python2.4/vendor-packages/pkg/indexer.py", line 235, in _process_fmris
>     self.excludes)
>   File "/usr/lib/python2.4/vendor-packages/pkg/manifest.py", line 348, in search_dict
>     file_handle = file(file_path)
> IOError: [Errno 2] No such file or directory: '/mnt/var/pkg/pkg/SUNWgnome-system-monitor/0.5.11%2C5.11-0.111%3A20090331T082201Z/manifest'
>
>
> pkg: This is an internal error.  Please let the developers know about this
> problem by filing a bug at http://defect.opensolaris.org and including the
> above traceback and this message.  The version of pkg(5) is 'fe52359f5636'.
> close failed: [Errno 5] I/O error
>
> Please there were two successive attempts and the package counts changed comparing the two, however no additional downloads occurred for the second attempt.
>   




More information about the indiana-discuss mailing list