E: Internal Error, Could not perform immediate configuration

Help with issues regarding installation of Debian
Post Reply
Message
Author
ssffzzxx
Posts: 8
Joined: 2009-06-23 07:38

E: Internal Error, Could not perform immediate configuration

#1 Post by ssffzzxx »

Dear All,
I have ubuntu 5.04, when i tried to upgrade the version , i got:

E: Internal Error, Could not perform immediate configuration (2) on libc6

This error also appear when i tried to install clamav.

Could anyone please help me how to solve this problem?
Your help will be so much appreciated.

Best Regards

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: E: Internal Error, Could not perform immediate configuration

#2 Post by edbarx »

Although this is not an Ubuntu forum, I will attempt to give you some ideas as to how you can solve your problem. Last year, I corrupted lbc6 and succeeded to repair it although I was suggested to reinstall. I used dpkg as a last resort.

Did you try to run as ROOT (in Ubuntu you use su)

Code: Select all

apt-get install -f
When you do it, post me the error message.

This command will instruct the package manager to try to do any repairs it can automatically handle. Hopefully, it works. If not, you have still more chances... :)
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

ssffzzxx
Posts: 8
Joined: 2009-06-23 07:38

Re: E: Internal Error, Could not perform immediate configuration

#3 Post by ssffzzxx »

Hi Edbarx,
Thank for your prompt reply,
Yes this is not ubuntu forum, but as i found difficulties to resolve this issue, than i post this issue here :)

I have issued the command:
apt-get install -f
Here the result:
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.

I also issued command like this below:
apt-get dist-update -f
Here is the result:
...
162 upgraded, 77 newly installed, 10 to remove and 1 not upgraded.
Need to get 0B/139MB of archives.
After unpacking 242MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
E: Internal Error, Could not perform immediate configuration (2) on libc6
root@ubuntu:~ #

Previously I also tried to install:
apt-get build essential
apt-get install libc6-dev

But still i can't install or update the distribution.

Thanks in advance for your help.
Do you have any other idea?

Best Regards

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: E: Internal Error, Could not perform immediate configuration

#4 Post by edbarx »

Last time I had exactly the same error and I succeeded to repair libc6. I used dpkg to force an reinsall of libc6. Do you want to try it and give me the error, please? Most probably, it will be a circular dependency.

Here is the command:

Code: Select all

dpkg -i libc6_xxxx.deb
Check your version of libc6, download its .deb package, cd to the directory where you will save the .deb file, and run the command above. Hopefully, it tells us what is the problem. :)
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

ssffzzxx
Posts: 8
Joined: 2009-06-23 07:38

Re: E: Internal Error, Could not perform immediate configuration

#5 Post by ssffzzxx »

Dear edbarx,
Many thanks.

I opened the var/cache/apt/archives, and i found:
libc6_2.9-4ubuntu6_i386.deb
libc6-dev_2.9-4ubuntu6_i386.deb
libc6-i686_2.9-4ubuntu6_i386.deb

is it the correct one?
if it is not, can you please thell me which files that i should replace with?

Best Regards

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: E: Internal Error, Could not perform immediate configuration

#6 Post by edbarx »

If you have synaptic installed, you can see which version is installed. It is very important that we install the correct one, otherwise the breakage will spread.

This is the program I am talking about:
http://people.ubuntulinux.org/~mako/doc ... -start.png
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

ssffzzxx
Posts: 8
Joined: 2009-06-23 07:38

Re: E: Internal Error, Could not perform immediate configuration

#7 Post by ssffzzxx »

Hi..
Many thank for supporting me :)
unfortunately, i use text mode, i didn't install GUI in my server..
So i have to figure it out how to resolve this issue manually... :(

Many thanks

Best Regards

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: E: Internal Error, Could not perform immediate configuration

#8 Post by edbarx »

Don't discourage yourself at this point. I told you to use synaptic only to verify which version of libc6 you have installed. Last time I repaired libc6 through the command interface because I never use synaptic or kpackage.

So, to get the version of libc6, run this command:

Code: Select all

apt-cache search libc6
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

ssffzzxx
Posts: 8
Joined: 2009-06-23 07:38

Re: E: Internal Error, Could not perform immediate configuration

#9 Post by ssffzzxx »

Hi..
This is what i get.. form apt-cache libc6

libc6 - GNU C Library: Shared libraries
libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
libc6-dbg - GNU C Library: detached debugging symbols
libc6-dev - GNU C Library: Development Libraries and Header Files
libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
libc6-pic - GNU C Library: PIC archive library
libc6-prof - GNU C Library: Profiling Libraries
libtext-iconv-perl - converts between character sets in Perl

And now, what should i do ? :) have no idea..
Any way thanks, you help me so much.

Best Regards

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: E: Internal Error, Could not perform immediate configuration

#10 Post by edbarx »

That command didn't yield what I was after. I need the full name of tha packages involved. I think, the command is:

Code: Select all

apt-cache show libc6
If you understand the manpages, I am using the manpage for apt-cache. To access it, type man apt-cache.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
Telemachus
Posts: 4677
Joined: 2006-12-25 15:53

Re: E: Internal Error, Could not perform immediate configuration

#11 Post by Telemachus »

If you want to see what is installed (from the command line), you have many options. Here are two:

Code: Select all

aptitude search ~ilibc6
Or:

Code: Select all

dpkg -l | grep libc6
He is likely to have more than one of the libc6 packages installed. One other thing:
edbarx wrote:Did you try to run as ROOT (in Ubuntu you use su)
Did you mean to say, "in Debian you use su"? In Ubuntu, you actually use sudo, and by default su is not enabled.
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System

ssffzzxx
Posts: 8
Joined: 2009-06-23 07:38

Re: E: Internal Error, Could not perform immediate configuration

#12 Post by ssffzzxx »

Dear Guys,

Here is the result when i try to issue apt-cache show libc6
ubuntu:~ # apt-cache show libc6
Package: libc6
Priority: required
Section: libs
Installed-Size: 10904
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: i386
Source: glibc
Version: 2.9-4ubuntu6
Replaces: belocs-locales-bin
Provides: glibc-2.9-1
Depends: libgcc1, findutils (>= 4.4.0-2ubuntu2)
Suggests: locales, glibc-doc, libc6-i686
Conflicts: libterm-readline-gnu-perl (<< 1.15-2), tzdata (<< 2007k-1), tzdata-etch, nscd (<< 2.9)
Filename: pool/main/g/glibc/libc6_2.9-4ubuntu6_i386.deb
Size: 4471162
MD5sum: 76cfeedaae8b432f0a91267e51b07079
SHA1: 7172d013304acaf336319d0882c0c24379f63a00
SHA256: 3d062100542242cc939c982487786d756a0f80782016d2e4f342f4430137b36d
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: minimal, mythbuntu-backend-master, mythbuntu-backend-slave, mythbuntu-desktop, mythbuntu-frontend

Package: libc6
Priority: required
Section: base
Installed-Size: 15416
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: i386
Source: glibc
Version: 2.3.2.ds1-20ubuntu13
Replaces: ldso (<= 1.9.11-9), timezone, timezones, gconv-modules, libtricks, libc6-bin, netkit-rpc, netbase (<< 4.0), libc6-dev (<< 2.3.2.ds1-14)
Provides: glibc-2.3.2.ds1-20ubuntu13
Depends: libdb1-compat
Suggests: locales, glibc-doc
Conflicts: strace (<< 4.0-0), libnss-db (<= 2.2-6.1.1), timezone, timezones, gconv-modules, libtricks, libc6-doc, libc5 (<< 5.4.33-7), libpthread0 (<< 0.7-10), libc6-bin, libwcsmbs, apt (<< 0.3.0), libglib1.2 (<< 1.2.1-2), netkit-rpc, wine (<< 0.0.20031118-1), cyrus-imapd (<< 1.5.19-15)
Filename: pool/main/g/glibc/libc6_2.3.2.ds1-20ubuntu13_i386.deb
Size: 4821876
MD5Sum: 64163bd84c0d274996c45c3d352c9426
Description: GNU C Library: Shared libraries and Timezone data
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
Timezone data is also included.
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu
Task: ubuntu-base

And here the result of below command:
aptitude search ~ilibc6
i libc6 - GNU C Library: Shared libraries
i libc6-dev - GNU C Library: Development Libraries and
i libc6-i686 - GNU C Library: Shared libraries [i686 opt

The qestion is, how to remova all those package with new one?
I am worried that those all package are damage and need to be replaced.

Many thank and Best Regards

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: E: Internal Error, Could not perform immediate configuration

#13 Post by edbarx »

Now, we can try our command to force a reinstall of libc6 and libc6-i686. Hopefully, the command tells us more specifically what is the problem:

Code: Select all

apt-get install --reinstall libc6 libc6-i686
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: E: Internal Error, Could not perform immediate configuration

#14 Post by edbarx »

Excuse me for giving the wrong command; that will not work and you will end with probably the same error as before. I am providing a link for the thread in which I resolved a problem like this last december. Hopefully, it helps you understand what is you problem. If you succeed, please post that you succeeded for the sake of other users of this forum.

Now, you will need to download the .deb files by hand, save them to an empty directory in your home directory and then use dpkg to attempt a reinstallation. The first attempt may fail giving you the details of the error. Then, download the indicated packages by dpkg and force a reinstall according to the thread shown below.

http://forums.debian.net/viewtopic.php?p=197131#p197131

Good Luck.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

ssffzzxx
Posts: 8
Joined: 2009-06-23 07:38

Re: E: Internal Error, Could not perform immediate configuration

#15 Post by ssffzzxx »

Dear Edbarx,
Many thanks for your helps..
I will do as you told me before.. anyway, could you please tell me where should i put the deb file that i already download, before i install it?

Thanks in advance
Best Regards

ssffzzxx
Posts: 8
Joined: 2009-06-23 07:38

Re: E: Internal Error, Could not perform immediate configuration

#16 Post by ssffzzxx »

Dear edbarx,
I manage to install it, here the result, have no idea, this result show the correct installation or not:

root@ubuntu: dpkg -i --force-depends libc6-i686_2.7-10ubuntu3_i386.deb
dpkg: regarding libc6-i686_2.7-10ubuntu3_i386.deb containing libc6-i686, pre-dependency problem:
libc6-i686 pre-depends on libc6 (= 2.7-10ubuntu3)
libc6 is installed, but is version 2.3.2.ds1-20ubuntu13.
dpkg: warning - ignoring pre-dependency problem !
(Reading database ... 16808 files and directories currently installed.)
Preparing to replace libc6-i686 2.3.2.ds1-20ubuntu13 (using libc6-i686_2.7-10ubuntu3_i386.deb) ...
Unpacking replacement libc6-i686 ...
dpkg: libc6-i686: dependency problems, but configuring anyway as you request:
libc6-i686 depends on libc6 (= 2.7-10ubuntu3); however:
Version of libc6 on system is 2.3.2.ds1-20ubuntu13.
Setting up libc6-i686 (2.7-10ubuntu3) ...

I will try to upgrade my ubuntu distribution now, a friend told me that i have to install it step by step, as i have 5.04 i have to upgrade to ubuntu 6, and then go to ubuntu 8 ...
is it correct?? :)

Anyway thanks, for your help.
I will submit to this forum after i get new result..

Best Regards

User avatar
edbarx
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: E: Internal Error, Could not perform immediate configuration

#17 Post by edbarx »

I think, you installed a version of libc6 that is newer than supported by your installation. The versioning here is extremely important. I don't know whether as it is now, the system can boot or not.

Please, be aware that it is always a serious problem when libc6 is broken. If repairing your installation takes longer, it is more time-economical to install everything from the very beginning.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

User avatar
julian67
Posts: 4648
Joined: 2007-04-06 14:39
Location: Just hanging around

Re: E: Internal Error, Could not perform immediate configuration

#18 Post by julian67 »

ssffzzxx wrote: I will try to upgrade my ubuntu distribution now, a friend told me that i have to install it step by step, as i have 5.04 i have to upgrade to ubuntu 6, and then go to ubuntu 8 ...
is it correct?? :)
For advice on upgrading Ubuntu you are really better off seeking it at ubuntu.com or ubuntuforums. But your friend is correct. You either need to go through each version increment in turn (no longer possible as some incremental versions no longer have a repository) or go from one LTS release to another, which at the moment means 5.04>6.06(LTS)>8.04(LTS) and from 8.04 you can go to 8.10 then 9.04. You will need to carefully read the release notes for each version which will outline any upgrade issues and describe the preferred upgrade method (it's probably changed over the last 4 years).

Good luck.
Wisdom from my inbox: "do not mock at your pottenocy"

smallchange
Posts: 1740
Joined: 2009-05-04 15:56

Re: E: Internal Error, Could not perform immediate configuration

#19 Post by smallchange »

Your immediate problem can probably be solved with

Code: Select all

sudo dpkg -i /var/cache/apt/archives/libc6_2.9-4ubuntu6_i386.deb /var/cache/apt/archives/libc6-i686_2.9-4ubuntu6_i386.deb
You will probably find many other problems you need to overcome manually before you get things working though. The info about upgrading in steps is correct and I do not think the older distributions of Ubuntu are available any longer.

Post Reply