LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-18-2004, 08:41 AM   #1
xymian
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Rep: Reputation: 0
libc6 trying to overwrite lib64 apt-get error


I have a problem with apt-get and libc6.

Today I finally got some free time to try to get my new-ish Debian box set up. I was trying to install the nvidia driver and ran into lots of set-backs. The directions on the nvidia site didn't work (for me) so I tried to apt-get install all of the nvidia .deb files. Along the way I updated and upgraded the whole system with apt-get. I am not sure where things went wrong in all of that, but now apt-get won't do anything but complain about libc6.

Here is the relevant part that describes the problem from apt-get:

Preparing to replace libc6 2.3.2.ds1-18 (using libc6 2.3.2.ds1-19.0.0.1.pure64_amd64.deb) ...
Unpacking replacemtn libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6 2.3.2.ds1-19.0.0.1.pure64_amd64.deb (--unpack):
trying to overwrite '/usr/lib64', which is also in package base-files
Errors were encountered while processing:
/var/cache/apt/archives/libc6 2.3.2.ds1-19.0.0.1.pure64_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am running Debian sid AMD64 port (on an AMD 3500+). I have searched the web for information or help but found nothing. I have tried
apt-get -f install
apt-get -u dselect-upgrade

I have tried to upgrade base-files. I have tried to downgrade libc6 (I know it isn't a good idea). And I have even tried to remove either libc6 or base-utils (probably a stupid move if it had worked). I have tried dozens of things for the past few hours and still get the same error messages. Can anyone give me some help in getting things back to normal?
 
Old 12-19-2004, 09:56 PM   #2
xymian
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Original Poster
Rep: Reputation: 0
I am responding to myself here.... I have managed to solve my problem (detailed above) so I thought I should write explain in case others have the same problem.

libc6 and base-files are very imporant packages so even if I could have removed either of them it would totally screw up my box and make it unworkable. The problem in my case is a bug where both of these packages are trying to update lib64. I found some information plus a solution at this link, along with the responses:

http://lists.debian.org/debian-amd64.../msg00366.html

Since I have a pure64 system it is safe to do a force-overwrite like this:

dpkg --force-overwrite -i /var/cache/apt/archives/libc6_2.3.2.ds1-19.0.0.1.pure64_amd64.deb

(Actually the first time I typed this it didn't work - clumsy fingers perhaps. But the second time with tab-completion on the file name it worked.)

Hope this is clear enough.
 
Old 12-20-2004, 01:05 PM   #3
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Rep: Reputation: 15
I had the same problem on my machine a few days ago. The packages must have been recently updated, cause I did another apt-get dist-upgrade and it upgraded everything without the error.
 
  


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
dpkg: error processing libc6 (--configure) spid3r DamnSmallLinux 1 10-18-2005 03:53 PM
Error: libstdc++-libc6.2-2 .so.3 ceenu99 Linux - Software 2 07-14-2005 11:53 PM
libc6 upgrade error SiQDiZ Debian 3 08-12-2004 10:21 AM
Error regarding libstdc++-libc6.1-2.so.3 kirti Linux - Software 7 06-11-2004 01:45 AM
error installing libc6: cant overwrite devpts Mishkinman Linux - Software 1 04-07-2004 04:18 PM


All times are GMT -5. The time now is 11:37 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration