Date: Thu, 13 Sep 2018 09:29:00 -0400 From: William Dudley <wfdudley@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: sudo,pkg,Mailman all broken after upgrade from 10.3 to 11.2 Message-ID: <CAFsnNZL5xNDBNT=HdR5TOFyzaj%2B9MKr=K1CCWv2aCKKT8U=9OA@mail.gmail.com> In-Reply-To: <CAFsnNZ%2BKM=D5TcyVXrHNPo53GDbkrdc8cFL9uxNGEBFzpQk18g@mail.gmail.com> References: <CAFsnNZ%2BKM=D5TcyVXrHNPo53GDbkrdc8cFL9uxNGEBFzpQk18g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
replying to my own questions. The upgrade directions didn't state that I had to run pkg-static to upgrade pkg, and then do pkg upgrade. They just said "rebuild ports", of which I have none. So some googling revealed the missing instructions, and I am running pkg upgrade as I write this. Here, so the answers will be found by a search, is the missing documentation: After the final freebsd-update install and reboot, do this: pkg-static -f install pkg pkg upgrade (or possibly "pkg -f upgrade") Bill Dudley This email is free of malware because I run Linux. On Thu, Sep 13, 2018 at 9:21 AM, William Dudley <wfdudley@gmail.com> wrote: > 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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZL5xNDBNT=HdR5TOFyzaj%2B9MKr=K1CCWv2aCKKT8U=9OA>