DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I did an apt-get upgrade on my box, and got all sorts of unusual errors, like things just uninstalled themselves (or atleast removed from the apt database) and i could use a bit of help fixing these
Code:
debian:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
Sorry, but the following packages have unmet dependencies:
libdb1-compat: Depends: libc6 (>= 2.2.5-13) but it is not installed
E: Unmet dependencies. Try using -f.
debian:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
The following NEW packages will be installed:
libc6
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 packages not fully installed or removed.
Need to get 0B/4895kB of archives. After unpacking 15.9MB will be used.
Do you want to continue? [Y/n] y
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 18 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.2.ds1-19_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-19_i386.deb (--un
pack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.2.ds1-19_i386.deb
localepurge: processing locale files ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:~#
This all started after an apt-get update failed and was resolved (it seems the security list was bad or something and made it all go fubar?) so now, i need to repair the sys without a reinstall, and soon so i can get things up and running properly again (it was supposed to be ready last fri, but things came up)
I know debconf is installed, as is libc6, how could i rebuild the database so it will fix these?
never heard of it, but what ive seen refers it to being for x, and the box doesnt have x at all (nor will it) but that source may be wrong. I am looking for the best fix for this though (least amount of work prefered, chances of biting me later as low as possible)
Well, I tried that, came out missing the same things apt-get claimed to be missing. I then updated the locate db, and did a locate for them, and all were there, yet neither program could use them.
well, as i look more and more, it seems as if the system forgot how to use glibc6 compleatly... and i cant compile the required files, it freaks at me and dies... :/
Im running into the option of reinstall over the top to reset the glibc if i cant get it fixed
at the point your at, something is (obviously) seriously wrong with your system, if were my box, I'd backup what ever valuable data. and reformat, provided that you can ensure that you are able to obtain (and burn) new iso images (or however you installed). Also if you are using sid... well it can break so don't be surprised.
yeah, im using sid, it all happened after an update off it. Well, looks like its backup time... good thing I seperated the user dir on its own partition
Ok, i fixed it, it was a hasle though. the problem was that debconf lost its version number, once that happened all hell broke loose (how it lost it ill never know) so i faked a version number in the file as 1.0 and updated it
after that i reinstalled base-files, then fixed some errors by copying files places to fake them (though the files existed, just not where they wanted them to be). slowly ill rebuild what it knows about, but if i was logging all of that i would show you exactly what i went though, but it wasnt cool at all. and now things are working properly again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.