PDA

View Full Version : Upgrade fails



py-ohayo
March 11th, 2020, 08:22 PM
Hello,

While executing an upgrade I get the following message:

https://i.postimg.cc/631SPLC8/Screenshot-from-2020-03-11-16-34-37.png

How to resolve the problem ?

Thanks

mörgæs
March 12th, 2020, 07:00 AM
Your screenshot shows two suggestions. I don't have better ideas than what's already posted.

py-ohayo
March 12th, 2020, 11:24 AM
Does 1st suggestion mean that I have to uncheck "brown-color" cases here:

https://i.postimg.cc/Twz0YPKq/Screenshot-from-2020-03-12-11-20-46.png

Also, I did not understand what is the second suggestion

ajgreeny
March 12th, 2020, 11:37 AM
Are you trying to upgrade from one version of Ubuntu to the next, eg from 19.04 to 19.10, or is this just upgrading the packages on your system?

If you are trying the first you must disable all PPA repositories, including any graphics driver PPAs, which I believe is what you have; I've never used an Nvidia card so I'm not completely sure if that's so, but it looks that way to me.

Disable those three items shown and try the upgrade again. After that you can investigate those PPAs again.

py-ohayo
March 12th, 2020, 12:08 PM
I want to just upgrade package, not Ubuntu version (BTW I have 18.04).
To do this I click on the new icon that regularly appears since yesterday on the top of screen (please see screenshot below): red circle with white line.

https://i.postimg.cc/DyShNvsf/Screenshot-from-2020-03-12-12-02-17.png

I've tried to uncheck these 3 items, but I couldn't !
I click on them, but nothing happens.

dino99
March 12th, 2020, 12:47 PM
Why having two cuda entries enabled ? This might reveal some conflict against the used nvidia driver.

Purge them and reinstall nvidia only; If your problem is gone, also do the second step: apply the compatible cuda version.

py-ohayo
March 12th, 2020, 01:03 PM
First I've installed 418 version of the driver by following some manual.
Then I realized that 418 is not compatible with my CUDA version.
That's why I've installed 440 version, which is Ok with my CUDA 10.2.
Can you suggest how do deinstall just 418 ?
Thanks

ajgreeny
March 12th, 2020, 08:45 PM
Can you suggest how do deinstall just 418 ?
Thanks
That will depend on how you installed it by "following some manual".

What manual was that and what did you actually do when following the manual; we really can't help as you've not told us enough so far.

py-ohayo
March 13th, 2020, 09:03 AM
Here it is:

https://www.pyimagesearch.com/2019/12/09/how-to-install-tensorflow-2-0-on-ubuntu/

The relevant part of this long manual is titled "Step # 2 (GPU only): Install NVIDIA drivers, CUDA, and cuDNN"
But this tutorial is based on CUDA 10.1, and it suggests to install version 418 of NVIDIA drivers.
At that time I already had CUDA 10.2 installed.
As I learned later on the NVIDIA site, CUDA 10.2 is compatible with version 440 of NVIDIA drivers.
So I installed 440.