Hi everyone,
I have encountered this problem trying to upgrade from cuda 10.1 update 2 to cuda 10.2 on a RHEL7.6 machine (in reality it is Scientific Linux 7.6):
file /usr/lib/.build-id/29/03e046fa25cd049e093c3a8a9192e91e9b212e from install of nsight-compute-2019.5.0-2019.5.0.14-1.x86_64 conflicts with file from package nsight-compute-2019.4.0-2019.4.0.12-1.x86_64
file /usr/lib/.build-id/34/aac32bb4d3c0f44e72e57cf253a871240a1154 from install of nsight-compute-2019.5.0-2019.5.0.14-1.x86_64 conflicts with file from package nsight-compute-2019.4.0-2019.4.0.12-1.x86_64
file /usr/lib/.build-id/80/916a3578c4abf8d9433986b7ca87ee58797eb5 from install of nsight-compute-2019.5.0-2019.5.0.14-1.x86_64 conflicts with file from package nsight-compute-2019.4.0-2019.4.0.12-1.x86_64
file /usr/lib/.build-id/b7/4e6beb75ab46ddc2c65d78b4d3e6de3b4eb493 from install of nsight-compute-2019.5.0-2019.5.0.14-1.x86_64 conflicts with file from package nsight-compute-2019.4.0-2019.4.0.12-1.x86_64
file /usr/lib/.build-id/ea/6a2369dae8e186543b5e0fa413cb7ee7058c84 from install of nsight-compute-2019.5.0-2019.5.0.14-1.x86_64 conflicts with file from package nsight-compute-2019.4.0-2019.4.0.12-1.x86_64
This is a packaging error, the files from /usr/lib/.build-id don’t belong into the package at all and this error prevents the parallel installation of nsight-compute-2019.4.0 and nsight-compute-2019.5.0.
This way, cuda 10.2 cannot be installed as an upgrade to 10.1u2, only a fresh installation is possible, cuda 10.1u2 must be completely removed before installing 10.2.