Date: Thu, 13 Sep 2018 09:20:40 -0500 From: Valeri Galtsev <galtsev@kicp.uchicago.edu> To: freebsd-questions@freebsd.org Subject: Re: sudo,pkg,Mailman all broken after upgrade from 10.3 to 11.2 Message-ID: <7365c102-a840-f75a-6563-aefc7c9d14d2@kicp.uchicago.edu> In-Reply-To: <CAFsnNZL5xNDBNT=HdR5TOFyzaj%2B9MKr=K1CCWv2aCKKT8U=9OA@mail.gmail.com> References: <CAFsnNZ%2BKM=D5TcyVXrHNPo53GDbkrdc8cFL9uxNGEBFzpQk18g@mail.gmail.com> <CAFsnNZL5xNDBNT=HdR5TOFyzaj%2B9MKr=K1CCWv2aCKKT8U=9OA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/13/18 8:29 AM, William Dudley wrote: > 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") no possibly, but definitely pkg -f upgrade Going minor version up like 11.1 --> 11.2 -f not necessarily needed, but going major version up like 10.4 --> 11.2 you do need to re-install all packages. Just my $0.02 Valeri > > 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 >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7365c102-a840-f75a-6563-aefc7c9d14d2>