ubuntu 12.04 LTS update fails

Asked by Strsljen

Hi!

When I try to run update, I get the following:

installArchives() failed: Error in function:
dpkg: error processing libc6 (--configure):
 libc6:amd64 2.15-0ubuntu10.4 cannot be configured because libc6:i386 is in a different version (2.15-0ubuntu10.3)
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.15-0ubuntu10.4); however:
  Package libc6 is not configured yet.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc-dev-bin:
 libc-dev-bin depends on libc6 (>> 2.15); however:
  Package libc6 is not configured yet.

I'm new to Ubuntu and I'm uncertain why I get this error suddenly.

Any help is welcomed.

Best regards.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Strsljen
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Strsljen (mario-pranjic) said :
#1

Additional info: I tried via console:
apt-get update
apt-get upgrade

It got me to:
ubuntu Internal Error, No file name for libc6

Then I did:
apt-get clean
apt-get update
apt-get upgrade

Stil:
root@polario:~# apt-get update
Hit http://hr.archive.ubuntu.com precise Release.gpg
Hit http://hr.archive.ubuntu.com precise-updates Release.gpg
Hit http://hr.archive.ubuntu.com precise-backports Release.gpg
Hit http://hr.archive.ubuntu.com precise Release
Hit http://dl.google.com stable Release.gpg
Hit http://hr.archive.ubuntu.com precise-updates Release
Hit http://hr.archive.ubuntu.com precise-backports Release
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://dl.google.com stable Release
Hit http://hr.archive.ubuntu.com precise/main Sources
Hit http://hr.archive.ubuntu.com precise/restricted Sources
Hit http://hr.archive.ubuntu.com precise/universe Sources
Hit http://hr.archive.ubuntu.com precise/multiverse Sources
Hit http://hr.archive.ubuntu.com precise/main amd64 Packages
Hit http://hr.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://hr.archive.ubuntu.com precise/universe amd64 Packages
Hit http://hr.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://hr.archive.ubuntu.com precise/main i386 Packages
Hit http://hr.archive.ubuntu.com precise/restricted i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://extras.ubuntu.com precise Release
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://hr.archive.ubuntu.com precise/universe i386 Packages
Hit http://hr.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://hr.archive.ubuntu.com precise/main TranslationIndex
Hit http://hr.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://hr.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://dl.google.com stable/main i386 Packages
Hit http://hr.archive.ubuntu.com precise/universe TranslationIndex
Hit http://hr.archive.ubuntu.com precise-updates/main Sources
Hit http://hr.archive.ubuntu.com precise-updates/restricted Sources
Hit http://hr.archive.ubuntu.com precise-updates/universe Sources
Hit http://hr.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://security.ubuntu.com precise-security Release
Hit http://extras.ubuntu.com precise/main Sources
Ign http://dl.google.com stable/main TranslationIndex
Hit http://hr.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://hr.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://hr.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://hr.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://hr.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://linux.dropbox.com precise Release.gpg
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://hr.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://hr.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://hr.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://hr.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://hr.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://extras.ubuntu.com precise/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://hr.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://hr.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://hr.archive.ubuntu.com precise-backports/main Sources
Hit http://hr.archive.ubuntu.com precise-backports/restricted Sources
Hit http://hr.archive.ubuntu.com precise-backports/universe Sources
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://hr.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://hr.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://hr.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://hr.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://hr.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://linux.dropbox.com precise Release
Hit http://hr.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://hr.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://hr.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://hr.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://hr.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://hr.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://hr.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://hr.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://hr.archive.ubuntu.com precise/main Translation-en
Hit http://hr.archive.ubuntu.com precise/multiverse Translation-en
Hit http://hr.archive.ubuntu.com precise/restricted Translation-en
Hit http://hr.archive.ubuntu.com precise/universe Translation-en
Hit http://hr.archive.ubuntu.com precise-updates/main Translation-en
Hit http://hr.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://hr.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://hr.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://hr.archive.ubuntu.com precise-backports/main Translation-en
Hit http://hr.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://hr.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://hr.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://linux.dropbox.com precise/main amd64 Packages
Hit http://linux.dropbox.com precise/main i386 Packages
Ign http://linux.dropbox.com precise/main TranslationIndex
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://linux.dropbox.com precise/main Translation-en_US
Ign http://linux.dropbox.com precise/main Translation-en
Reading package lists... Done
root@polario:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  linux-headers-generic-lts-quantal linux-image-generic-lts-quantal
The following packages will be upgraded:
  accountsservice apport apport-gtk aptdaemon aptdaemon-data dnsmasq-base icedtea-netx icedtea-netx-common language-selector-common
  language-selector-gnome libaccountsservice0 libc6:i386 libgnutls26 libgnutls26:i386 libmysqlclient18:i386 libnm-gtk-common libnm-gtk0 linux-firmware
  linux-generic-lts-quantal linux-libc-dev multiarch-support mysql-common network-manager-gnome openssh-client python-apport python-aptdaemon
  python-aptdaemon.gtk3widgets python-aptdaemon.pkcompat python-problem-report ssh-askpass-gnome unity-scope-video-remote
