LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-04-2009, 10:25 AM   #1
kedar.mhaswade
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Question sudo apt-get -f install always fails for glibc upgrade ...


I somehow landed into this situation (don't really remember how), but no package installation/removal seems to be possible for me. Neither apt-get -f install or autoremove seems to work.

When I do: sudo apt-get -f install I see the following:

- uname -a: Linux konnichiwa 2.6.27-11-generic #1 SMP Wed Apr 1 20:53:41 UTC 2009 x86_64 GNU/Linux (Jaunty 9.04, Ubuntu)
- Configuring libc6 screen with <yes>, <no> appears.
- Click on <yes>.
- It fails with this error:

Code:
konnichiwa% ruby apt-get install -f
ruby: No such file or directory -- apt-get (LoadError)
konnichiwa% ruby apt-get -f install
ruby: No such file or directory -- apt-get (LoadError)
konnichiwa% sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 1025 not upgraded.
1 not fully installed or removed.
Need to get 0B/4776kB of archives.
After this operation, 217kB disk space will be freed.
Do you want to continue [Y/n]? 
Preconfiguring packages ...
(Reading database ... 146055 files and directories currently installed.)
Preparing to replace libc6 2.8~20080505-0ubuntu9 (using .../libc6_2.9-23_amd64.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.9-23_amd64.deb (--unpack):
 trying to overwrite `/usr/bin/locale', which is also in package belocs-locales-bin
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.9-23_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 08-05-2009, 03:08 AM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,703

Rep: Reputation: Disabled
It looks like you need to remove the belocs-locales-bin package. I would recommend you use aptitude instead of apt-get. You can do a search on this site to get the reasons for this. Also if you do switch don't go back to apt-get. That said:
Code:
sudo aptitude purge belocs-locales-bin
and then try installing your libc6 package again.
cheers,
jdk
 
Old 08-06-2009, 01:19 AM   #3
kedar.mhaswade
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, jdk. I ended up upgrading to jaunty which after quite some quirks seems to have worked. I will keep "aptitude purge" in mind.

Thanks, again!

-Kedar
 
Old 08-06-2009, 02:48 AM   #4
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,703

Rep: Reputation: Disabled
Hi Kedar,
If you are happy with jaunty then I am happy.
cheers,
jdk
 
  


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
E:Package Not found:The error i get on :sudo apt-get install kde phpserver Ubuntu 2 02-14-2009 02:14 PM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM
sudo apt-get upgrade CMXILies Linux - Newbie 3 01-09-2009 07:59 PM
Where do apps get installed to when doing a sudo apt-get install ? anjanesh Ubuntu 5 06-18-2008 04:16 PM
Question about 'apt-get upgrade' versus 'apt-get install' eur0dad Red Hat 8 07-16-2006 05:41 PM


All times are GMT -5. The time now is 03:15 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