You are not logged in.
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
1. Partial updates are unsupported. Never run pacman -Sy to install something.
2. Where did that file come from?
Online
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
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
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