home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] apt-get errors



On Fri, Apr 02, 2004 at 03:04:55PM -0800, Tim Emerick wrote:
> 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)
> debian:~#

Hi Tim,

Here's what I did to fix that error.  Kill X and drop back to one of the
virtual consoles, then as root, do:

# mv /usr/X11R6/include/X11/Xft/Xft.h ~
# apt-get -f install

apt-get will replace Xft.h with the appropriate version, and all will be happy
in the world.  Let me know if this helps.

Thanks,

Matt



Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache