Broken packages in Synaptic
Posts: 3
I been using Mepis 6.5 and every time I try and start Synaptic or install a program with apt-get it keeps giving a message I have 2 Broken Packages. I found the 2 broken packages they are libc6-dev and libc6-i386 but can't remove them Synaptic won't fix or remove them and apt-get keeps saying to run -f install but keeps giving a error message. Can somebody please let me know how I can fix the 2 broken packages so I can start using Synaptic or apt-get again.
thank you.
Thank you for your reply and
Posts: 3
Thank you for your reply and link EnigmaOne very grateful for it. I had a read of it and was hopping it might be the answer to solve my problem. I did give it a try but sadly for me it didn't work.
When I run apt-get -f install I end up with this message
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.6-0ubuntu20.4) but 2.6-2 is installed
libc6-i386: Depends: libc6 (= 2.3.6-0ubuntu20.4) but 2.6-2 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
It might give you a better idea of whats the problem
Thank you for your help EnigmaOne
Ummm, libc6 doesn't hit the
Posts: 365
Ummm, libc6 doesn't hit the 2.6 series until Gutsy Gibbon - 3 dist-versions ahead of the Dapper repos 6.5 uses. That means you have upgraded your libc6 from some repository basically incompatible with Mepis 6.5
You may be able to downgrade your libc6 if you go back to just the Dapper & Mepis repos - but I suspect you upgraded it to get some particular application program to install and downgrading will break that app.
I wouldn't expect the system to be fully stable in its current configuration. It may be OK but libc6 is one of those basic parts of a system you nail down along with the kernel before you integrate anything else. Upgrading it that far is iffy.
I'm assuming your using
Posts: 45
I'm assuming your using 64bit version of mepis 6.5, If so I think you might want to try the following:
Download the following files:
http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.3.6-0ubuntu20.5_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.3.6-0ubuntu20.5_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-i386_2.3.6-0ubuntu20.5_amd64.deb
then from the command line as root (make sure you open konsole in the directory where you downloaded them):
dpkg -i --force-overwrite libc6_2.3.6-0ubuntu20.5_amd64.deb
dpkg -i --force-overwrite libc6-dev_2.3.6-0ubuntu20.5_amd64.deb
dpkg -i --force-overwrite libc6-i386_2.3.6-0ubuntu20.5_amd64.deb
Then do a apt-get -f install and post back the results.
Thank you very much for your
Posts: 3
Thank you very much for your replys and help kmathern, timkb4cq and EnigmaOne.
Yes I'm using the 64bit version of mepis 6.5 and been very happy using Mepis. I was trying to install a program and it needed the libc6 and after searching on the net I found it, not knowing it was the wrong version for my distro and ended up breaking Synaptic. kmathern thank you your suggestion worked perfect and after I tried it Synaptic was working again. Then I did apt-get -f install and came up with a lot of updates so I ran them and everything was looking OK till I rebooted and could't start xserver and when trying to reconfigure xserver-org it was coming up with a error message saying that it was broken.
So in the end I formatted my HD and reinstalled Mepis and everything is back to normal.I always back my files up just in case I break something and need to reinstall. Im still new to Linux and learnt something new, don't try and install any programs not on apt-get or Synaptic till I know more about Linux and how it works.
Like the thank all of you and very grateful for your time and help, Its a great forum and been learning lots from reading all the topics.
Since I'm headed out the
Posts: 1634
Since I'm headed out the door at the moment, I'll make it fast and recommend that you take a look here ( http://www.mepis.org/node/13912 ) to see if there's some help in that thread for you.
How's my posting?
Please call: 1-800-DEV-NULL