Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2018 09:21:44 -0400
From:      William Dudley <wfdudley@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   sudo,pkg,Mailman all broken after upgrade from 10.3 to 11.2
Message-ID:  <CAFsnNZ+KM=D5TcyVXrHNPo53GDbkrdc8cFL9uxNGEBFzpQk18g@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
The fun never stops, eh?

I just completed an upgrade from 10.3 to 11.2, using freebsd-update.

sudo ls
sudo: error in /usr/local/etc/sudo.conf, line 0 while loading plugin
"sudoers_policy"
sudo: unable to load /usr/local/libexec/sudo/sudoers.so: Shared object
"libpam.so.5" not found, required by "sudoers.so"
sudo: fatal error, unable to load plugins

alpine is broken, same error about libpam.so.5 missing.

Mailman is broken:

ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/local/lib/python2.7/hashlib.py", line 97, in
__get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
  File "/usr/local/mailman/cron/disabled", line 73, in <module>
    from Mailman import Utils
  File "/usr/local/mailman/Mailman/Utils.py", line 61, in <module>
    md5_new = hashlib.md5
AttributeError: 'module' object has no attribute 'md5'

pkg is broken:

pkg upgrade
Shared object "libssl.so.7" not found, required by "pkg"

I can see source for that file here:

/usr/obj/usr/src/secure/lib/libssl/libssl.so.7
/usr/obj/usr/src/tmp/usr/lib/libssl.so.7

But I don't (off hand) know how to build it.

Probably lots of other stuff is broken that I haven't found yet.
This is extremely disappointing.

I have done freebsd-update fetch/install after the upgrade.

I can't run pkg, as it's broken.

Does anyone have any suggestions?

Thanks,
Bill Dudley



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAFsnNZ+KM=D5TcyVXrHNPo53GDbkrdc8cFL9uxNGEBFzpQk18g>