[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libxft-dev problem



Hervé Piedvache wrote:
Have you find any solution ... ? same trouble here ... :o(

Thanks !

Le vendredi 12 Mars 2004 17:24, quirin a écrit :

during apt-get upgrade i encountered the following problem with
libxft2-dev. (i use sid)
<snip>
(Reading database ... 191853 files and directories currently installed.)
Preparing to replace libxft-dev 2.1.2-5
(using .../libxft-dev_2.1.2-6_i386.deb) ...
diversion of /usr/X11R6/include/X11/Xft/Xft.h
to /usr/X11R6/include/X11/Xft/Xft1.h by libxft-dev
Removing `diversion of /usr/X11R6/include/X11/Xft/Xft.h
to /usr/X11R6/include/X11/Xft/Xft1.h by libxft-dev'
dpkg-divert: rename involves overwriting `/usr/X11R6/include/X11/Xft/Xft.h'
with
 different file `/usr/X11R6/include/X11/Xft/Xft1.h', not allowed
dpkg: error processing /var/cache/apt/archives/libxft-dev_2.1.2-6_i386.deb
(--unpack):
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libxft-dev_2.1.2-6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

so far i wasn't able to fix this problem on my computer. does anyone have
an idea how to deal with that?


I managed to get it installed properly by doing this:
# dpkg --ignore-depends=libxft-dev -r libxft-dev
# apt-get install -f

Regards,


Felix

--
Felix C. Stegerman

the QuiX project - Open Source Software Development
E-Mail: quix@free.fr
Web:    http://www.quix.tk/



Reply to: