1

Let me just start with saying that I am very new to Linux in general. I recently installed 14.04 and I downloaded a couple of things first: Gimp and Chrome, but when I tried to get Steam it downloads but when I launch it, the terminal says:

Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Then the terminal closes and a box comes up saying:

You are missing the following 32-bit libraries, and Steam may not run: libc.so.6

When I try to run "sudo apt-get -f install" it does this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc-bin
The following NEW packages will be installed:
libc-bin
0 upgraded, 1 newly installed, 0 to remove and 77 not upgraded.
Need to get 0 B/1,168 kB of archives.
After this operation, 3,529 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2)

And then the software center says there is a problem with my current software. Can someone help?

12
  • You have 77 not upgraded packages. Try sudo apt-get update && sudo apt-get dist-upgrade, then install it again.
    – Pabi
    May 1, 2015 at 1:00
  • Goes through some stuff then You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: cups : Depends: libc-bin (>= 2.13) E: Unmet dependencies. Try using -f. May 1, 2015 at 1:04
  • Could you post the output of sudo echo $PATH please.
    – Pabi
    May 1, 2015 at 1:06
  • /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games May 1, 2015 at 1:10
  • Please post the output of which ldconfig.
    – Pabi
    May 1, 2015 at 1:12

2 Answers 2

0

I'm pretty sure this is a duplicate, but here's the answer. You need to install that library that Steam needs. Do so by running sudo apt-get install libc6*. This should fix the Steam problem and will hopefully solve the other one as well.

6
  • That comes up with 'E: Unmet dependencies. Try apt-get -f install' with no packages (or specify a solution). May 1, 2015 at 0:50
  • OK. Try installing libc-bin. May 1, 2015 at 0:51
  • Part of response: Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2) May 1, 2015 at 0:56
  • OK. Go to /etc and open environment. Make sure that it contains /usr/local/sbin, /usr/sbin` and /sbin. May 1, 2015 at 1:02
  • All of those are present. May 1, 2015 at 1:19
0

Your problem is you are missing libc-bin but can't install it. To install it:

Boot from an ubuntu installation media and open a terminal
Mount your ubuntu root partition: sudo mount /dev/sdX /mnt
Chroot into your system: sudo chroot /mnt /bin/bash
Install libc-bin: sudo apt-get install libc-bin
Reboot your system and it should work fine

12
  • Sorry for the delay. I should just boot ubuntu from the usb I installed it with? May 2, 2015 at 21:40
  • Yes Boot from that CD and execute the commands. Dont forget to replace /dev/sdX with the right drive.
    – Pabi
    May 2, 2015 at 23:51
  • the first command said 'mount: special device /dev/sdX does not exist' May 3, 2015 at 19:20
  • the second one did 'chroot: failed to run command ‘/bin/bash’: No such file or directory ' May 3, 2015 at 19:21
  • Are you sure you have mounted the right partition to /mnt? The partition with your root filesystem.
    – Pabi
    May 3, 2015 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.