(0007062)
|
obx
|
2009-12-04 14:00
|
|
Hi Yann, thanks for updated pkg. Got a catch-22 upgrading on Sol10/x86, pkgutil uninstalled old version, but could not install new one.
Workaround:
============
(1)view /var/opt/csw/pkgutil/packages/openssl-0.9.8l\,REV\=2009.11.23-SunOS5.8-i386-CSW.pkg
(2)extract checkinstall script, save separately and try to run
(3) # ./checkinstall
please remove CSWosslrt before upgrading CSWossl
please remove CSWossldevel before upgrading CSWossl
please remove CSWosslutils before upgrading CSWossl
*********************************************************
*********************************************************
check https://www.blastwave.org/wiki [^] for more information
*********************************************************
*********************************************************
(4) Manually uninstalled the 3 packages (pkgrm)
(5) ran checkinstall again -- no output, zero return code, looks better
(6) try installing CSWossl again -- worked
When upgrading through pkgutil, the helpful output from checkinstall above was not visible
- CSWossl uninstall succeeded, but
- CSWossl re-install failed with:
pkgadd: ERROR: checkinstall script did not complete successfully
See below for outputs seen, normal and -d.
Any way to improve the pkgutil/checkinstall to trigger these uninstalls automatically, or at least display the uninstall hints as intended? Thanks!
# pkgutil -i openssl
Parsing catalog, may take a while...
New packages: CSWossl
Current packages: CSWcommon CSWisaexec
Total size: 4.9 MB
A local copy of CSWossl exists and is current.
Installing CSWossl
Processing package instance <CSWossl> from </var/opt/csw/pkgutil/packages/openssl-0.9.8l,REV=2009.11.23-SunOS5.8-i386-CSW.pkg>
openssl - Openssl(i386) 0.9.8l,REV=2009.11.23
## Executing checkinstall script.
pkgadd: ERROR: checkinstall script did not complete successfully
Installation of <CSWossl> failed.
No changes were made to the system.
#
# pkgutil -d -i CSWossl
Parsing catalog, may take a while...
New packages: CSWossl
Current packages: CSWcommon CSWisaexec
Total size: 4.9 MB
Fetching CSWossl...
--2009-12-04 19:28:18-- http://blastwave.network.com/csw/unstable/i386/5.10/openssl-0.9.8l,REV=2009.11.23-SunOS5.8-i386-CSW.pkg.gz [^]
Proxy request sent, awaiting response... 200 OK
Length: 5156327 (4.9M) [application/x-gzip]
Saving to: `/var/opt/csw/pkgutil/packages/openssl-0.9.8l,REV=2009.11.23-SunOS5.8-i386-CSW.pkg.gz'
100%[======================================>] 5,156,327 271K/s in 19s
2009-12-04 19:28:38 (265 KB/s) - `/var/opt/csw/pkgutil/packages/openssl-0.9.8l,REV=2009.11.23-SunOS5.8-i386-CSW.pkg.gz' saved [5156327/5156327]
Installing CSWossl
Processing package instance <CSWossl> from </var/opt/csw/pkgutil/packages/openssl-0.9.8l,REV=2009.11.23-SunOS5.8-i386-CSW.pkg>
openssl - Openssl(i386) 0.9.8l,REV=2009.11.23
## Executing checkinstall script.
pkgadd: ERROR: checkinstall script did not complete successfully
Installation of <CSWossl> failed.
No changes were made to the system.
# |
|