Hi

This morning I did a pkgin up and pkgin ug on one of my VMs which ended
in the OpenSSL package disappearing of my VM.

The tail of /var/db/pkgin/pkg_install-err.log produces

---Feb 21 11:48:50: removing smtools-20141114...
---Feb 21 11:48:51: removing openssl-1.0.1j...
Package `openssl-1.0.1j' is still required by other packages:
        mozilla-rootcerts-1.0.20140820nb1
        libarchive-2.8.4nb4
        pkgin-0.6.4nb7
        samba-3.6.24
        wget-1.16
        nodejs-0.10.32
        curl-7.38.0
        net-snmp-5.7.2.1nb1
        mutt-1.5.23nb1
---Feb 21 11:48:54: installing openssl-1.0.1k...
pkg_add: A different version of openssl-1.0.1k is already installed:
openssl-1.0.1h
pkg_add: 1 package addition failed

Now my pkgin and other binaries that depend on openssl being present are
broken

[root@nas ~]# pkgin up
ld.so.1: pkgin: fatal: libcrypto.so.1.0.0: open failed: No such file or
directory
Killed
[root@nas ~]# wget
ld.so.1: wget: fatal: libssl.so.1.0.0: open failed: No such file or
directory
Killed
[root@nas ~]# curl
ld.so.1: curl: fatal: libssl.so.1.0.0: open failed: No such file or
directory
Killed

I know, I know that I'm an arse for not snapshotting first but is there
an easy way to fix this? It looks like manually downloading the package
is out, but I can still open new SSH sessions which hopefully means that
I can sftp a replacement OpenSSL? If I do manually unpack will it screw
up my package database? I am a little surprised that pkgin removed the
current version when it was plainly needed.

The image is a base64 14.2.0 running on SmartOS Live Image v0.147+
build: 20150108T111855Z if it's any help.

Thanks in advance for any advice

Kev



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to