[indiana-discuss] I did a stupid thing - pkg uninstall openssl
Jeff Brown
jpb at stonequarter.com
Thu May 22 18:38:17 PDT 2008
I was thinking I'd update a few pieces of software manually by compiling a current version of OpenSSL and OpenSSH but didn't want the version in pkg to conflict with the version that I was about to compile. So, I thought I'd uninstall openssl and openssh via pkg, thinking that it would tell me if any other packages relied upon those two.
It said no dependencies (I didn't believe it, but thougth how bad could it be).
Now I need to start with Gnome Failsafe because:
ld.so.1: ssh-agent: fatal: libcrypto.so.0.9.8: open failed: No such file or directory
ld.so.1: ssh-agent: fatal: relocation error: file /usr/bin/ssh-agent: symbol OPENSSL_add_all_algorithms_noconf: referenced symbol not found
I thought that I'd fix it with a package from Sunfreeware -- No luck:
pfexec pkgadd -d ./openssl-0.9.8g-sol10-x86-local
ld.so.1: pkgadd: fatal: libssl.so.0.9.8: open failed: No such file or directory
Killed
I thought perhaps I'd run pkg to get it back:
pfexec pkg install SUNWopenssl
Traceback (most recent call last):
File "/usr/bin/pkg", line 57, in ?
import pkg.client.image as image
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 39, in ?
import pkg.catalog as catalog
File "/usr/lib/python2.4/vendor-packages/pkg/catalog.py", line 41, in ?
import pkg.manifest as manifest
File "/usr/lib/python2.4/vendor-packages/pkg/manifest.py", line 30, in ?
import pkg.actions as actions
File "/usr/lib/python2.4/vendor-packages/pkg/actions/__init__.py", line 59, in ?
globals(), locals(), [modname])
File "/usr/lib/python2.4/vendor-packages/pkg/actions/attribute.py", line 34, in ?
import generic
File "/usr/lib/python2.4/vendor-packages/pkg/actions/generic.py", line 39, in ?
import pkg.client.retrieve as retrieve
File "/usr/lib/python2.4/vendor-packages/pkg/client/retrieve.py", line 30, in ?
from pkg.misc import versioned_urlopen
File "/usr/lib/python2.4/vendor-packages/pkg/misc.py", line 36, in ?
import pkg.urlhelpers as urlhelpers
File "/usr/lib/python2.4/vendor-packages/pkg/urlhelpers.py", line 8, in ?
class HTTPSCertHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
So far, I've managed to put a compiled version of openssl back on the system, but it of course is not in the place where everything is looking for it, so now I'm having fun compiling openssh.
Any suggestions on how I might easily get pkg or pkgadd to work? or am I better off grabbing a few binaries from a working system (using something other than ssh)?
All suggestions are welcome (and even some ribbing for my silly action -- what was I thinking -- remove ssl -- right, that will work)
--
This message posted from opensolaris.org
More information about the indiana-discuss
mailing list