Cannot install Crossover (SOLVED)

I’m trying to install Crossover on Peppermint 6 and I’m getting this error message “Cannot install libglu1-mesa:i386” I’ve tried versions 14.1.4-1, 14.6-1 & 15.0.0-1 and they all fail with the same error message, the strange thing is I’ve installed it successfully on another PC wth the exact same version of Peppermint without any issues.

I’ve searched the internet for this issue and although there are other reports of this no one seems to have a solution

Any help would be much appreciated

Graeme

I expect this is a 64bit system, perhaps the 32bit architecture needs to be enabled
Try

dpkg --print-architecture

if that returns 64bit then

dpkg --print-foreign-architectures

HI SeZo

Unfortunately that didn’t work in fact I tried those commands earlier from a Steam forum as it seems quite a few people are having this issue installing Steam and I don’t think it worled for those posters either

Thanks

Graeme

Those commands not meant to solve anything, just to print out the installed architectures.
On the other hand if you followed tips from elswhere, did you establish that you have the 32 bit architecture enabled and libraries installed to?

Well if I’m understanding the following output right it looks like I have the i386 architecture enabled

graeme@Linux1 ~ $ dpkg --print-foreign-architectures
i386
graeme@Linux1 ~ $ 

I ran these commands but it made no difference

sudo dpkg --add-architecture i386
sudo apt-get update

Graeme

Yes you are right, the 32 bit architecture is enabled.
Have you tried manually to install libglu1-mesa:i386?

sudo apt-get install libglu1-mesa:i386

That might error out but could provide more insight into why it cannot be installed.

graeme@Linux1 ~ $ sudo apt-get install libglu1-mesa:i386
[sudo] password for graeme: 
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.
 libglu1-mesa:i386 : Depends: libgl1-mesa-glx:i386 or
                              libgl1:i386
E: Unable to correct problems, you have held broken packages.
graeme@Linux1 ~ $ 

Try installing libgl1-mesa-glx:i386 and see if that depends on anything else.

sudo apt-get install libgl1-mesa-glx:i386

if that succeeds then try again

sudo apt-get install libglu1-mesa:i386
graeme@Linux1 ~ $ sudo apt-get install libgl1-mesa-glx:i386
[sudo] password for graeme: 
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.5)
                        Depends: libudev1:i386 but it is not going to be installed or
                                 libudev0:i386 but it is not installable
                        Recommends: libgl1-mesa-dri:i386 (>= 7.2)
E: Unable to correct problems, you have held broken packages.
graeme@Linux1 ~ $ 

install aptitude:

sudo apt-get install aptitude

then post the output from a simulated install:

sudo aptitude install -s libglu1-mesa:i386

and/or try

sudo apt-get install libglapi-mesa-lts-utopic:i386 libudev1:i386 libgl1-mesa-dri-lts-utopic:i386 libglu1-mesa:i386

then if you get no errors, try crossover again.

in fact it wouldn’t hurt to install the dependencies required for 32bit steam:

sudo apt-get install libcgmanager0:i386 libgl1-mesa-glx-lts-utopic:i386 libudev1:i386 libc6:i386 libgl1-mesa-dri-lts-utopic:i386 libglapi-mesa-lts-utopic:i386

which will probably pull in everything you need.

Obviously the above only applies if you’re still on the default Peppermint 6 kernel (3.16) … if you’ve updated to the vivid LTS enablement stack you’ll need to swap all mentions of “utopic” in the above commands to “vivid” … but probably best to just stop on any errors and post them here, along with the output from:

uname -a
graeme@Linux1 ~ $ sudo aptitude install -s libglu1-mesa:i386
The following NEW packages will be installed:
  gcc-4.8-base:i386{a} libcgmanager0:i386{a} libdrm-intel1:i386{a} 
  libdrm-nouveau2:i386{a} libdrm-radeon1:i386{a} libdrm2:i386{a} 
  libedit2:i386{a} libelf1:i386{a} libffi6:i386{a} 
  libgl1-mesa-dri-lts-utopic:i386{a} libgl1-mesa-glx-lts-utopic:i386{a} 
  libglapi-mesa-lts-utopic:i386{a} libglu1-mesa:i386 libllvm3.5:i386{a} 
  libnih-dbus1:i386{a} libnih1:i386{a} libpciaccess0:i386{a} 
  libstdc++6:i386{a} libtinfo5:i386{a} libtxc-dxtn-s2tc0:i386{a} 
  libudev1:i386{a} libx11-xcb1:i386{a} libxcb-dri2-0:i386{a} 
  libxcb-dri3-0:i386{a} libxcb-glx0:i386{a} libxcb-present0:i386{a} 
  libxcb-sync1:i386{a} libxshmfence1:i386{a} libxxf86vm1:i386{a} 
0 packages upgraded, 29 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.2 MB of archives. After unpacking 50.1 MB will be used.
Do you want to continue? [Y/n/?] y
Would download/install/remove packages.

graeme@Linux1 ~ $ sudo apt-get install libglapi-mesa-lts-utopic:i386 libudev1:i386 libgl1-mesa-dri-lts-utopic:i386 libglu1-mesa:i386
[sudo] password for graeme: 
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.
 libudev1:i386 : Depends: libcgmanager0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
graeme@Linux1 ~ $ 

Loading the dependencies for 32bit Steam sorted the problem, and I now have Crossover installed, but the thing is do we have a regression here because Crossover wasn’t the only application I was having a problem installing the other was Basic PAYE Tools downloaded from the HMRC website which did install but refused to open, both of these applications installed and ran on a previous installation of Peppermint 6 on 2 PC’s including this one using the same USB stick so has something changed ?

Anyway thanks for helping me sort it out

Graeme

No it’s the way Ubuntu are packaging the differing kernels and graphics stacks for the 14.04 point release (14.04.2, 14.04.3, etc) … it would have worked in 14.04 and will again in16.04 … but when 16.04.1 comes around a few 32bit packages will require a little more work on 64bit.

Nothing we can do about it short of going back to the 14.04 kernel and graphics stack

so has something changed ?

No … you simply must have installed something on the other 2 PC’s that had already brought in those dependencies.

Ok thanks for the explanation and the help solving the problem it’s much appreciated

Many Thanks

Graeme

No problem my mate :slight_smile: