Bullseye to Bookworm upgrade issues
Hello,
I have upgraded Bullseye with root on ZFS to Bookworm, but I wonder if the 4 upgrade issues I encountered are worth reporting?
If so, which packages would be advisable to report against, please?
Having followed the draft release notes, here is the output from my script files
(with my <comments>):
1. DM restart issue
root@qwerty:~# apt upgrade --without-new-pkgs
<snip>
<This fails due to display manager restart.>
<After Ctrl+ALt+F2, nothing appears (bar the command itself) in ps aux|grep apt>
The release notes seem to suggest the upgrade should continue:
"4.5.6. Change of session to console
If you are running the upgrade using the system's local console you might find that at some points during the upgrade the console is shifted over to a different view and you lose visibility of the upgrade process [...]"
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.en.html#trouble
2. dmsetup problem
root@qwerty:~# apt full-upgrade
dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@qwerty:~# dpkg --configure -a
<snip>
Setting up libcrypt-openssl-random-perl:amd64 (0.15-3+b1) ...
dependency problems prevent configuration of dmsetup:
dmsetup depends on libdevmapper1.02.1 (>= 2:1.02.181); however:
Version of libdevmapper1.02.1:amd64 on system is 2:1.02.175-2.1.
error processing package dmsetup (--configure):
dependency problems - leaving unconfigured
<snip>
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-23-amd64
Errors were encountered while processing:
dmsetup
root@qwerty:~# apt upgrade libdevmapper
<snip>
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
dmsetup : Depends: libdevmapper1.02.1 (>= 2:1.02.181) but 2:1.02.175-2.1 is installed
Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@qwerty:~# apt --fix-broken install
<snip>
update-initramfs: Generating /boot/initrd.img-5.10.0-23-amd64
Jneedrestart is being skipped since dpkg has failed
3. Apt doesn't finish its jobs and doesn't restart them on re-run
root@qwerty:~# apt full-upgrade
<snip>
<needrestart runs...>
APT had planned for dpkg to do more than it reported back (7296 vs 7329).
Affected packages: texlive-fonts-recommended:amd64 texlive-lang-greek:amd64 texlive-latex-base:amd64 texlive-latex-extra:amd64 texlive-latex-recommended:amd64 texlive-pictures:amd64 texlive-plain-generic:amd64 texlive-science:amd64[0m
root@qwerty:~# apt full-upgrade
<nothing to do>
4. Apache (config?) is broken after upgrade
user@qwerty:~$ sudo service apache2 status > a.txt
user@qwerty:~$ cat a.txt
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: enabled)
Active: active (running) since Fri 2023-06-02 03:36:07 BST; 4min 47s ago
Docs: https://httpd.apache.org/docs/2.4/
Main PID: 2570025 (apache2)
Tasks: 8 (limit: 14100)
Memory: 20.7M
CPU: 153ms
CGroup: /system.slice/apache2.service
├─2570025 /usr/sbin/apache2 -k start
├─2570026 /usr/sbin/apache2 -k start
├─2570028 /usr/sbin/apache2 -k start
├─2570030 /usr/sbin/apache2 -k start
├─2570031 /usr/sbin/apache2 -k start
├─2570032 /usr/sbin/apache2 -k start
├─2570033 /usr/sbin/apache2 -k start
└─2570034 /usr/sbin/apache2 -k start
Jun 02 03:36:07 qwerty systemd[1]: Starting apache2.service - The Apache HTTP Server...
Jun 02 03:36:07 qwerty apachectl[2570024]: [Fri Jun 02 03:36:07.491684 2023] [alias:warn] [pid 2570024] AH00671: The ScriptAlias directive in /etc/apache2/sites-enabled/munin.conf at line 13 will probably never match because it overlaps an earlier ScriptAlias.
Jun 02 03:36:07 qwerty apachectl[2570024]: [Fri Jun 02 03:36:07.491727 2023] [alias:warn] [pid 2570024] AH00671: The Alias directive in /etc/apache2/sites-enabled/munin.conf at line 14 will probably never match because it overlaps an earlier Alias.
Jun 02 03:36:07 qwerty apachectl[2570024]: [Fri Jun 02 03:36:07.491761 2023] [alias:warn] [pid 2570024] AH00671: The Alias directive in /etc/apache2/sites-enabled/munin.conf at line 44 will probably never match because it overlaps an earlier Alias.
Jun 02 03:36:07 qwerty apachectl[2570024]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Jun 02 03:36:07 qwerty systemd[1]: Started apache2.service - The Apache HTTP Server.
Firefox at http(s)://localhost/sitename gives a 503
"Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."
Neither /var/log/apache2/error.log nor /var/log/syslog seem to provide any clues to the problem.
I said Yes to new config files (etc) during upgrade.
user@qwerty:/etc/apache2/mods-available$ ls
access_compat.load dump_io.load proxy.conf
actions.conf echo.load proxy_connect.load
actions.load env.load proxy_express.load
alias.conf expires.load proxy_fcgi.load
alias.load ext_filter.load proxy_fdpass.load
allowmethods.load fcgid.conf proxy_ftp.conf
asis.load fcgid.load proxy_ftp.load
auth_basic.load file_cache.load proxy_hcheck.load
auth_digest.load filter.load proxy_html.conf
auth_form.load headers.load proxy_html.load
authn_anon.load heartbeat.load proxy_http2.load
authn_core.load heartmonitor.load proxy_http.load
authn_dbd.load http2.conf proxy.load
authn_dbm.load http2.load proxy_scgi.load
authn_file.load ident.load proxy_uwsgi.load
authn_socache.load imagemap.load proxy_wstunnel.load
authnz_fcgi.load include.load ratelimit.load
authnz_ldap.load info.conf reflector.load
authz_core.load info.load remoteip.load
authz_dbd.load lbmethod_bybusyness.load reqtimeout.conf
authz_dbm.load lbmethod_byrequests.load reqtimeout.load
authz_groupfile.load lbmethod_bytraffic.load request.load
authz_host.load lbmethod_heartbeat.load rewrite.load
authz_owner.load ldap.conf sed.load
authz_user.load ldap.load session_cookie.load
autoindex.conf log_debug.load session_crypto.load
autoindex.load log_forensic.load session_dbd.load
brotli.load lua.load session.load
buffer.load macro.load setenvif.conf
cache_disk.conf md.load setenvif.load
cache_disk.load mime.conf slotmem_plain.load
cache.load mime.load slotmem_shm.load
cache_socache.load mime_magic.conf socache_dbm.load
cern_meta.load mime_magic.load socache_memcache.load
cgid.conf mpm_event.conf socache_redis.load
cgid.load mpm_event.load socache_shmcb.load
cgi.load mpm_prefork.conf speling.load
charset_lite.load mpm_prefork.load ssl.conf
data.load mpm_worker.conf ssl.load
dav_fs.conf mpm_worker.load status.conf
dav_fs.load negotiation.conf status.load
dav.load negotiation.load substitute.load
dav_lock.load php7.4.conf suexec.load
dbd.load php7.4.load unique_id.load
deflate.conf php8.2.conf userdir.conf
deflate.load php8.2.load userdir.load
dialup.load proxy_ajp.load usertrack.load
dir.conf proxy_balancer.conf vhost_alias.load
dir.load proxy_balancer.load xml2enc.load
user@qwerty:/etc/apache2/mods-available$ sudo apt install php8.2-mysql
<snip>
php8.2-mysql is already the newest version (8.2.5-2).
<snip>
user@qwerty:/etc/apache2/mods-available$ sudo a2enmod php8.2-mysql
ERROR: Module php8.2-mysql does not exist!
user@qwerty:/etc/apache2/mods-available$ sudo a2enmod php-mysql
ERROR: Module php-mysql does not exist!
Any ideas re this last (Apache) point would be particularly appreciated.
Many thanks,
Gareth
Reply to: