2018-05-21 09:55:56,514 DEBUG nvidiaUpdate()
2018-05-21 09:55:58,109 INFO no old nvidia driver installed, installing no new
Then looking at DistUpgradeCache from ubuntu-release-upgrader there is this:
540 # get new detection module and use the modalises files
541 # from within the release-upgrader
542 nv = NvidiaDetection(obsolete="./ubuntu-drivers-obsolete.pkgs")
543 #nv = NvidiaDetection()
544 # check if a binary driver is installed now
545 for oldDriver in nv.oldPackages:
546 if oldDriver in self and self[oldDriver].is_installed:
547 self.mark_remove(oldDriver, "old nvidia driver")
548 break
549 else:
550 logging.info("no old nvidia driver installed, installing no new")
551 return False
Unfortunately, the dist-upgrader tarball doesn't actually have "ubuntu-drivers-obsolete.pkgs" in it so nv.oldPackages is always empty and no old nvidia driver will be detected.
Looking at the log file we can see the following:
2018-05-21 09:55:56,514 DEBUG nvidiaUpdate()
2018-05-21 09:55:58,109 INFO no old nvidia driver installed, installing no new
Then looking at DistUpgradeCache from ubuntu- release- upgrader there is this:
540 # get new detection module and use the modalises files (obsolete= "./ubuntu- drivers- obsolete. pkgs") .is_installed: remove( oldDriver, "old nvidia driver")
541 # from within the release-upgrader
542 nv = NvidiaDetection
543 #nv = NvidiaDetection()
544 # check if a binary driver is installed now
545 for oldDriver in nv.oldPackages:
546 if oldDriver in self and self[oldDriver]
547 self.mark_
548 break
549 else:
550 logging.info("no old nvidia driver installed, installing no new")
551 return False
Unfortunately, the dist-upgrader tarball doesn't actually have "ubuntu- drivers- obsolete. pkgs" in it so nv.oldPackages is always empty and no old nvidia driver will be detected.