Login  Register

pharo-launcher ppa - 32-bit OS problem

Posted by Ben Coman on Aug 01, 2014; 3:47am
URL: https://forum.world.st/pharo-launcher-ppa-32-bit-OS-problem-tp4771310.html


I successfully used the "Ubuntu ppa" instructions at
http://pharo.org/download
to install Pharo Launcher on 64-bit Linux Mint 17,
but doing the same on 32-bit Linux Mint 17 gives an error...
    $ sudo apt-get install pharo-launcher
    The following packages have unmet dependencies:
      pharo-launcher : Depends: pharo-vm-desktop:i386 but it is not
installable
    E: Unable to correct problems, you have held broken packages.

This is both without and with the second line "sudo dpkg
--add-architecture i386" since I wasn't sure if it made sense to do this
when already
    $ dpkg --print-architecture   # reports... i386

The following worked without error
    $ sudo apt-get install pharo-vm-desktop

I had a look at the package info with...
    $ sudo apt-get download pharo-launcher
    $ cp /var/cache/apt/pharo-launcher*deb /tmp
    $ cd /tmp
    $ dpkg -I pharo-launcher*deb
which displayed...
    Architecture: any
    Depends: pharo-vm-desktop:386

and it seemed to me the hardcoding of :386 might be the trouble, and
wondered if the following would work better for both 32-bit and 64-bit OS?
    Architecture: i386
    Depends: pharo-vm-desktop

I repackaged the deb per instructions at
http://ailoo.net/2009/06/repack-a-deb-archive-with-dpkg-deb
as...
    Package: pharo-launcher-test

With a local repository set up per
https://help.ubuntu.com/community/Repositories/Personal
the following worked.
    $ sudo apt-get --allow-unauthenticated install pharo-launcher-test
    $ pharo

However I no longer have the 64-bit LinuxMint install to test if this
change is compatible.  Can someone do this?

cheers, Ben