The error your log shows is a duplicate of bug 2110338
You should remove the 470 driver before attempting to install a newer version:
sudo apt purge *470*
** Changed in: nvidia-graphics-drivers-470 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2117531
Title:
package nvidia-dkms-470 (not installed) failed to install/upgrade: il
sottoprocesso installato pacchetto nvidia-dkms-470 script post-
installation ha restituito lo stato di errore 10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/2117531/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs