Re: Problem installing libxft-dev from Sarge
On Thu, 08 Apr 2004 15:43:58 -0500
hugo vanwoerkom <hvw59601@care2.com> wrote:
> Martin D. Weinberg wrote:
> > I get:
> >
> > dpkg -i /data/weinberg/libxft-dev_2.1.2-6_i386.deb
> > (Reading database ... 148677 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 /data/weinberg/libxft-dev_2.1.2-6_i386.deb (--install):
> > subprocess pre-installation script returned error exit status 2
> > Errors were encountered while processing:
> > /data/weinberg/libxft-dev_2.1.2-6_i386.deb
> >
> >
> > Does anybody know how to fix this?
> >
> > TIA!
> >
> >
>
> Rename the file. Why are you using dpkg instead of apt-get?
>
Thanks folks, yes, renaming is the answer.
I usually use aptitude or apt-get. I only resorted to dpkg after
downloading the *.deb file from the repository by hand so that I could try
it separately.
Reply to: