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

Bug#237509: libxft-dev: Upgrade fails because of divert file on /usr/X11R6/include/X11/Xft/Xft1.h isn't allowed



Package: libxft-dev
Version: 2.1.2-5
Severity: important
Tags: sid

When upgrading libxft-dev from 2.1.2-5 to 2.1.2-6,
I'm getting this following output on preinst:
...
(Reading database ... 118101 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)
...

Work around by install this package using dpkg directly.

Best regards,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (989, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-chaos-686
Locale: LANG=fr_FR.UTF-8@euro, LC_CTYPE=fr_FR.UTF-8@euro (ignored:
LC_ALL set to fr_FR.UTF-8@euro)

Versions of packages libxft-dev depends on:
ii  libc6-dev [libc-dev]        2.3.2.ds1-11 GNU C Library: Development
Librari
pn  libfontconfig1-dev                       Not found.
ii  libfreetype6-dev            2.1.7-2      FreeType 2 font engine,
developmen
pn  libxft2                                  Not found.
ii  libxrender-dev              0.8.3-7      X Rendering Extension
client libra
ii  xlibs-dev                   4.3.0-5      X Window System client
library dev
ii  zlib1g-dev [libz-dev]       1:1.2.1-4    compression library -
development

-- no debconf information

-- 
Raphaël "SurcouF" Bordet
surcouf@choranche.grotte.org




Reply to: