You are not logged in.

#1 2016-09-30 23:47:48

juego
Member
Registered: 2015-04-13
Posts: 41
Website

[Solved] Error upgrading cuda-8.0

Trying to upgrade to cuda-8.0.44-1

$ LC_ALL=C sudo pacman -Sy cuda
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
resolving dependencies...
looking for conflicting packages...

Packages (1) cuda-8.0.44-1

Total Installed Size:  2136.30 MiB
Net Upgrade Size:       389.19 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                    [####################################] 100%
(1/1) checking package integrity                                  [####################################] 100%
(1/1) loading package files                                       [####################################] 100%
(1/1) checking for file conflicts                                 [####################################] 100%
error: failed to commit transaction (conflicting files)
cuda: /opt/cuda/lib64/libOpenCL.so.1 exists in filesystem
Errors occurred, no packages were upgraded.

I do have cudNN installed also. Is that why it could be conflicting?

Last edited by juego (2016-10-01 22:53:24)

Offline

#2 2016-09-30 23:57:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,553

Re: [Solved] Error upgrading cuda-8.0

1. Partial updates are unsupported. Never run pacman -Sy to install something.
2. Where did that file come from?

Online

#3 2016-10-01 00:36:40

juego
Member
Registered: 2015-04-13
Posts: 41
Website

Re: [Solved] Error upgrading cuda-8.0

Scimmia wrote:

1. Partial updates are unsupported. Never run pacman -Sy to install something.
2. Where did that file come from?

1. Sorry, my bad. Actually I never do it like this. It's just that I wanted to isolate the package that is causing the problem for this report. The rest of the system upgrade was irrelevant.
2. I don't know how to find this information.

Update: 2. That package was installed with cuda.

$ pacman -Ql | grep libOpenCL
cuda /opt/cuda/lib64/libOpenCL.so

Update2: My bad again... This is not the same file. I don't know where libOpenCL.so.1 comes from.

Last edited by juego (2016-10-01 00:49:11)

Offline

#4 2016-10-01 15:55:41

jean_no
Member
Registered: 2007-09-18
Posts: 48

Re: [Solved] Error upgrading cuda-8.0

Hello

I had the same problem

libOpenCL.so.1 is a symlink to libOpenCL.so

You just have to remove /opt/cuda/lib64/libOpenCL.so.1 and redo pacman -Syu

A+

Offline

#5 2016-10-01 22:52:35

juego
Member
Registered: 2015-04-13
Posts: 41
Website

Re: [Solved] Error upgrading cuda-8.0

jean_no wrote:

libOpenCL.so.1 is a symlink to libOpenCL.so

You just have to remove /opt/cuda/lib64/libOpenCL.so.1 and redo pacman -Syu

Thanks for pointing that out. Indeed it solved the problem.

Offline

Board footer

Powered by FluxBB