[nmglug] apt-get errors

Tim Emerick timothyemerick at yahoo.com
Fri Apr 2 15:49:37 PST 2004


Thanks Jason.  I had to delete a file on the advice of a nmlug user but
between the both of you I got it fixed.  Thanks!!!

--------------------other response-----------------
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

--- Jason Davis <jd at tapoot.bz> wrote:
> try
> dpkg --purge --force-all libxft2
> 
> then
> 
> apt-get -f install
> 
> then 
> 
> apt-get update && apt-get upgrade
> 
> good luck
> jd
> 
> 
> On Fri, 2004-04-02 at 16:04, Tim Emerick wrote:
> > 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/
> > 
> > _______________________________________________
> > nmglug mailing list
> > nmglug at nmglug.org
> > http://www.nmglug.org/mailman/listinfo/nmglug
> 
> 
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug


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




More information about the nmglug mailing list