Web lists-archives.com

Help! jessie -> stretch upgrade problems




I just upgraded my main desktop system (64-bit) from jessie to stretch, and
there seems to be several problems, but all probably related and caused by a
single issue somehow related to the kernel; but I don't have any idea how to
move forward.

Following the upgrade:

1. the expected kernel version, 4.9.0-3-amd64, does not appear in the list of
kernels at boot time; so the system boots into the old kernel, 3.14.0-4-amd64.
(I notice that the grub description that is on the screen briefly still
mentions wheezy, which doesn't seem right, but which I doubt is causing the
problem.)

2. If I run "dpkg --configure -a", eventually all the packages that depend on
DKMS fail to configure themselves (this includes virtualbox, zfs and nvidia),
and nothing useful seems to happen.

Here is the start of output from "dpkg --configure -a":

----

Setting up linux-headers-4.9.0-3-amd64 (4.9.30-2+deb9u5) ...
/etc/kernel/header_postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.9.0-3-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/4.3.36/build/make.log

----

If I go and look in the make.log file, it shows a bunch of compiler warnings,
and concludes by saying that some warnings were treated as errors.

Similar errors occur with the other packages that use DKMS.

(One result of this is that, since nvidia doesn't build, plasma won't run,
because the default driver doesn't support OpenGL 2.)

3. If I execute:
    apt-get upgrade
to try to get the latest versions of packages, I get this error:

----

root@homebrew:/home/n7dr# apt-get upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to
correct the problem.
root@homebrew:/home/n7dr#

----

but, as I mentioned above, that command isn't doing anything useful.

It's late, and perhaps my google-fu isn't up to snuff, but none of the
searches I could think of turned up any useful suggestions. I really have no
idea what to try to get out of this mess :-(

  Doc

-- 
Web:  http://enginehousebooks.com/drevans


Attachment: signature.asc
Description: OpenPGP digital signature