31 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
5 not fully installed or removed.
Need to get 29.1 MB/33.1 MB of archives.
After this operation, 62.5 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev amd64 3.2.0-41.66 [866 kB]
Get:2 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main aptdaemon-data all 0.43+bzr805-0ubuntu9 [163 kB]
Get:3 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main python-aptdaemon.gtk3widgets all 0.43+bzr805-0ubuntu9 [15.0 kB]
Get:4 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main python-aptdaemon.pkcompat all 0.43+bzr805-0ubuntu9 [29.1 kB]
Get:5 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main aptdaemon all 0.43+bzr805-0ubuntu9 [16.0 kB]
Get:6 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main python-aptdaemon all 0.43+bzr805-0ubuntu9 [82.2 kB]
Get:7 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main language-selector-gnome all 0.79.3 [20.3 kB]
Get:8 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main accountsservice amd64 0.6.15-2ubuntu9.6 [44.1 kB]
Get:9 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main libaccountsservice0 amd64 0.6.15-2ubuntu9.6 [30.1 kB]
Get:10 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main language-selector-common all 0.79.3 [365 kB]
Get:11 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls26 i386 2.12.14-5ubuntu3.3 [448 kB]
Get:12 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls26 amd64 2.12.14-5ubuntu3.3 [459 kB]
Get:13 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.31-0ubuntu0.12.04.1 [13.4 kB]
Get:14 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient18 i386 5.5.31-0ubuntu0.12.04.1 [924 kB]
Get:15 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main multiarch-support amd64 2.15-0ubuntu10.4 [4,482 B]
Get:16 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main openssh-client amd64 1:5.9p1-5ubuntu1.1 [942 kB]
Get:17 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main python-problem-report all 2.0.1-0ubuntu17.2 [9,342 B]
Get:18 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main python-apport all 2.0.1-0ubuntu17.2 [81.5 kB]
Get:19 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main apport all 2.0.1-0ubuntu17.2 [146 kB]
Get:20 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main apport-gtk all 2.0.1-0ubuntu17.2 [9,220 B]
Get:21 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main dnsmasq-base amd64 2.59-4ubuntu0.1 [213 kB]
Get:22 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main libnm-gtk-common all 0.9.4.1-0ubuntu2.3 [5,900 B]
Get:23 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main libnm-gtk0 amd64 0.9.4.1-0ubuntu2.3 [67.5 kB]
Get:24 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main linux-firmware all 1.79.4 [23.1 MB]
Get:25 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main linux-generic-lts-quantal amd64 3.5.0.28.35 [1,746 B]
Get:26 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main network-manager-gnome amd64 0.9.4.1-0ubuntu2.3 [404 kB]
Get:27 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main ssh-askpass-gnome amd64 1:5.9p1-5ubuntu1.1 [16.0 kB]
Get:28 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main unity-scope-video-remote all 0.3.5-0ubuntu2.2 [7,404 B]
Get:29 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main icedtea-netx-common all 1.2.3-0ubuntu0.12.04.2 [600 kB]
Get:30 http://hr.archive.ubuntu.com/ubuntu/ precise-updates/main icedtea-netx amd64 1.2.3-0ubuntu0.12.04.2 [16.2 kB]
Fetched 29.1 MB in 59s (487 kB/s)
E: Internal Error, No file name for libc6

Looks like this has something to do with libc6 package.
Any advice how to proceed here?

Revision history for this message
Strsljen (mario-pranjic) said :
#2

One more thing: I just tried to change update server via update manager GUI. I set it to main server.
I got following:

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:The package libc6:i386 needs to be reinstalled, but I can't find an archive for it.'

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Try the following command from a terminal:

sudo apt-get install --reinstall libc6:amd64 libc6:i386 libc6-dev libc-dev-bin

select all output and paste it into this question document as done before.

Revision history for this message
Strsljen (mario-pranjic) said :
#4

Hi!

Outout follows:

root@polario:~# apt-get install --reinstall libc6:amd64 libc6:i386 libc6-dev libc-dev-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  xscreensaver-gl libjpeg-progs xscreensaver-data libgle3 linux-headers-3.5.0-23-generic linux-headers-3.5.0-23 netpbm libnetpbm10 libjpeg-turbo-progs
Use 'apt-get autoremove' to remove them.
Suggested packages:
  glibc-doc:i386 locales:i386
The following packages will be upgraded:
  libc6:i386
1 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 32 not upgraded.
5 not fully installed or removed.
Need to get 0 B/3,941 kB of archives.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for libc6

Revision history for this message
Strsljen (mario-pranjic) said :
#5

Hi!

Outout follows:

root@polario:~# apt-get install --reinstall libc6:amd64 libc6:i386 libc6-dev libc-dev-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  xscreensaver-gl libjpeg-progs xscreensaver-data libgle3 linux-headers-3.5.0-23-generic linux-headers-3.5.0-23 netpbm libnetpbm10 libjpeg-turbo-progs
Use 'apt-get autoremove' to remove them.
Suggested packages:
  glibc-doc:i386 locales:i386
The following packages will be upgraded:
  libc6:i386
1 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 32 not upgraded.
5 not fully installed or removed.
Need to get 0 B/3,941 kB of archives.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for libc6

Revision history for this message
Strsljen (mario-pranjic) said :
#6

Hi!

I had 4 packages in not completely installed state:

This helped:
dpkg --configure -a

Now everything is ok.