Help! update - upgrade Problem
can anyone help me with this?
I did an apt-get update, apt-get upgrade a few days ago on my testing system
and ran into the following problem with libxft-dev. I tried removing the kde
and qt -dev stuff since I don't need it anymore, but apt-get won't allow it.
Help! I can't install anything anymore.
Chris
k6:~# apt-get -u upgrade
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
libxft-dev: Depends: libxft2 (= 2.1.2-5) but 2.1.2-6 is installed
E: Unmet dependencies. Try using -f.
k6:~# apt-get -f install
The following extra packages will be installed:
libxft-dev
The following packages will be upgraded:
libxft-dev
1 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
115 not fully installed or removed.
Need to get 0B/60.2kB of archives.
After unpacking 4096B disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 87492 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)
k6:~# exit
exit
Script done on Fri Apr 2 07:44:47 2004
--
Dr.-Ing. C. Hurschler
Bodenstedtstr. 13
D-30173 Hannover
Reply to: