unable to update my system, please somebody help.

Asked by dhiraj kumar

dhiraj@BORN-RAJPUT:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apt-utils coreutils debconf debconf-i18n dpkg libacl1 libapt-inst1.4
  libapt-pkg4.12 libattr1 libbz2-1.0 libdb5.1 libgcc1 liblocale-gettext-perl
  liblzma5 libselinux1 libstdc++6 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl perl-base tar tzdata xz-utils zlib1g
Suggested packages:
  debconf-doc debconf-utils whiptail dialog gnome-utils
  libterm-readline-gnu-perl libgtk2-perl libnet-ldap-perl libqtgui4-perl
  libqtcore4-perl apt bzip2 ncompress xz-lzma
The following NEW packages will be installed:
  apt-utils coreutils debconf debconf-i18n dpkg libacl1 libapt-inst1.4
  libapt-pkg4.12 libattr1 libbz2-1.0 libdb5.1 libgcc1 liblocale-gettext-perl
  liblzma5 libselinux1 libstdc++6 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl perl-base tar tzdata xz-utils zlib1g
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/9,300 kB of archives.
After this operation, 29.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: regarding .../libgcc1_1%3a4.6.3-1ubuntu5_i386.deb containing libgcc1, pre-dependency problem:
 libgcc1 pre-depends on multiarch-support
  multiarch-support is unpacked, but has never been configured.
dpkg: error processing /var/cache/apt/archives/libgcc1_1%3a4.6.3-1ubuntu5_i386.deb (--unpack):
 pre-dependency problem - not installing libgcc1
Errors were encountered while processing:
 /var/cache/apt/archives/libgcc1_1%3a4.6.3-1ubuntu5_i386.deb
E: Internal Error, No file name for libc6
W: Could not perform immediate configuration on 'multiarch-support:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Sub-process /usr/bin/dpkg returned an error code (1)
dhiraj@BORN-RAJPUT:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; df -h

Thanks

Revision history for this message
dhiraj kumar (dhirajn72) said :
#2

dhiraj@BORN-RAJPUT:~$ lsb_release -a; uname -a; df -h
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
Linux BORN-RAJPUT 3.2.0-55-generic-pae #85-Ubuntu SMP Wed Oct 2 14:03:15 UTC 2013 i686 i686 i386 GNU/Linux
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 23G 15G 6.9G 69% /
udev 1.9G 4.0K 1.9G 1% /dev
tmpfs 766M 932K 765M 1% /run
none 5.0M 4.0K 5.0M 1% /run/lock
none 1.9G 456K 1.9G 1% /run/shm
dhiraj@BORN-RAJPUT:~$

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

Please do not open two question documents about the same topic. There is already a document https://answers.launchpad.net/ubuntu/+source/apt/+question/238895 with the output of the package management troubleshooting procedure, whcih in my opinion indicates that the root cause is a file system problem on your machine, causing lost contents of /var/lib/dpkg/status

My advice:
1. perform a file system check
2. try restoring an older version of /var/lib/dpkg/status from /var/backups/apt*

Can you help with this problem?

Provide an answer of your own, or ask dhiraj kumar for more information if necessary.

To post a message you must log in.