How to upgrade to Ubuntu 20.04 while keeping lambda stack?

That is from a few years ago but works for removal, and the script should be used for the install.
How do I remove and reinstall Lambda Stack? | Lambda Docs

Is the instructions. It will work for Ubuntu 20.04 LTS or Ubuntu 22.04 LTS (either desktop or server). There could be other packages that were manually installed the conflict, or were configured to be held ‘apt-mark showhold’ for example.

It likely would require going through the ‘dpkg --list’ to see what is installed and conflicts. But this should work unless there are other conflicts.

Also it may be what you mean by ‘That didn’t seem to work’.
$ nvidia-smi
*That is the test

  • PyTorch, TensorFlow - those are often local environment issues (pip).