Re: Activer une option de apt ?
Erwan David <erwan@rail.eu.org> a écrit :
> Si je veux upgrader j'ai ce message :
>
> dpkg: regarding .../coreutils_4.5.1-1_i386.deb containing coreutils:
> fileutils conflicts with stat
> coreutils provides stat and is to be installed.
> dpkg: error processing
> /var/cache/apt/archives/coreutils_4.5.1-1_i386.deb (--unpack):
> conflicting packages - not installing coreutils
> Errors were encountered while processing:
> /var/cache/apt/archives/coreutils_4.5.1-1_i386.deb
> E: This installation run will require temporarily removing the essential
> package fileutils due to a Conflicts/Pre-Depends loop. This is often
> bad, but if you really want to do it, activate the APT::Force-LoopBreak
> option.
> E: Reverse conflicts early remove for package 'coreutils' failed
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> Je veux bien activer cette option, d'autant que coreutils remplace
> fileutils, shellutils et textutils, mais je n'ai pas trouver comment faire
> (elle n'est pas citée dans les man de apt-get ou apt, pas plus que dans
> /usr/share/doc/apt/**/*(.))
# echo "APT::Force-LoopBreak "yes" >> /etc/apt/apt.conf
(à faire en étant root).
--
Julien Gilles.
Reply to: