Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-30-2004, 07:09 AM   #1
LQ Newbie
Registered: Jan 2003
Posts: 13

Rep: Reputation: 0
Debian dist-upgrade problem


I have a problem with my Debian system. I'm using mostly testing packages, and I tried upgrading my system today:

# apt-get -u 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
x-window-system-core: Depends: xlibmesa-dri but it is not installed
Depends: xlibmesa-gl but it is not installed
Depends: xlibmesa-glu but it is not installed
E: Unmet dependencies. Try using -f.

I've tried installing the unstable versions:

# apt-get install libxft-dev/unstable xlibmesa-dri/unstable xlibmesa-gl/unstable xlibmesa-glu/unstable
Reading Package Lists... Done
Building Dependency Tree... Done
Selected version 2.1.2-6 (Debian:testing) for libxft-dev
Selected version 4.3.0-7 (Debian:testing) for xlibmesa-dri
Selected version 4.3.0-7 (Debian:testing) for xlibmesa-gl
Selected version 4.3.0-7 (Debian:testing) for xlibmesa-glu
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
xlibmesa-dri: Conflicts: xlibmesa3-gl but 4.2.1-12.1 is to be installed
xlibmesa-gl: Conflicts: libgl1
Conflicts: xlibmesa3-gl but 4.2.1-12.1 is to be installed
xlibmesa-glu: Conflicts: libglu1
Conflicts: xlibmesa3-glu but 4.2.1-12.1 is to be installed
xlibmesa3-gl: Conflicts: libgl1
xlibmesa3-glu: Conflicts: libglu1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I've tried the specified solution:

# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libxft-dev xlibmesa-dri xlibmesa-gl xlibmesa-glu
Suggested packages:
The following packages will be REMOVED:
xlibmesa3-gl xlibmesa3-glu
The following NEW packages will be installed:
xlibmesa-dri xlibmesa-gl xlibmesa-glu
The following packages will be upgraded:
1 upgraded, 3 newly installed, 2 to remove and 121 not upgraded.
55 not fully installed or removed.
Need to get 5582kB of archives.
After unpacking 3592kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 testing/main libxft-dev 2.1.2-6 [60.2kB]
Get:2 testing/main xlibmesa-gl 4.3.0-7 [242kB]
Get:3 testing/main xlibmesa-glu 4.3.0-7 [324kB]
Get:4 testing/main xlibmesa-dri 4.3.0-7 [4956kB]
Fetched 5582kB in 1s (3445kB/s)
(Reading database ... 55918 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:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can anybody help me?

Kind regards
Old 03-30-2004, 12:48 PM   #2
LQ Newbie
Registered: Mar 2004
Location: Mumbai, India
Distribution: Debian Sid
Posts: 14

Rep: Reputation: 0
Hi there,

This is what you do now.

Rename Xft.h and Xft1.h to Xft.h.old and Xft1.h.old respectively. And then do 'apt-get -f install'

I'm not too sure why this error comes... I got it on my system too, and it works fine now.

Old 11-09-2004, 10:34 PM   #3
LQ Newbie
Registered: Mar 2004
Location: Philippines
Distribution: Debian
Posts: 4

Rep: Reputation: 0
Thank You

Thank you siddhesh!

I've got the same problem with m0llbuz_ and tried your
suggestion. It somehow helped me. Thanks again.

Mark Vincent Verallo
Old 11-10-2004, 01:33 PM   #4
Senior Member
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
I don't know if i'm reading you correctly, you are on Sarge and want to dist-upgrade to Sid?

The usual procedure is :

Edit your /etc/apt/sources.list

and change them to read 'sid'

#apt-get update
#apt-get dist-upgrade

If OTOH, you just want to dist-upgrade WITHIN sarge,:

#apt-get update
#apt-get dist-upgrade



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem after dist-upgrade replika Debian 2 09-16-2004 05:10 PM
apt-get dist-upgrade problem (havnt done it in a while...) r3dhatter Debian 1 08-29-2004 01:16 AM
Createthread-Problem (Licq) after dist-upgrade teta Debian 1 08-04-2004 10:18 AM
Debian apt-get dist-upgrade vs RH? Preed Linux - Distributions 1 07-20-2003 07:11 AM
Debian dist-upgrade Guybrush Linux - Software 0 03-17-2003 12:23 PM

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration