Trying to install steam

Solution 1:

Conclusion

More details see the next section

  • It is important to consider the output of the commands like apt-cache package_name.
  • sudo dpkg -i --force-all deb_file is a great help when you need to force the installation of a package by any means
  • The reinstallation of a package sometimes can solve dependency problems that actually are no dependency problems.

Details

I can not determine what the exact cause of the problem was. The following output appears to have been the main problem. You can see that the installation candidate for libcgmanager0:i386 is version 0.24-0ubuntu7.5. But libcgmanager0 and libcgmanager0:i386 have to be exactly the same version.

% apt-cache policy libcgmanager0:i386 libcgmanager0
The following packages have unmet dependencies:
 libudev1 : Depends: libcgmanager0 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
libcgmanager0:i386:
  Installed: (none)
  Candidate: 0.24-0ubuntu7.5
  Version table:
     0.39-2ubuntu2~ubuntu14.04.1 0
        100 http://gr.archive.ubuntu.com/ubuntu/ trusty-backports/main i386 Packages
     0.24-0ubuntu7.5 0
        500 http://gr.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
     0.24-0ubuntu7.1 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
     0.24-0ubuntu5 0
        500 http://gr.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
libcgmanager0:
  Installed: 0.39-2ubuntu2~ubuntu14.04.1
  Candidate: 0.39-2ubuntu2~ubuntu14.04.1
  Version table:
 *** 0.39-2ubuntu2~ubuntu14.04.1 0
        100 http://gr.archive.ubuntu.com/ubuntu/ trusty-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     0.24-0ubuntu7.5 0
        500 http://gr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     0.24-0ubuntu7.1 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     0.24-0ubuntu5 0
        500 http://gr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

For this reason we downloaded the package and manually forced the installation.

wget http://mirrors.kernel.org/ubuntu/pool/main/c/cgmanager/libcgmanager0_0.39-2ubuntu2~ubuntu14.04.1_i386.deb
sudo dpkg -i libcgmanager0_0.39-2ubunt‌​u2~ubuntu14.04.1_i386.deb

Whether the next steps were still necessary, I can not say exactly. I simply just list them ...

apt-get download libc6:i386
sudo dpkg -i --force-all libc6*i386.deb

And now we had

(Reading database ... 196730 files and directories currently installed.)
Preparing to unpack libc6_2.19-0ubuntu6.6_i386.deb ...
Unpacking libc6:i386 (2.19-0ubuntu6.6) over (2.19-0ubuntu6.6) ...
dpkg: libc6:i386: dependency problems, but configuring anyway as you requested:
 libc6:i386 depends on libgcc1.

Setting up libc6:i386 (2.19-0ubuntu6.6) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
ig0killahr79@ig0killahr79-Inspiron-3537:~$ apt-get download libc6:i386; sudo dpkg -i --force-all libc6*i386.deb
(Reading database ... 196730 files and directories currently installed.)
Preparing to unpack libc6_2.19-0ubuntu6.6_i386.deb ...
Unpacking libc6:i386 (2.19-0ubuntu6.6) over (2.19-0ubuntu6.6) ...
dpkg: libc6:i386: dependency problems, but configuring anyway as you requested:
 libc6:i386 depends on libgcc1.

Setting up libc6:i386 (2.19-0ubuntu6.6) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

Solved with

sudo apt-get install --reinstall libgcc1

After a test with

sudo apt-get install -f

we got this

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Looks great and finally

% sudo apt-get install steam:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
steam:i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.