Processed: Re: Bug#237509: libxft-dev: Upgrade fails because of divert file on /usr/X11R6/include/X11/Xft/Xft1.h isn't allowed
Processing commands for [EMAIL PROTECTED]: > tag 237509 + help Bug#237509: libxft-dev: Upgrade fails because of divert file on /usr/X11R6/include/X11/Xft/Xft1.h isn't allowed Tags were: sid Bug#237511: libxft-dev: Upgrade to 2.1.2-6 from 2.1.2-5 fails Tags added: help > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Bug#237509: libxft-dev: Upgrade fails because of divert file on /usr/X11R6/include/X11/Xft/Xft1.h isn't allowed
tag 237509 + help thanks On Thu, Mar 11, 2004 at 11:16:47PM +0100, Raphaël SurcouF Bordet wrote: > 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. I reported this problem -- which does not happen in every upgrade scenario -- to the debian-dpkg and debian-devel lists[1]. No one has yet replied. I am either using dpkg-divert wrong, in which case I require instruction from someone who knows how to use it better, or there is a bug in dpkg-divert. Another workaround is simply to move or delete /usr/X11R6/include/X11/Xft/Xft.h, getting it out of the way. [1] http://lists.debian.org/debian-devel/2004/debian-devel-200403/msg00651.html -- G. Branden Robinson| There's nothing an agnostic can't Debian GNU/Linux | do if he doesn't know whether he [EMAIL PROTECTED] | believes in it or not. http://people.debian.org/~branden/ | -- Graham Chapman signature.asc Description: Digital signature
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: [EMAIL PROTECTED], [EMAIL PROTECTED] (ignored: LC_ALL set to [EMAIL PROTECTED]) 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-dev2.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-4compression library - development -- no debconf information -- Raphaël "SurcouF" Bordet [EMAIL PROTECTED]