how to solve unmet dependencies

Asked by Pinkesh

dpkg: error processing archive /var/cache/apt/archives/libgcc1_1%3a4.9.3-0ubuntu4_i386.deb (--unpack):
 pre-dependency problem - not installing libgcc1:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libgcc1_1%3a4.9.3-0ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of libc6:i386:
 libc6:i386 depends on libgcc1; however:
  Package libgcc1 is not installed.

dpkg: error processing package libc6:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of multiarch-support:
 multiarch-support depends on libc6 (>= 2.13-5); however:
  Package libc6:i386 is not configured yet.

dpkg: error processing package multiarch-support (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6:i386
 multiarch-support

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; apt-cache policy libgcc1

Thanks

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

I assume that this is caused by the problems with the dpkg status file, see your other question in https://answers.launchpad.net/ubuntu/+source/apt/+question/285532

Revision history for this message
daniel CURTIS (anoda) said :
#3

Hello. What about trying to install: 'libc6', 'libgcc1' and 'multiarch-support' packages? Pinkesh, You can also try to: edit '/var/lib/dpkg/status' file, e.g. (use your favourite file editor):

$ leafpad /var/lib/dpkg/status

Next, find the the line starting with "Package":

Package: multiarch-support
Status: install ok unpacked

And change the 'unpacked' to 'installed'. Now, you can try to run:

$ sudo dpkg --configure --pending
$ sudo apt-get install --reinstall multiarch-support libgcc1 libc6

I hope it will help You. Good luck and best regards.

Can you help with this problem?

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

To post a message you must log in.