Original plan: upgrade mercury from Debian 9 "stretch" to 10, "buster."
#nslug denizen joeDoh convinced me to then do 10 --> 11, "bullseye".
stretch --> buster instructions here
buster --> bullseye here
Output of dpkg --get-selections "*" below
- add line to /etc/apt/sources.list
- in /etc/apt/sources.list.d/ , change all references to stretch, to buster
- script -t 2>~/upgrade-busterstep.time -a ~daniel/upgrade-buster01.script
- changed package states in /var/log/apt/history.log
- > locale: Cannot set LC_ALL to default locale: No such file or directory
- Configuration file '/etc/security/access.conf' ==> Modified (by you or by a script) since installation.
After reboot
- the Perl libraries are *all* gone? - no, just some.
Now do 10 --> 11 with https://www.cyberciti.biz/faq/update-upgrade-debian-10-to-debian-11-bullseye/
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
Fix Sequence
- [x] apache2 just came up
- [x] mariadb just acme up
- [x] solarns.ca wayves.ca just came up
- [x] gay.hfxns.org needed Perl DateTime which took like an hour
- [x] put old /etc/ssh/sshd_config in
- [x] Perl DateTime
- Check HRE again
- [x] Perl Date::Parse RRD::Simple CPAN::DistnameInfo inc::latest
- check the rover thing that tests if certs are available. Needed Date::Parse
- dovecot imap-login: Error: Failed to initialize SSL server context: Can't load DH parameters (ssl_dh setting): fixed by deleting /var/lib/dovecot/ssl-parameters.dat
- [x] check sshd/ssh
- [ ] fail2ban
- [x] CPAN force install RRD::Simple because of nan / -nan errors
- [x] apt remove php7.4*
- Deleted php7.4; this was a mistake because it looks like drupal doesn't run under 8.2. had to reinstall 7.4 and php7.4-mysql and php7.4-xml