[Have to remove old version 7.0.10 before upgrade to VBox 7.0.14]
# uname -a
SunOS [hostname] 5.11 11.4.42.111.0 i86pc i386 i86pc non-virtualized
Code: Select all
# pkgrm -v SUNWvbox
The following package is currently installed:
SUNWvbox Oracle VM VirtualBox
(i386) 7.0.10,REV=2023.07.12.19.27.39.158379
Do you want to remove this package? [y,n,?,q] yes
## Removing installed package instance <SUNWvbox>
(A previous attempt may have been unsuccessful.)
This package contains scripts which will be executed with super-user
permission during the process of removing this package.
Do you want to continue with the removal of this package [y,n,?,q] yes
## Verifying package <SUNWvbox> dependencies in global zone
## Processing package information.
## Executing preremove script.
+ zonename
+ currentzone=global
+ test xglobal '=' xglobal
+ echo 'Removing VirtualBox services and drivers...'
Removing VirtualBox services and drivers...
+ //opt/VirtualBox/vboxconfig.sh --preremove
/var/sadm/pkg/SUNWvbox/install/preremove[32]: //opt/VirtualBox/vboxconfig.sh: not found [No such file or directory]
+ test 127 -eq 0
+ echo '## Failed.'
+ 1>& 2
## Failed.
+ exit 1
pkgrm: ERROR: preremove script did not complete successfully
Removal of <SUNWvbox> failed.
Thanks to BEs, data not lost, but without a patch...this is bad.