LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   package collision while install vtk (https://www.linuxquestions.org/questions/linux-newbie-8/package-collision-while-install-vtk-4175621087/)

rangora 01-06-2018 09:34 AM

package collision while install vtk
 
i type this 'sudo yum install vtk' in terminal for install vtk
but the prompt show massage
/usr/lib/rpm/macros.d/macros.cmake pile that is installed by cmake-rpm-macros-3.10.1-4.fc26.noarch collide with cmake-data-3.9.1-1.fc26.noarch pile.
(sorry for the interpretation i'm not english)
shoud i remove one? what should i do?
and i'm using fedora26
-------------------------------------
it is simple problem that just was solved to update cmake.

jsbjsb001 01-06-2018 10:47 AM

Quote:

Originally Posted by rangora (Post 5802944)
i type this 'sudo yum install vtk' in terminal for install vtk
but the prompt show massage
/usr/lib/rpm/macros.d/macros.cmake pile that is installed by cmake-rpm-macros-3.10.1-4.fc26.noarch collide with cmake-data-3.9.1-1.fc26.noarch pile.
(sorry for the interpretation i'm not english)
shoud i remove one? what should i do?
and i'm using fedora26

While I have not seen this type of error before;

It seems from my understanding (if correct) that you have a file that has already been installed by one package, and another package for the same thing is trying to overwrite the same file; but can't because it's actually owned by the original package - if that makes sense.

In this particular case it seems your trying to install the vtk package, but this requires an newer version of the cmake package, but you have a lower version of the cmake package installed.

The problem is that if you try removing the older version of cmake, other package dependencies may well be affected in turn and you end up with more problems, than what you originally had - if that once again makes sense.

I think the best option in this case would be to try installing Fedora 27. Backup any data you wish to keep beforehand.

The following may explain the problem your having, better than I can: https://unix.stackexchange.com/quest...file-collision


All times are GMT -5. The time now is 01:17 AM.