[opensuse-support] Clang update file "conflict"
Hi, I'm trying to update openSUSE Tumbleweed from 20200509 to current and got a lot of clang file conflicts like: ``` File /usr/bin/clang from install of clang9-9.0.1-10.3.x86_64 (openSUSE-20170510-0) conflicts with file from package clang10-10.0.0-1.2.x86_64 (@System) File /usr/bin/clang from install of clang9-9.0.1-10.3.x86_64 (openSUSE-20170510-0) conflicts with file from package clang8-8.0.1-8.3.x86_64 (@System) ``` But they are alternatives: ``` $ rpm -qf /usr/bin/clang clang8-8.0.1-8.3.x86_64 clang9-9.0.1-10.1.x86_64 clang10-10.0.0-1.2.x86_64 $ ll /usr/bin/clang lrwxrwxrwx 1 root root 23 кві 10 02:31 /usr/bin/clang -> /etc/alternatives/ clang ``` They shouldn't be in conflict. What is wrong? -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
* Mykola Krachkovsky <w01dnick@gmail.com> [05-15-20 09:24]:
Hi,
I'm trying to update openSUSE Tumbleweed from 20200509 to current and got a lot of clang file conflicts like: ``` File /usr/bin/clang from install of clang9-9.0.1-10.3.x86_64 (openSUSE-20170510-0) conflicts with file from package clang10-10.0.0-1.2.x86_64 (@System)
File /usr/bin/clang from install of clang9-9.0.1-10.3.x86_64 (openSUSE-20170510-0) conflicts with file from package clang8-8.0.1-8.3.x86_64 (@System) ```
But they are alternatives: ``` $ rpm -qf /usr/bin/clang clang8-8.0.1-8.3.x86_64 clang9-9.0.1-10.1.x86_64 clang10-10.0.0-1.2.x86_64 $ ll /usr/bin/clang lrwxrwxrwx 1 root root 23 кві 10 02:31 /usr/bin/clang -> /etc/alternatives/ clang ```
They shouldn't be in conflict. What is wrong?
saw the same, removed clang9 and saw no conflicts, next dup worked. apparently there is a package error, but ... and my solution may have not been the best/correct one but works for me. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
15.05.2020 15:46, Mykola Krachkovsky пишет:
Hi,
I'm trying to update openSUSE Tumbleweed from 20200509 to current and got a lot of clang file conflicts like: ``` File /usr/bin/clang from install of clang9-9.0.1-10.3.x86_64 (openSUSE-20170510-0) conflicts with file from package clang10-10.0.0-1.2.x86_64 (@System)
File /usr/bin/clang from install of clang9-9.0.1-10.3.x86_64 (openSUSE-20170510-0) conflicts with file from package clang8-8.0.1-8.3.x86_64 (@System) ```
But they are alternatives: ``` $ rpm -qf /usr/bin/clang clang8-8.0.1-8.3.x86_64 clang9-9.0.1-10.1.x86_64 clang10-10.0.0-1.2.x86_64 $ ll /usr/bin/clang lrwxrwxrwx 1 root root 23 кві 10 02:31 /usr/bin/clang -> /etc/alternatives/ clang ```
They shouldn't be in conflict. What is wrong?
Probably something changed in clang9 package update. Files owned by multiple packages must have identical attributes in each package.
participants (3)
-
Andrei Borzenkov
-
Mykola Krachkovsky
-
Patrick Shanahan