Gentoo : portage et collision de fichiers

Boris HUISGEN
|
Portage possède une détection de collision de fichiers, empêchant toute modification de fichiers par un package différent de celui dont les fichiers ont été initialement installés. Parfois, il est nécessaire de désactiver cette protection.
La détection de collisions est détectée et signalée par le retour suivant :
>>> Installing sys-libs/timezone-data-2009c
* checking 1712 files for package collisions
1000 files checked ...
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). Once again, please do NOT file
* a bug report unless you have completely understood the above message.
*
* Detected file collision(s):
*
* /usr/bin/tzselect
* /usr/sbin/zic
* /usr/sbin/zdump
* /usr/share/zoneinfo/GB
*
* Package 'sys-libs/timezone-data-2009c' NOT merged due to file
* collisions. If necessary, refer to your elog messages for the whole
* content of the above message.
Pour permettre l’installation du package timezone-data, l’option suivante est requise :
# COLLISION_IGNORE="/usr" emerge -av timezone-data