LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 04-15-2004, 10:08 AM   #1
mosca
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41

Rep: Reputation: 15
apt-get upgrade problems


Hi,

After running an upgrade, I have problems with apt-get and I'm suspecting that it has to do with the upgrade of X to 4.3. I get tons of dependency errors (around 42 - what an D. Adams coincidence!), and I am recommended as usual to try -f. Then I get the following:

blues:/home/j_lo# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
xlibmesa-gl xlibmesa-glu
Suggested packages:
libglide3
The following packages will be REMOVED:
xlibmesa3-glu
The following NEW packages will be installed:
xlibmesa-gl xlibmesa-glu
0 upgraded, 2 newly installed, 1 to remove and 71 not upgraded.
42 not fully installed or removed.
Need to get 0B/566kB of archives.
After unpacking 770kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 109681 files and directories currently installed.)
Unpacking xlibmesa-gl (from .../xlibmesa-gl_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/xlibmesa-gl_4.3.0-7_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libGL.so.1.2', which is also in package fglrx
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/xlibmesa-gl_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help is much appreciated. Neither my X or apt-get is working properly at the moment :-(.

Thanks in advance1
 
Old 04-15-2004, 12:51 PM   #2
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,013

Rep: Reputation: 47
try:

apt-get update
apt-get -f dist-upgrade

it will some packages to be installed but it won't. What it will do is reconfigure the packages. This is what i did yesterday.

hope this helps!
 
Old 04-15-2004, 01:39 PM   #3
mosca
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
Thank you very much for your suggestion. All packages updates well, except this xlibmesa:

Unpacking xlibmesa-gl (from .../xlibmesa-gl_4.3.0-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/xlibmesa-gl_4.3.0-7_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/lib/libGL.so.1.2', which is also in package fglrx
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/xlibmesa-gl_4.3.0-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 04-15-2004, 07:23 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 57
Use dpkg -i --force-overwrite /var/cache/apt/archives/xlibmesa-gl_4.3.0-7_i386.deb as root it will then overwrite the file from the other package which is holding it up and you will want to do a dpkg --configure -a as well to make sure that no packages were left unconfigured when the error occurred.
 
Old 04-16-2004, 02:17 AM   #5
mosca
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
Hi, thanks for your answer. Now it looks like xlibmesa needs libxext6 and (or?) xlibs. Do you think I should try to install them in the same way, using -i --force-overwrite?

Unpacking xlibmesa-gl (from .../xlibmesa-gl_4.3.0-7_i386.deb) ...
dpkg - warning, overriding problem because --force enabled:
trying to overwrite `/usr/X11R6/lib/libGL.so.1.2', which is also in package fglrx
dpkg: dependency problems prevent configuration of xlibmesa-gl:
xlibmesa-gl depends on libxext6 | xlibs (>> 4.1.0); however:
Package libxext6 is not configured yet.
Package xlibs is not configured yet.
dpkg: error processing xlibmesa-gl (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xlibmesa-gl
 
Old 04-17-2004, 03:32 AM   #6
mosca
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
Problem solved :-)
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Couple of problems after first apt-get upgrade fannymites Debian 3 03-01-2005 01:46 AM
apt-get upgrade problems timelord726 Linux - Software 9 08-13-2004 12:01 AM
After Apt-Get upgrade, problems with accessing root, and sub GunSkit Linux - Software 2 07-15-2004 09:36 AM
problems with apt-get upgrade in Debian unstable Boogieman Debian 8 05-13-2004 02:18 PM
apt-get upgrade problems seth_m Linux - General 0 11-17-2003 09:32 PM


All times are GMT -5. The time now is 02:05 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration