Firstly, log onto the virtualbox and shutdown, before taking a snapshot;
# VBoxManage snapshot morrison take 100714 --description "ubuntu"
Virtualbox additions was on port 1, device 0, so I had to blow away the controller and start again, but with CentOS ISO attached. Before I did this, I could not boot off the CentOS ISO.
# VBoxManage storagectl morrison --name "IDE Controller" --remove
# VBoxManage storageattach morrison --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium //tank/downloads/OS/CentOS-7.0-1406-x86_64-DVD.iso
# VBoxManage startvm --type headless morrison
F12 to select boot device
... and off we go
Thursday, July 10, 2014
Monday, June 16, 2014
Replacing an rpool disk on x86 on Solaris 11.1
Replacing a failed disk in a mirrored rpool
Usual ZFS command
zpool replace -f rpool c9t1d0s0Important bit
(without this you don't get grub so the box won't boot)
bootadm install-bootloader
All documented, but I can confirm that this works.
Thursday, May 29, 2014
Upgrade from OpenSolaris to Solaris 11
NB: This is an old post that has sat in draft for months. Since this I have done a fresh install to Solaris 11.1 as the pkg database was in such a state that I could not upgrade.
=====
I had some grief with this, and I think it was due to a corrupted SUNWPython install. Anyway, here's what I had to do. Hopefully it will be of interest to someone else..
Useful web page to get started - http://blog.allanglesit.com/2012/05/upgrade-solaris-11-express-to-solaris-11/
Useful commands;
pkginfo entire
pkg search -r entire | grep summary
pkg update pkg:/entire@....
First things first, upgrade pkg;
# pkg install pkg:/package/pkg
Packages to update: 5
Create boot environment: Yes
DOWNLOAD PKGS FILES XFER (MB)
Completed 5/5 485/485 3.5/3.5
PHASE ACTIONS
Removal Phase 58/58
Install Phase 199/199
Update Phase 465/465
PHASE ITEMS
Package State Update Phase 10/10
Package Cache Update Phase 5/5
Image State Update Phase 2/2
A clone of supernet exists and has been updated and activated.
On the next boot the Boot Environment supernet-1 will be mounted on '/'.
Reboot when ready to switch to this updated BE.
# reboot
# pkg info entire
Name: entire
Summary: incorporation to lock all system packages to same build
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.
State: Installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.151.0.1
Packaging Date: 5 November 2010 05:40:56
Size: 0.00 B
FMRI: pkg://solaris/entire@0.5.11,5.11-0.151.0.1:20101105T054056Z
# pkg search -r entire
INDEX ACTION VALUE PACKAGE
pkg.fmri set solaris/entire pkg:/entire@0.5.11-0.151.0.1
pkg.fmri set solaris/entire pkg:/entire@0.5.11-0.175.0.0.0.2.0
pkg.fmri set solaris/entire pkg:/entire@0.5.11-0.175.0.10.1.0.0
pkg.fmri set solaris/entire pkg:/entire@0.5.11-0.175.1.0.0.24.2
pkg.summary set entire incorporation including Upgrade Packages pkg:/entire@0.5.11-0.175.0.10.1.0.0
Let's do the upgrade.. But it spewed out pages and pages of errors
# pkg update pkg:/entire@0.5.11-0.175.1.0.0.24.2
Creating Plan /
pkg update: No solution was found to satisfy constraints
maintained incorporations: None
Plan Creation: dependency error(s) in proposed packages:
No suitable version of required package pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0. 24.2:20120919T184141Z found:
Reject: pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184141Z
Reason: All versions matching 'incorporate' dependency pkg:/system/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2 are rejected
Reject: pkg://solaris/system/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184829Z
Reason: Installed version in root image is too old for origin dependency %s
No suitable version of required package pkg://solaris/system/hal@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184852Z found:
Reject: pkg://solaris/system/hal@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184852Z
Reason: All versions matching 'require' dependency pkg:/consolidation/osnet/osnet-incorporation are rejected
Reject: pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151.0.1:20101104T230646Z
pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.0.0.0.2.1:20111019T053010Z
pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.0.10.1.0.0:20120920T143019Z
Reason: Excluded by proposed incorporation 'entire'
Reject: pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184141Z
Reason: All versions matching 'incorporate' dependency pkg:/system/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2 a re rejected
...
..
Plan Creation: Errors in installed packages due to proposed changes:
No suitable version of installed package pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z found
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z found
Reject: pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-identity@6.7,5.11-0.111:20090730T010558Z found
Reject: pkg://opensolaris.org/libnb-identity@6.7,5.11-0.111:20090730T010558Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/netbeans@6.7,5.11-0.111:20090730T010718Z found
Reject: pkg://opensolaris.org/netbeans@6.7,5.11-0.111:20090730T010718Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z found
Reject: pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/openoffice@3.1.0,5.11-0.111:20090518T062712Z found
Reject: pkg://opensolaris.org/openoffice@3.1.0,5.11-0.111:20090518T062712Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z found
Reject: pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
Lots of mentions of SUNWPython here.
Let's try and remove it..
# pkg uninstall SUNWPython
Creating Planpkg uninstall: Cannot remove 'pkg://solaris/SUNWPython@2.4.6,5.11-0.133:20101027T185218Z' due to the following packages that depend on it:
pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
pkg://opensolaris.org/openoffice@3.1.0,5.11-0.111:20090518T062712Z
Take off these and any dependencies
# pkgrm SUNWPython
The following package is currently installed:
SUNWPython The Python interpreter, libraries and utilities
(i386) 2.4.6,REV=110.0.4.2010.01.31.10.49
Do you want to remove this package? [y,n,?,q] y
pkgrm: ERROR: unable to change current working directory to
Removal of failed (internal error).
No changes were made to the system.
# ll /var/sadm/pkg/SUNWPython/install
/var/sadm/pkg/SUNWPython/install: No such file or directory
# mkdir /var/sadm/pkg/SUNWPython/install
# pkgrm SUNWPython
The following package is currently installed:
SUNWPython The Python interpreter, libraries and utilities
(i386) 2.4.6,REV=110.0.4.2010.01.31.10.49
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance
pkgrm: ERROR: CLASSES parameter undefined in
Removal of failed (internal error).
No changes were made to the system.
# cat /var/sadm/pkg/SUNWPython/pkginfo
VENDOR=Sun Microsystems, Inc.
PKGINST=SUNWPython
HOTLINE=Please contact your local service provider
PKG=SUNWPython
ARCH=i386
DESC=The Python interpreter, libraries and utilities
CATEGORY=GNOME2,application,JDS4
NAME=The Python interpreter, libraries and utilities
BASEDIR=/
VERSION=2.4.6,REV=110.0.4.2010.01.31.10.49
INSTDATE=Feb 21 2010 20:40
# vi pkginfo
add CLASSES=none
now pkgrm works so once complete, try another upgrade. It barfs;
# pkg update pkg:/entire@0.5.11-0.175.0.0.0.2.0
Creating Plan \
pkg update: No solution was found to satisfy constraints
maintained incorporations: None
Plan Creation: dependency error(s) in proposed packages:
No suitable version of required package pkg://solaris/developer/build/onbld@0.5.11,5.11-0.151.0.1:20101104T230755Z found:
Reject: pkg://solaris/developer/build/onbld@0.5.11,5.11-0.151.0.1:20101104T230755Z
Reason: All acceptable versions of 'require' dependency on pkg:/runtime/python-24 are obsolete
No suitable version of required package pkg://solaris/consolidation/gnome/gnome-incorporation@0.5.11,5.11-0.151.0.1:20101105T053409Z found:
Reject: pkg://solaris/consolidation/gnome/gnome-incorporation@0.5.11,5.11-0.151.0.1:20101105T053409Z
Reason: All versions matching 'incorporate' dependency pkg:/library/python-2/python-notify-24@0.1.1,5.11-0.151.0.1 are rejected
Reject: pkg://solaris/library/python-2/python-notify-24@0.1.1,5.11-0.151.0.1:20101105T055829Z
Reason: Excluded by proposed incorporation 'consolidation/desktop/gnome-incorporation'
No suitable version of required package pkg://solaris/system/ldoms@0.5.11,5.11-0.175.1.0.0.24.2:20120919T185044Z found:
Reject: pkg://solaris/system/ldoms@0.5.11,5.11-0.175.1.0.0.24.2:20120919T185044Z
Reason: All versions matching 'require' dependency pkg:/runtime/perl-512@5.12.4,5.11-0.175.1.0.0.24.0 are rejected
Reject: pkg://solaris/runtime/perl-512@5.12.4,5.11-0.175.1.0.0.24.0:20120904T173550Z
Reason: Excluded by proposed incorporation 'consolidation/userland/userland-incorporation'
No suitable version of required package pkg://solaris/shell/ksh93@93.21.0.20110208,5.11-0.175.1.0.0.24.0:20120904T174231Z found:
Reject: pkg://solaris/shell/ksh93@93.21.0.20110208,5.11-0.175.1.0.0.24.0:20120904T174231Z
Reason: All versions matching 'require' dependency pkg:/system/library/math@0.5.11,5.11-0.175.1.0.0.19.0 are rejected
Reject: pkg://solaris/system/library/math@0.5.11,5.11-0.175.1.0.0.19.0:20120625T151932Z
Reason: Excluded by proposed incorporation 'consolidation/sunpro/sunpro-incorporation'
No suitable version of required package pkg://solaris/developer/versioning/mercurial-26@2.2.1,5.11-0.175.1.0.0.24.0:20120904T171728Z found:
Reject: pkg://solaris/developer/versioning/mercurial-26@2.2.1,5.11-0.175.1.0.0.24.0:20120904T171728Z
Reason: All versions matching 'optional' dependency pkg:/developer/versioning/mercurial@2.2.1,5.11-0.175.1.0.0.24.0 are rejected
Reject: pkg://solaris/developer/versioning/mercurial@2.2.1,5.11-0.175.1.0.0.24.0:20120904T171740Z
Reason: Excluded by proposed incorporation 'consolidation/userland/userland-incorporation'
No suitable version of required package pkg://solaris/developer/opensolaris/X@0.5.11,5.11-0.175.1.0.0.24.1317:20120904T175805Z found:
Reject: pkg://solaris/developer/opensolaris/X@0.5.11,5.11-0.175.1.0.0.24.1317:20120904T175805Z
Reason: All versions matching 'require' dependency pkg:/developer/build/libtool@2.2.2,5.11 are rejected
Reject: pkg://solaris/developer/build/libtool@2.4.2,5.11-0.175.1.0.0.24.0:20120904T171232Z
Reason: Excluded by proposed incorporation 'consolidation/userland/userland-incorporation'
No suitable version of required package pkg://solaris/system/input-method/iiim-xim@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T155226Z found:
Reject: pkg://solaris/system/input-method/iiim-xim@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T155226Z
Reason: All versions matching 'require' dependency pkg:/x11/library/libx11@1.5.0,5.11-0.175.1.0.0.20.1309 are rejected
Reject: pkg://solaris/x11/library/libx11@1.5.0,5.11-0.175.1.0.0.24.1317:20120904T175954Z
Reason: Excluded by proposed incorporation 'consolidation/X/X-incorporation'
No suitable version of required package pkg://solaris/system/library/iconv/unicode-core@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T155553Z found:
Reject: pkg://solaris/system/library/iconv/unicode-core@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T155553Z
Reason: All versions matching 'require' dependency pkg:/system/library@0.5.11,5.11-0.175.1.0.0.20.0 are rejected
Reject: pkg://solaris/system/library@0.5.11,5.11-0.175.1.0.0.24.2:20120919T185104Z
Reason: Excluded by proposed incorporation 'consolidation/osnet/osnet-incorporation'
Plan Creation: Errors in installed packages due to proposed changes:
No suitable version of installed package pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z found
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z found
Reject: pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z found
Reject: pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z found
Reject: pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
Remove python and dependencies;
# pkg uninstall SUNWPython
Creating Planpkg uninstall: Cannot remove 'pkg://solaris/SUNWPython@2.4.6,5.11-0.133:20101027T185218Z' due to the following packages that depend on it:
pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
# pkg uninstall libnb-java
Creating Planpkg uninstall: Cannot remove 'pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z' due to the following packages that depend on it:
pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z
pkg://opensolaris.org/libnb-apisupport@6.7,5.11-0.111:20090730T010508Z
pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z
pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z
# for i in libnb-profiler libnb-groovy libnb-apisupport libnb-enterprise libnb-profiler
> do
> pkg uninstall $i
> done
# pkg uninstall libnb-java
Packages to remove: 2
Create boot environment: No
Create backup boot environment: No
PHASE ACTIONS
Removal Phase 467/467
PHASE ITEMS
Package State Update Phase 2/2
Package Cache Update Phase 2/2
Image State Update Phase 2/2
# pkg uninstall SUNWPython
Creating Plan
pkg uninstall: 'SUNWPython' matches no installed packages
Now update works;
# pkg update pkg:/entire@0.5.11-0.175.0.0.0.2.0
Packages to remove: 269
Packages to install: 180
Packages to update: 639
Create boot environment: Yes
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB)
...ktop/gobject/gobject-introspection 103/1088 6642/81818 103.7/1319.3
=====
I had some grief with this, and I think it was due to a corrupted SUNWPython install. Anyway, here's what I had to do. Hopefully it will be of interest to someone else..
Useful web page to get started - http://blog.allanglesit.com/2012/05/upgrade-solaris-11-express-to-solaris-11/
Useful commands;
pkginfo entire
pkg search -r entire | grep summary
pkg update pkg:/entire@....
First things first, upgrade pkg;
# pkg install pkg:/package/pkg
Packages to update: 5
Create boot environment: Yes
DOWNLOAD PKGS FILES XFER (MB)
Completed 5/5 485/485 3.5/3.5
PHASE ACTIONS
Removal Phase 58/58
Install Phase 199/199
Update Phase 465/465
PHASE ITEMS
Package State Update Phase 10/10
Package Cache Update Phase 5/5
Image State Update Phase 2/2
A clone of supernet exists and has been updated and activated.
On the next boot the Boot Environment supernet-1 will be mounted on '/'.
Reboot when ready to switch to this updated BE.
# reboot
# pkg info entire
Name: entire
Summary: incorporation to lock all system packages to same build
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.
State: Installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.151.0.1
Packaging Date: 5 November 2010 05:40:56
Size: 0.00 B
FMRI: pkg://solaris/entire@0.5.11,5.11-0.151.0.1:20101105T054056Z
# pkg search -r entire
INDEX ACTION VALUE PACKAGE
pkg.fmri set solaris/entire pkg:/entire@0.5.11-0.151.0.1
pkg.fmri set solaris/entire pkg:/entire@0.5.11-0.175.0.0.0.2.0
pkg.fmri set solaris/entire pkg:/entire@0.5.11-0.175.0.10.1.0.0
pkg.fmri set solaris/entire pkg:/entire@0.5.11-0.175.1.0.0.24.2
pkg.summary set entire incorporation including Upgrade Packages pkg:/entire@0.5.11-0.175.0.10.1.0.0
Let's do the upgrade.. But it spewed out pages and pages of errors
# pkg update pkg:/entire@0.5.11-0.175.1.0.0.24.2
Creating Plan /
pkg update: No solution was found to satisfy constraints
maintained incorporations: None
Plan Creation: dependency error(s) in proposed packages:
No suitable version of required package pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0. 24.2:20120919T184141Z found:
Reject: pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184141Z
Reason: All versions matching 'incorporate' dependency pkg:/system/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2 are rejected
Reject: pkg://solaris/system/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184829Z
Reason: Installed version in root image is too old for origin dependency %s
No suitable version of required package pkg://solaris/system/hal@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184852Z found:
Reject: pkg://solaris/system/hal@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184852Z
Reason: All versions matching 'require' dependency pkg:/consolidation/osnet/osnet-incorporation are rejected
Reject: pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151.0.1:20101104T230646Z
pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.0.0.0.2.1:20111019T053010Z
pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.0.10.1.0.0:20120920T143019Z
Reason: Excluded by proposed incorporation 'entire'
Reject: pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184141Z
Reason: All versions matching 'incorporate' dependency pkg:/system/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2 a re rejected
...
..
Plan Creation: Errors in installed packages due to proposed changes:
No suitable version of installed package pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z found
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z found
Reject: pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-identity@6.7,5.11-0.111:20090730T010558Z found
Reject: pkg://opensolaris.org/libnb-identity@6.7,5.11-0.111:20090730T010558Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/netbeans@6.7,5.11-0.111:20090730T010718Z found
Reject: pkg://opensolaris.org/netbeans@6.7,5.11-0.111:20090730T010718Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z found
Reject: pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/openoffice@3.1.0,5.11-0.111:20090518T062712Z found
Reject: pkg://opensolaris.org/openoffice@3.1.0,5.11-0.111:20090518T062712Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z found
Reject: pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
Lots of mentions of SUNWPython here.
Let's try and remove it..
# pkg uninstall SUNWPython
Creating Planpkg uninstall: Cannot remove 'pkg://solaris/SUNWPython@2.4.6,5.11-0.133:20101027T185218Z' due to the following packages that depend on it:
pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
pkg://opensolaris.org/openoffice@3.1.0,5.11-0.111:20090518T062712Z
Take off these and any dependencies
# pkgrm SUNWPython
The following package is currently installed:
SUNWPython The Python interpreter, libraries and utilities
(i386) 2.4.6,REV=110.0.4.2010.01.31.10.49
Do you want to remove this package? [y,n,?,q] y
pkgrm: ERROR: unable to change current working directory to
Removal of
No changes were made to the system.
/var/sadm/pkg/SUNWPython/install: No such file or directory
# mkdir /var/sadm/pkg/SUNWPython/install
# pkgrm SUNWPython
The following package is currently installed:
SUNWPython The Python interpreter, libraries and utilities
(i386) 2.4.6,REV=110.0.4.2010.01.31.10.49
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance
pkgrm: ERROR: CLASSES parameter undefined in
Removal of
No changes were made to the system.
# cat /var/sadm/pkg/SUNWPython/pkginfo
VENDOR=Sun Microsystems, Inc.
PKGINST=SUNWPython
HOTLINE=Please contact your local service provider
PKG=SUNWPython
ARCH=i386
DESC=The Python interpreter, libraries and utilities
CATEGORY=GNOME2,application,JDS4
NAME=The Python interpreter, libraries and utilities
BASEDIR=/
VERSION=2.4.6,REV=110.0.4.2010.01.31.10.49
INSTDATE=Feb 21 2010 20:40
# vi pkginfo
add CLASSES=none
now pkgrm works so once complete, try another upgrade. It barfs;
# pkg update pkg:/entire@0.5.11-0.175.0.0.0.2.0
Creating Plan \
pkg update: No solution was found to satisfy constraints
maintained incorporations: None
Plan Creation: dependency error(s) in proposed packages:
No suitable version of required package pkg://solaris/developer/build/onbld@0.5.11,5.11-0.151.0.1:20101104T230755Z found:
Reject: pkg://solaris/developer/build/onbld@0.5.11,5.11-0.151.0.1:20101104T230755Z
Reason: All acceptable versions of 'require' dependency on pkg:/runtime/python-24 are obsolete
No suitable version of required package pkg://solaris/consolidation/gnome/gnome-incorporation@0.5.11,5.11-0.151.0.1:20101105T053409Z found:
Reject: pkg://solaris/consolidation/gnome/gnome-incorporation@0.5.11,5.11-0.151.0.1:20101105T053409Z
Reason: All versions matching 'incorporate' dependency pkg:/library/python-2/python-notify-24@0.1.1,5.11-0.151.0.1 are rejected
Reject: pkg://solaris/library/python-2/python-notify-24@0.1.1,5.11-0.151.0.1:20101105T055829Z
Reason: Excluded by proposed incorporation 'consolidation/desktop/gnome-incorporation'
No suitable version of required package pkg://solaris/system/ldoms@0.5.11,5.11-0.175.1.0.0.24.2:20120919T185044Z found:
Reject: pkg://solaris/system/ldoms@0.5.11,5.11-0.175.1.0.0.24.2:20120919T185044Z
Reason: All versions matching 'require' dependency pkg:/runtime/perl-512@5.12.4,5.11-0.175.1.0.0.24.0 are rejected
Reject: pkg://solaris/runtime/perl-512@5.12.4,5.11-0.175.1.0.0.24.0:20120904T173550Z
Reason: Excluded by proposed incorporation 'consolidation/userland/userland-incorporation'
No suitable version of required package pkg://solaris/shell/ksh93@93.21.0.20110208,5.11-0.175.1.0.0.24.0:20120904T174231Z found:
Reject: pkg://solaris/shell/ksh93@93.21.0.20110208,5.11-0.175.1.0.0.24.0:20120904T174231Z
Reason: All versions matching 'require' dependency pkg:/system/library/math@0.5.11,5.11-0.175.1.0.0.19.0 are rejected
Reject: pkg://solaris/system/library/math@0.5.11,5.11-0.175.1.0.0.19.0:20120625T151932Z
Reason: Excluded by proposed incorporation 'consolidation/sunpro/sunpro-incorporation'
No suitable version of required package pkg://solaris/developer/versioning/mercurial-26@2.2.1,5.11-0.175.1.0.0.24.0:20120904T171728Z found:
Reject: pkg://solaris/developer/versioning/mercurial-26@2.2.1,5.11-0.175.1.0.0.24.0:20120904T171728Z
Reason: All versions matching 'optional' dependency pkg:/developer/versioning/mercurial@2.2.1,5.11-0.175.1.0.0.24.0 are rejected
Reject: pkg://solaris/developer/versioning/mercurial@2.2.1,5.11-0.175.1.0.0.24.0:20120904T171740Z
Reason: Excluded by proposed incorporation 'consolidation/userland/userland-incorporation'
No suitable version of required package pkg://solaris/developer/opensolaris/X@0.5.11,5.11-0.175.1.0.0.24.1317:20120904T175805Z found:
Reject: pkg://solaris/developer/opensolaris/X@0.5.11,5.11-0.175.1.0.0.24.1317:20120904T175805Z
Reason: All versions matching 'require' dependency pkg:/developer/build/libtool@2.2.2,5.11 are rejected
Reject: pkg://solaris/developer/build/libtool@2.4.2,5.11-0.175.1.0.0.24.0:20120904T171232Z
Reason: Excluded by proposed incorporation 'consolidation/userland/userland-incorporation'
No suitable version of required package pkg://solaris/system/input-method/iiim-xim@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T155226Z found:
Reject: pkg://solaris/system/input-method/iiim-xim@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T155226Z
Reason: All versions matching 'require' dependency pkg:/x11/library/libx11@1.5.0,5.11-0.175.1.0.0.20.1309 are rejected
Reject: pkg://solaris/x11/library/libx11@1.5.0,5.11-0.175.1.0.0.24.1317:20120904T175954Z
Reason: Excluded by proposed incorporation 'consolidation/X/X-incorporation'
No suitable version of required package pkg://solaris/system/library/iconv/unicode-core@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T155553Z found:
Reject: pkg://solaris/system/library/iconv/unicode-core@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T155553Z
Reason: All versions matching 'require' dependency pkg:/system/library@0.5.11,5.11-0.175.1.0.0.20.0 are rejected
Reject: pkg://solaris/system/library@0.5.11,5.11-0.175.1.0.0.24.2:20120919T185104Z
Reason: Excluded by proposed incorporation 'consolidation/osnet/osnet-incorporation'
Plan Creation: Errors in installed packages due to proposed changes:
No suitable version of installed package pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z found
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z found
Reject: pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z found
Reject: pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
No suitable version of installed package pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z found
Reject: pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z
Reason: All versions matching 'require' dependency pkg:/libnb-java@6.7,5.11-0.111 are rejected
Reject: pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
Reason: All acceptable versions of 'require' dependency on pkg:/SUNWPython@2.4.4,5.11-0.111 are obsolete
Remove python and dependencies;
# pkg uninstall SUNWPython
Creating Planpkg uninstall: Cannot remove 'pkg://solaris/SUNWPython@2.4.6,5.11-0.133:20101027T185218Z' due to the following packages that depend on it:
pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z
# pkg uninstall libnb-java
Creating Planpkg uninstall: Cannot remove 'pkg://opensolaris.org/libnb-java@6.7,5.11-0.111:20090730T010559Z' due to the following packages that depend on it:
pkg://opensolaris.org/libnb-enterprise@6.7,5.11-0.111:20090730T010519Z
pkg://opensolaris.org/libnb-apisupport@6.7,5.11-0.111:20090730T010508Z
pkg://opensolaris.org/libnb-groovy@6.7,5.11-0.111:20090730T010541Z
pkg://opensolaris.org/libnb-profiler@6.7,5.11-0.111:20090730T010621Z
# for i in libnb-profiler libnb-groovy libnb-apisupport libnb-enterprise libnb-profiler
> do
> pkg uninstall $i
> done
# pkg uninstall libnb-java
Packages to remove: 2
Create boot environment: No
Create backup boot environment: No
PHASE ACTIONS
Removal Phase 467/467
PHASE ITEMS
Package State Update Phase 2/2
Package Cache Update Phase 2/2
Image State Update Phase 2/2
# pkg uninstall SUNWPython
Creating Plan
pkg uninstall: 'SUNWPython' matches no installed packages
Now update works;
# pkg update pkg:/entire@0.5.11-0.175.0.0.0.2.0
Packages to remove: 269
Packages to install: 180
Packages to update: 639
Create boot environment: Yes
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB)
...ktop/gobject/gobject-introspection 103/1088 6642/81818 103.7/1319.3
Labels:
solaris
Ubuntu VirtualBox client unable to mount shared folders
VirtualBox version: 4.3.10r93012
Ubuntu version: 12.04.4
Error when attempting to mount a shared folder: mount: Protocol error
Issue:
lrwxrwxrwx 1 root root 40 May 29 22:45 /sbin/mount.vboxsf -> /usr/lib/VBoxGuestAdditions/mount.vboxsf
This link was incorrect, even after installing the guest additions and running through the procedure as per https://www.virtualbox.org/manual/ch04.html#idp55330864
Fix:
#cd /usr/lib
# rm mount.vboxsf
# ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions/mount.vboxsf
After this, manual mount worked fine and the box rebooted cleanly.
Ubuntu version: 12.04.4
Error when attempting to mount a shared folder: mount: Protocol error
Issue:
lrwxrwxrwx 1 root root 40 May 29 22:45 /sbin/mount.vboxsf -> /usr/lib/VBoxGuestAdditions/mount.vboxsf
This link was incorrect, even after installing the guest additions and running through the procedure as per https://www.virtualbox.org/manual/ch04.html#idp55330864
Fix:
#cd /usr/lib
# rm mount.vboxsf
# ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions/mount.vboxsf
After this, manual mount worked fine and the box rebooted cleanly.
Labels:
linux,
virtualbox
Subscribe to:
Comments (Atom)
