Hi everyone,

I'm using the latest SmartOS build and during the 'pkgin upgrade' openssl
seems to be removed and not upgraded despite the message without errors

[root@whisky /opt]# pkgin update
processing remote summary (
https://pkgsrc.joyent.com/packages/SmartOS/2016Q4/x86_64/All)...
database for https://pkgsrc.joyent.com/packages/SmartOS/2016Q4/x86_64/All
is up-to-date
[root@whisky /opt]# pkgin fug
calculating dependencies... done.

1 packages to be upgraded:

openssl-1.0.2jnb1

1 packages to be installed (0B to download, 5146B to install):

openssl-1.0.2k

proceed ? [Y/n] y
downloading packages...
removing packages to be upgraded...
removing openssl-1.0.2jnb1...
===========================================================================
The following directories are no longer being used by openssl-1.0.2jnb1,
and they can be removed if no other packages are using them:

/opt/local/etc/openssl/certs

===========================================================================
pkg_install warnings: 0, errors: 0
installing packages...
installing openssl-1.0.2k...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
[root@whisky /opt]# pkg_info
ld.so.1: pkg_info: fatal: libssl.so.1.0.0: open failed: No such file or
directory
Killed
[root@whisky /opt]# uname -a
SunOS whisky.alchemax.co.uk 5.11 joyent_20170202T040152Z i86pc i386 i86pc
[root@whisky /opt]#

As I workaround for this I had to reinstall pkgsrc, download the new
openssl .tgz and upgrade using pkg_add -U - Is there any way to prevent
this in the future?

[root@whisky /opt]# tar -zxpf bootstrap-2016Q4-x86_64.tar.gz -C /
[root@whisky /opt]# ls
bootstrap-2016Q4-x86_64.tar.gz  custom                          local
                    openssl-1.0.2k.tgz              platform-upgrade
[root@whisky /opt]# rm -rf openssl-1.0.2k.tgz
[root@whisky /opt]#
[root@whisky /opt]# tar -zxpf bootstrap-2016Q4-x86_64.tar.gz -C /
[root@whisky /opt]# wget --no-check-certificat
https://pkgsrc.joyent.com/packages/SmartOS/2016Q4/x86_64/All/openssl-1.0.2k.tgz
--2017-02-07 02:02:00--
https://pkgsrc.joyent.com/packages/SmartOS/2016Q4/x86_64/All/openssl-1.0.2k.tgz
Resolving pkgsrc.joyent.com (pkgsrc.joyent.com)... 37.153.97.16
Connecting to pkgsrc.joyent.com (pkgsrc.joyent.com)|37.153.97.16|:443...
connected.
WARNING: cannot verify pkgsrc.joyent.com's certificate, issued by
‘CN=RapidSSL SHA256 CA,O=GeoTrust Inc.,C=US’:
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 5797040 (5.5M) [application/octet-stream]
Saving to: ‘openssl-1.0.2k.tgz’

openssl-1.0.2k.tgz
 
100%[==============================================================================================>]
  5.53M  34.2MB/s    in 0.2s

2017-02-07 02:02:00 (34.2 MB/s) - ‘openssl-1.0.2k.tgz’ saved
[5797040/5797040]

[root@whisky /opt]# pkg_add -U openssl-1.0.2k.tgz
===========================================================================
The following directories are no longer being used by openssl-1.0.2jnb1,
and they can be removed if no other packages are using them:

/opt/local/etc/openssl/certs

===========================================================================
openssl-1.0.2k: copying /opt/local/share/examples/openssl/openssl.cnf to
/opt/local/etc/openssl/openssl.cnf
[root@whisky /opt]#

Cheers,
Danilo



-------------------------------------------
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