Login  Register

pharo-launcher ppa - 32-bit OS problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

pharo-launcher ppa - 32-bit OS problem

Ben Coman
5447 posts

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

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: pharo-launcher ppa - 32-bit OS problem

Damien Cassou
1829 posts
Hi Ben,

On Fri, Aug 1, 2014 at 5:47 AM, Ben Coman <[hidden email]> wrote:
> I successfully used the "Ubuntu ppa" instructions at
> http://pharo.org/download


could you please try a ppa-purge for ppa:pharo/stable and then
add-apt-repository ppa:pharo/unstable (not the *unstable* part that is
different from the standard instructions). I hope it works better.

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: pharo-launcher ppa - 32-bit OS problem

Ben Coman
5447 posts
Damien Cassou wrote:
Hi Ben,

On Fri, Aug 1, 2014 at 5:47 AM, Ben Coman [hidden email] wrote:
  
I successfully used the "Ubuntu ppa" instructions at
http://pharo.org/download
    


could you please try a ppa-purge for ppa:pharo/stable and then
add-apt-repository ppa:pharo/unstable (not the *unstable* part that is
different from the standard instructions). I hope it works better.

  
# There was a minor problem with the purge which I cleaned up manually. Note 'qiana' is the Linux Mint 17 release.
$ sudo apt-get purge pharo-launcher-test
$ pharo
bash: /usr/bin/pharo: No such file or directory

$ sudo ppa-purge ppa:pharo/stable
PPA to be removed: pharo stable
Package revert list generated:
  pharo-vm-core/qiana pharo-vm-desktop/qiana
Disabling pharo PPA from /etc/apt/sources.list.d/pharo-stable-trusty.list
E: Release 'qiana' for 'pharo-vm-core' was not found
E: Release 'qiana' for 'pharo-vm-desktop' not found

$ dpkg --get-selections | grep pharo
pharo-vm-core          install
pharo-vm-desktop     install
$ sudo apt-get purge pharo-vm-core  pharo-vm-desktop 
$ dpkg --get-selections | grep pharo
# nothing

$ sudo add-apt-repository ppa:pharo/unstable
$ sudo apt-get update
$ sudo apt-get install pharo-launcher
$ pharo
# works like a charm

Thanks Damien.

btw...
$ dpkg --get-selections | grep pharo
pharo-launcher                  install
pharo-sources-files             install
pharo-vm-core                install
pharo-vm-core-i386          install
pharo-vm-desktop            install

cheers -ben