Today I tried to install Steam using sudo apt-get install steam
.
It didn't work and showed me this error:
barend@barend-ubu:~$ sudo apt-get install steam
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
steam:i386 : Depends: libgl1-mesa-glx:i386
E: Unable to correct problems, you have held broken packages.
Then I tried sudo apt-get install -f
to fix the broken dependencies.
That didn't work either.
I then searched on Google, and I found this question on AskUbuntu
The most upvoted answer suggested sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-utopic:i386 libgl1-mesa-glx-lts-utopic:i386
or sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386
, neither of which work for me and fail with the following error:
barend@barend-ubu:~$ sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-utopic:i386 libgl1-mesa-glx-lts-utopic:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
indicator-bluetooth : Depends: unity-control-center but it is not going to be installed or
gnome-control-center but it is not going to be installed or
ubuntu-system-settings but it is not going to be installed
libgl1-mesa-dri-lts-utopic:i386 : Conflicts: libgl1-mesa-dri
libgl1-mesa-glx-lts-utopic:i386 : Depends: libglapi-mesa-lts-utopic:i386 (= 10.3.2-0ubuntu1~trusty2) but it is not going to be installed
Depends: libudev1:i386 but it is not going to be installed
libqt5feedback5 : Depends: libqt5multimedia5 (>= 5.0.2) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
It might be good to know that I tried to install Steam using the deb from their website, then it couldn't start because of an error, "You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6" and I uninstalled Steam with sudo apt-get remove steam
.
My question is: How can I install Steam again and fix the broken packages?
Update:
I tried what @Videonauth suggested, but it's still not working. A Terminal window popped up with this:
Steam needs to install these additional packages:
libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
I entered my password, and then...
[sudo] password for barend:
................................................................................................
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.6)
Depends: libudev1:i386 but it is not going to be installed or
libudev0:i386 but it is not installable
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Press return to continue:
What do I do now?
Output of apt-cache policy libgl1-mesa-glx libgl1-mesa-glx:i386
as requested by @Videonauth:
libgl1-mesa-glx:
Installed: (none)
Candidate: 10.1.3-0ubuntu0.6
Version table:
10.1.3-0ubuntu0.6 0
500 http://ftp.nluug.nl/os/Linux/distr/ubuntu/ trusty-updates/main amd64 Packages
10.1.0-4ubuntu5 0
500 http://ftp.nluug.nl/os/Linux/distr/ubuntu/ trusty/main amd64 Packages
libgl1-mesa-glx:i386:
Installed: (none)
Candidate: 10.1.3-0ubuntu0.6
Version table:
10.1.3-0ubuntu0.6 0
500 http://ftp.nluug.nl/os/Linux/distr/ubuntu/ trusty-updates/main i386 Packages
10.1.0-4ubuntu5 0
500 http://ftp.nluug.nl/os/Linux/distr/ubuntu/ trusty/main i386 Packages
Update:
Thanks to all of you, @Videonauth and @Mark Kirby and @ijustlovemath who tried to help me out and I really do appreciate it, but nothing has worked for me so far. Hmm, no Steam for me, I guess...
If you advise me to do this, what would be the best way to clean my system up? I've installed and removed a lot of packages while trying all your solutions and I'm not sure if I can just sudo apt-get remove steam
or have to do a lot more.
apt-cache policy libgl1-mesa-glx libgl1-mesa-glx:i386
pleasesudo dpkg --add-architecture i386
and try again.