LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

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

Rep: Reputation: 0
Debian dist-upgrade problem


Hi!

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:
libglide3
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:
libxft-dev
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 http://kalle.csb.ki.se testing/main libxft-dev 2.1.2-6 [60.2kB]
Get:2 http://kalle.csb.ki.se testing/main xlibmesa-gl 4.3.0-7 [242kB]
Get:3 http://kalle.csb.ki.se testing/main xlibmesa-glu 4.3.0-7 [324kB]
Get:4 http://kalle.csb.ki.se 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:
/var/cache/apt/archives/libxft-dev_2.1.2-6_i386.deb
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
siddhesh
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.

Siddhesh
 
Old 11-09-2004, 10:34 PM   #3
vincery
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
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 51
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

APT-HOWTO
http://www.debian.org/doc/manuals/ap.../index.en.html
 
  


Reply


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 12:27 PM.

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