Every couple of weeks I find the time to attempt some patching and
upgrading to my laptop, the holy grail being S11.1
Currently
I am hitting this error
---8<
root@ytc-laptop:~# pkg update
Recursing into linked image: zone:ytcJET
Returning from linked image: zone:ytcJET
Packages to remove: 1
Packages to install: 5
Packages to update: 246
Create boot environment: Yes
Create backup boot environment: No
Recursing into linked image: zone:ytcJET
Packages to install: 5
Packages to update: 206
Create boot environment: No
Create backup boot environment: No
Services to change: 4
Returning from linked image: zone:ytcJET
DOWNLOAD PKGS FILES XFER (MB)
Completed 252/252 7694/7694 246.8/246.8
Recursing into linked image: zone:ytcJET
DOWNLOAD PKGS FILES XFER (MB)
Completed 211/211 5453/5453 132.5/132.5
Returning from linked image: zone:ytcJET
pkg: An unexpected error happened during update: Error invoking
/usr/lib/grub2/bios/sbin/grub-mkconfig
--prefix=/rpool/boot/grub/i386-pc: ([Errno 2] No such file or directory)
Traceback (most recent call last):
File "/usr/bin/pkg", line 5956, in handle_errors
__ret = func(*args, **kwargs)
File "/usr/bin/pkg", line 5939, in main_func
pargs=pargs, **opts)
File "/usr/bin/pkg", line 2323, in update
reject_list=reject_pats, update_index=update_index)
File "/usr/bin/pkg", line 1583, in __api_op
ret_code = __api_execute_plan(_op, _api_inst)
File "/usr/bin/pkg", line 1269, in __api_execute_plan
api_inst.execute_plan()
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line
2130, in execute_plan
self.__be_name)
File "/usr/lib/python2.6/vendor-packages/pkg/client/bootenv.py", line
409, in init_image_recovery
ret, self.be_name_clone, not_used = be.beCopy()
File "/usr/lib/python2.6/vendor-packages/libbe.py", line 220, in beCopy
commit(mybc, devlist)
File "/usr/lib/python2.6/vendor-packages/libbe.py", line 30, in commit
boot_devices=["/dev/rdsk/" + d for d in devlist])
File "/usr/lib/python2.6/vendor-packages/bootmgmt/bootconfig.py",
line 622, in commit_boot_config
force)
File "/usr/lib/python2.6/vendor-packages/bootmgmt/bootconfig.py",
line 439, in commit_boot_config
self.boot_loader.install(boot_devices, force)
File "/usr/lib/python2.6/vendor-packages/bootmgmt/bootloader.py",
line 739, in install
verbose_file, platdict)
File
"/usr/lib/python2.6/vendor-packages/bootmgmt/backend/loader/grub2.py",
line 2256, in install
verbose_file, platdict)
File "/usr/lib/python2.6/vendor-packages/bootmgmt/bootloader.py",
line 462, in install
self._write_config(None)
File
"/usr/lib/python2.6/vendor-packages/bootmgmt/backend/loader/grub2.py",
line 1103, in _write_config
return self._write_config_disk(basepath)
File
"/usr/lib/python2.6/vendor-packages/bootmgmt/backend/loader/grub2.py",
line 1145, in _write_config_disk
grub_cfg_tuple_list = self._generate_grub_cfg(target, basepath)
File
"/usr/lib/python2.6/vendor-packages/bootmgmt/backend/loader/grub2.py",
line 1390, in _generate_grub_cfg
self._generate_grub_cfg_file(target, basepath, defs_dict, outfile)
File
"/usr/lib/python2.6/vendor-packages/bootmgmt/backend/loader/grub2.py",
line 1339, in _generate_grub_cfg_file
self._invoke_grub_mkconfig(target, outfile)
File
"/usr/lib/python2.6/vendor-packages/bootmgmt/backend/loader/grub2.py",
line 1470, in _invoke_grub_mkconfig
'%s grub.cfg generation' % target, outfile)
File
"/usr/lib/python2.6/vendor-packages/bootmgmt/backend/loader/grub2.py",
line 2818, in _execute_cmd
raise BootmgmtConfigWriteError('Error invoking %s' % fullcmd, oserr)
BootmgmtConfigWriteError: Error invoking
/usr/lib/grub2/bios/sbin/grub-mkconfig
--prefix=/rpool/boot/grub/i386-pc: ([Errno 2] No such file or directory)
pkg: This is an internal error in pkg(5) version 5146cc9fddc9. Please
log a Service Request about this issue including the information above
and thi smessage.
---8<
The zone in question is my JumpStart zone, so I would rather not remove
it as I need it on site.
currently I have my publisher set like this
root@ytc-laptop:~# pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online
file:///net/
192.168.0.14/export/repoS11/repo/
This is a repo, patched to SRU13. This has worked against my desktop.
(which also has a zone for JumpStarts)
Current SRU level is
---8<
pkg info entire
Name: entire
Summary: entire incorporation including Support Repository
Update (Oracle Solaris 11 11/11 SRU 8.5).
Description: This package constrains system package versions to the same
build. WARNING: Proper system update and correct package
selection depend on the presence of this incorporation.
Removing this package will result in an unsupported
system. For
more information see
https://support.oracle.com/CSP/main/article
?cmd=show&type=NOT&doctype=REFERENCE&id=1372094.1.
Category: Meta Packages/Incorporations
State: Installed
Publisher: solaris
Version: 0.5.11 (Oracle Solaris 11 SRU 8.5)
Build Release: 5.11
Branch: 0.175.0.8.0.5.0
Packaging Date: June 18, 2012 05:39:55 PM
Size: 5.45 kB
FMRI:
pkg://solaris/ent...@0.5.11,5.11-0.175.0.8.0.5.0:20120618T173955Z
---8<
Is it "fresh" build time yet ??? :-(