[nmglug] apt-get errors

Tim Emerick timothyemerick at yahoo.com
Fri Apr 2 15:04:55 PST 2004


I am having difficulties with apt-get on my Debian 3.0/unstable machine.  

I was doing an "apt-get dist-upgrade" via ssh.  My remote PC locked up and
the ssh tunnel closed.  I created a new tunnel and did an "apt-get
dist-upgrade" and apt-get choked.  Told me to try "apt-get -f install" which
I did but it is still choking.  Here's the output.  Please help.

debian:~# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
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.
debian:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
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 148 not upgraded.
174 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] y
(Reading database ... 52203 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)
debian:~#


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/




More information about the nmglug mailing list