1 (edited by JohnWasilewski 2016-06-17 20:29:53)

Topic: RPi2 installation under Raspbian

Although I have SF2.26 installled on a RPi2 with Ubuntu Mate, I am finding I can't install it when using Raspbian system instead of Ubuntu Mate.

When installing, it always fails.

I have managed to capture some of the progress reporting from the display, and it reads

(Reading database ... 183502 files and directories currently installed.)
Preparing to unpack .../simplyfortran-2.26.2154_armhf.deb ...
Unpacking simplyfortran-2 (2.26.2154) over (2.26.2154) ...
dpkg: dependency problems prevent configuration of simplyfortran-2:
 simplyfortran-2 depends on libwebkit2gtk-3.0-25 (>= 2.4); however:
  Package libwebkit2gtk-3.0-25 is not installed.

dpkg: error processing package simplyfortran-2 (--install):
 dependency problems - leaving unconfigured

On seeing he above, I tried entering 
sudo apr-get install libwebkit2gtk-3.0-25

and it produced:

pi@raspberrypi:~ $ sudo apt-get install libwebkit2gtk-3.0-25
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:
 libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.9-1~deb8u1+rpi1) but 1:2.4.1-1rpi53rpi1g is to be installed
E: Unable to correct problems, you have held broken packages.

Is there anything you an suggest that might help, please, Jeff?
---
John

Re: RPi2 installation under Raspbian

John,

Are you using dpkg -i to install Simply Fortran?  The dpkg command does not perform dependency installations, so that might explain your initial problem.  Additionally, you might have to perform an apt-get update followed by an apt-get upgrade to get everything in working order first.  You'll probably have some errors for the time being, though, since Simply Fortran is now partially installed but with broken dependencies because of your initial dpkg -i invocation.

Simply Fortran is actually compiled on a Raspbian system, so it is known to work.  However, I've installed gdebi to handle installing packages explicitly (from .deb files, I mean) since it will perform dependency installation.

Jeff Armstrong
Approximatrix, LLC

Re: RPi2 installation under Raspbian

Still no luck installing SF under Raspbian, Jeff.

I've tried both GDebi and gdebi.

This is after running :
  sudo apt-get update
  sudo apt=get upgrade
  sudo apt-get install -f

Here's a copy of what gdebi showed when it failed:

pi@raspberrypi:~/Downloads $ sudo gdebi simplyfortran-2.27.2175_armhf.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Building data structures... Done
Building data structures... Done

Integrated Development Environment for Fortran
Simply Fortran is an integrated development environment
for Fortran developers.  The development environment includes project
management, a graphical debugger, and advanced editor.
Do you want to install the software package? [y/N]:y
Selecting previously unselected package simplyfortran-2.
(Reading database ... 222496 files and directories currently installed.)
Preparing to unpack simplyfortran-2.27.2175_armhf.deb ...
Unpacking simplyfortran-2 (2.27.2175) ...
dpkg: dependency problems prevent configuration of simplyfortran-2:
simplyfortran-2 depends on libwebkit2gtk-3.0-25 (>= 2.4); however:
  Package libwebkit2gtk-3.0-25 is not installed.

dpkg: error processing package simplyfortran-2 (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
simplyfortran-2

Is there something I need to clean up here?
I'm not receiving any system reports of broken packages, by the way.

Re: RPi2 installation under Raspbian

John,

Will it work if you manually force the installation of libwebkit2gtk-3.0?

sudo apt-get install libwebkit2gtk-3.0-25

I'm not sure why your system isn't automatically installing the dependency.  However, the above command should fix it.

Jeff Armstrong
Approximatrix, LLC

5 (edited by JohnWasilewski 2016-04-11 20:53:14)

Re: RPi2 installation under Raspbian

Tried this:
sudo apt-get install libwebkit2gtk-3.0-25
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:
libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.9-1~deb8u1+rpi1) but 1:2.4.1-1rpi53rpi1g is to be installed
E: Unable to correct problems, you have held broken packages.
--------------
Synaptic Package Manager always reports no broken packages.
I've tried, over and over again, all of these, in different orders each time:

sudo apt-get remove simplyfortran-2
sudo apt-get update && sudo apt-get upgrade
sudo apt-get autoclean $$ apt-get clear cache
sudo apt-get install -f
sudo apt-get autoremove
sudo apt-get dist-upgrade
sudo apt-get update && sudo apt-get upgrade
sudo apt-get autoclean $$ apt-get clear cache
sudo apt-get install -f
dpkg --get-selections | grep hold

sudo apt-get install libwebkit2gtk-3.0-25
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:
libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.9-1~deb8u1+rpi1) but 1:2.4.1-1rpi53rpi1g is to be installed
E: Unable to correct problems, you have held broken packages.

I also tried aptitude instead of apt-get

sudo aptitude install libwebkit2gtk-3.0-25
The following NEW packages will be installed:
  libwebkit2gtk-3.0-25{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.3 MB of archives. After unpacking 55.0 MB will be used.
The following packages have unmet dependencies:
libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.9-1~deb8u1+rpi1) but 1:2.4.1-1rpi53rpi1g is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libwebkit2gtk-3.0-25 [Not Installed]               

Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

Then...

sudo gdebi simplyfortran-2.27.2175_armhf.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Building data structures... Done
Building data structures... Done

Integrated Development Environment for Fortran
Simply Fortran is an integrated development environment
for Fortran developers.  The development environment includes project
management, a graphical debugger, and advanced editor.
Do you want to install the software package? [y/N]:y
Selecting previously unselected package simplyfortran-2.
(Reading database ... 226352 files and directories currently installed.)
Preparing to unpack simplyfortran-2.27.2175_armhf.deb ...
Unpacking simplyfortran-2 (2.27.2175) ...
dpkg: dependency problems prevent configuration of simplyfortran-2:
simplyfortran-2 depends on libwebkit2gtk-3.0-25 (>= 2.4); however:
  Package libwebkit2gtk-3.0-25 is not installed.

dpkg: error processing package simplyfortran-2 (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
simplyfortran-2

Then

sudo aptitude remove simplyfortran-2
The following packages will be REMOVED: 
  simplyfortran-2
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 6,631 kB will be freed.
(Reading database ... 226650 files and directories currently installed.)
Removing simplyfortran-2 (2.27.2175) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for shared-mime-info (1.3-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
                                         
Current status: 0 broken [-1].

At this point I re-ran Synaptic Package Manager - it again reported no broken packages.

Then
sudo aptitude install libwebkit2gtk-3.0-25
The following NEW packages will be installed:
  libwebkit2gtk-3.0-25{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.3 MB of archives. After unpacking 55.0 MB will be used.
The following packages have unmet dependencies:
libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.9-1~deb8u1+rpi1) but 1:2.4.1-1rpi53rpi1g is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libwebkit2gtk-3.0-25 [Not Installed]               

Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

and

sudo apt-get install libwebkit2gtk-3.0-25
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:
libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.9-1~deb8u1+rpi1) but 1:2.4.1-1rpi53rpi1g is to be installed
E: Unable to correct problems, you have held broken packages.

sudo apt-get remove simplyfortran-2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'simplyfortran-2' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Then
sudo apt-get update && sudo apt-get upgrade
sudo apt-get autoclean $$ apt-get clear cache
sudo apt-get install -f
sudo apt-get autoremove
sudo apt-get dist-upgrade
sudo apt-get update && sudo apt-get upgrade
sudo apt-get autoclean $$ apt-get clear cache
sudo apt-get install -f

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

Again, Synaptic Package Manager reports no broken packages.

I THEN TRIED SOMETHING DRASTIC

sudo aptitude install libwebkit2gtk-3.0-25
The following NEW packages will be installed:
  libwebkit2gtk-3.0-25{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.3 MB of archives. After unpacking 55.0 MB will be used.
The following packages have unmet dependencies:
libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.9-1~deb8u1+rpi1) but 1:2.4.1-1rpi53rpi1g is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libwebkit2gtk-3.0-25 [Not Installed]               

Accept this solution? [Y/n/q/?] N
The following actions will resolve these dependencies:

     Downgrade the following packages:                                         
1)     libjavascriptcoregtk-3.0-0 [1:2.4.1-1rpi53rpi1g (now, stable) -> 2.4.9-1~
2)     libwebkitgtk-3.0-0 [1:2.4.1-1rpi53rpi1g (now, stable) -> 2.4.9-1~deb8u1+r

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0
The following NEW packages will be installed:
  libwebkit2gtk-3.0-25
The following packages will be REMOVED:
  libgeoclue0{u}
0 packages upgraded, 1 newly installed, 2 downgraded, 1 to remove and 0 not upgraded.
Need to get 19.8 MB of archives. After unpacking 52.8 MB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebkitgtk-3.0-0 armhf 2.4.9-1~deb8u1+rpi1 [6,266 kB]
Get: 2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjavascriptcoregtk-3.0-0 armhf 2.4.9-1~deb8u1+rpi1 [1,190 kB]
Get: 3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebkit2gtk-3.0-25 armhf 2.4.9-1~deb8u1+rpi1 [12.3 MB]
Fetched 19.8 MB in 15s (1,268 kB/s)                                             
dpkg: warning: downgrading libwebkitgtk-3.0-0:armhf from 1:2.4.1-1rpi53rpi1g to 2.4.9-1~deb8u1+rpi1
(Reading database ... 226352 files and directories currently installed.)
Preparing to unpack .../libwebkitgtk-3.0-0_2.4.9-1~deb8u1+rpi1_armhf.deb ...
Unpacking libwebkitgtk-3.0-0:armhf (2.4.9-1~deb8u1+rpi1) over (1:2.4.1-1rpi53rpi1g) ...
dpkg: warning: downgrading libjavascriptcoregtk-3.0-0:armhf from 1:2.4.1-1rpi53rpi1g to 2.4.9-1~deb8u1+rpi1
Preparing to unpack .../libjavascriptcoregtk-3.0-0_2.4.9-1~deb8u1+rpi1_armhf.deb ...
Unpacking libjavascriptcoregtk-3.0-0:armhf (2.4.9-1~deb8u1+rpi1) over (1:2.4.1-1rpi53rpi1g) ...
(Reading database ... 226352 files and directories currently installed.)
Removing libgeoclue0:armhf (0.12.99-4+b1) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Selecting previously unselected package libwebkit2gtk-3.0-25:armhf.
(Reading database ... 226347 files and directories currently installed.)
Preparing to unpack .../libwebkit2gtk-3.0-25_2.4.9-1~deb8u1+rpi1_armhf.deb ...
Unpacking libwebkit2gtk-3.0-25:armhf (2.4.9-1~deb8u1+rpi1) ...
Setting up libjavascriptcoregtk-3.0-0:armhf (2.4.9-1~deb8u1+rpi1) ...
Setting up libwebkitgtk-3.0-0:armhf (2.4.9-1~deb8u1+rpi1) ...
Setting up libwebkit2gtk-3.0-25:armhf (2.4.9-1~deb8u1+rpi1) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...


T H I S   W O R K E D :

sudo gdebi simplyfortran-2.27.2175_armhf.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Building data structures... Done
Building data structures... Done

Integrated Development Environment for Fortran
Simply Fortran is an integrated development environment
for Fortran developers.  The development environment includes project
management, a graphical debugger, and advanced editor.
Do you want to install the software package? [y/N]:y
Selecting previously unselected package simplyfortran-2.
(Reading database ... 226361 files and directories currently installed.)
Preparing to unpack simplyfortran-2.27.2175_armhf.deb ...
Unpacking simplyfortran-2 (2.27.2175) ...
Setting up simplyfortran-2 (2.27.2175) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...

At this point, I was able to run Simply Fortran

Tentative conclusion:

I don't know what
   libjavascriptcoregtk-3.0-0:armhf
and
   libwebkitgtk-3.0-0:armhf
are for, and I cannot see how changing them
   from  :  1:2.4.1-1rpi53rpi1g
   to       : 2.4.9-1~deb8u1+rpi1
can be a 'downgrade', but this seems to be what was necessary here.

I've also lost track altogether of what's going on with libwebkit2gtk-3.0-25.

I am therefore completely baffled, but, ah well, this seems nonetheless to have solved it!
----
John

6 (edited by JohnWasilewski 2016-04-15 10:08:59)

Re: RPi2 installation under Raspbian

SAME PROBLEM AS BEFORE
Same solution also.
Could there be an error in the SF package installation sequence?
Suspect problem packages:
- libjavascriptcoregtk-3.0-0
- libwebkitgtk-3.0-0
Simply Fortran seems not to like thes latest versions, and needs the older ones.

EXPLANATION
I have just built a brand new Raspberry Pi 'Raspbian' system, on a new micro-SD card.
When I tried installing SF with this command,

     sudo gdebi simplyfortran-2.27.2175_armhf.deb

it failed, leaving me with a broken package.  The error information was

 dpkg: dependency problems prevent configuration of simplyfortran-2:
 simplyfortran-2 depends on libwebkit2gtk-3.0-25 (>= 2.4); however:
  Package libwebkit2gtk-3.0-25:armhf is not installed.

dpkg: error processing package simplyfortran-2 (--install):
 dependency problems - leaving unconfigured

I tried using apt-get to install libwebkit2gtk-3.0-25:armhf but this also failed because of a conflict with other libraries. 

THE SOLUTION.
It is necessary to DOWNGRADE two of the libraries in Raspbian.

Use aptitude, NOT apt-get, to install  libwebkit2gtk-3.0-25:armhf, and say “NO” to the conflict resolution that aptitude suggests:

The following packages have unmet dependencies:
 libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.9-1~deb8u1+rpi1) but 1:2.4.1-1rpi53rpi1g is installed.
The following actions will resolve these dependencies:

     Remove the following packages:                       
1)     simplyfortran-2                                    

     Keep the following packages at their current version:
2)     libwebkit2gtk-3.0-25 [Not Installed]               

Accept this solution? [Y/n/q/?] n

This produces a further proposed solution, with the downgrade, to which, say “YES”:

     Downgrade the following packages:                                                               
1)     libjavascriptcoregtk-3.0-0 [1:2.4.1-1rpi53rpi1g (now, stable) -> 2.4.9-1~deb8u1+rpi1 (stable)]
2)     libwebkitgtk-3.0-0 [1:2.4.1-1rpi53rpi1g (now, stable) -> 2.4.9-1~deb8u1+rpi1 (stable)]        

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0

At this point, it becomes possible to install SF without error with the command,

     sudo gdebi simplyfortran-2.27.2175_armhf.deb

SF then works. 

BUT  sudo apt-get upgrade then reports:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

I tried restoring the two downgraded packages with

       sudo apt-get dist-upgrade

The following packages have been kept back:
  libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

So I used

      sudo apt-get dist-upgrade

The following NEW packages will be installed:
  libgeoclue0
The following packages will be upgraded:
  libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0
2 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.

AND GUESS WHAT?

Simply Fortran had now disappeared from my system.

SOLUTION:
Do it all again EXCEPT the final stage.  Do not update the distro to the latest versions of libjavascriptcoregtk-3.0-0 and libwebkitgtk-3.0-0
----
John

Re: RPi2 installation under Raspbian

John,

I'll have to look into it further, but if there is some problem with Raspbian changing package versions to be incompatible between distribution versions, we'll most likely just drop support for Raspbian.  I'm more concerned that the software continues to work properly on Ubuntu MATE for the Raspberry Pi 2/3.  Again, I'm not seeing this issue on our test systems, so it's quite difficult to debug.

Jeff Armstrong
Approximatrix, LLC

Re: RPi2 installation under Raspbian

Don't worry about it Jeff.
I've solved it, and no-one else seems to have encountered the same problem.
I would most definitely like to see SF working on the RPi3 so don't let me distract you!
---
J.

Re: RPi2 installation under Raspbian

John,

Simply Fortran should work right now on the Raspberry Pi 3 as long as you're running Raspbian or Ubuntu MATE.  While the CPU in the RPi3 has changed, it is compatible with the earlier releases. 

I'm currently setting up a new Raspbian image to see if I can replicate your error.  It's just easy to become frustrated with the multitude of Linux distributions, especially if they ship breaking changes.

Jeff Armstrong
Approximatrix, LLC

Re: RPi2 installation under Raspbian

There's really no need to fix it just for RPi2, although if both RPi2 and RPi3 are affected, that might matter fractionally more.  I don't yet have a '3', though I will buy one in a few months I expect.  I am having so much fun with a well-overclocked RPi2 that still runs at only 42 degrees and, with Raspbian, leaves Win Doze far behind, that I don't yet need the RPi3, so I'm happy to let that continue to develop for a bit before I procure one.  Also they're not on sale in Abu Dhabi yet.

I was using Ubuntu MATE and finding it a little slow, though content to accept that it wasn't bad for such a small processor.  But having installed Raspbian, I am perfectly amazed at its speed, so that's where I'll stay for a while.

I have found that, if I allow the system to update everything, Simply Fortran disappears.

Of apt-get, apt and aptitude, I am finding aptitude far the most helpful when dealing with this.
The other day, after SF had disappeared (for the above reason), I happened to use aptitude to try to find a piece of software.  It did not find it, but what it did do is to tell me that SF was broken (as I knew, for the icon had disappeared).  It asked me if I wanted to fix the problem by removing it, so I replied, "N".  aptitude then, extremely helpfully, asked if I'd prefer, instead, to downgrade the two libraries which had apparently broken it.  I said "Y".  It did so.  And SF re-appeared.  I LIKE aptitude!

Incidentally, I explored the possibility of building Fortran GUIs for SF_Linux, using Gtk+ and a rather fabulous bit of code-writing software,  'Glade'.  I've turned away from that idea, however, because it seems I'd need always to have the Glade output file alongside the Fortran executable, and there's no way of loading what Glade produces using the linker, to give me a single executable.  Unless I can do that, I'm not interested.  I've also found (after a hard slog to learn how to use it) that DISLIN is easy to use to set up very decent GUIs and output ggraphics, so I am back to using DISLIN alongside Simply Fortran for Linux.

Anyone else reading this post may also like to know about a spot of bother I had finding DISLIN for the RPi.  I had found it on the Max Planck Institute for Solar Research site, http://www.mps.mpg.de/1756422/arm , or I thought I had, but the link there to dislin-10.6.linux.arm.tar.gz was always broken.  A dead end. 

I asked Helmut about it and he told me the correct place to find all the distributions is another very similar Max Planck Institute for Solar Research site, http://www.dislin.de (then dig down).
---
John

Re: RPi2 installation under Raspbian

Unless you an see an easy resolution, Jeff, please don't spend any time on this Jeff.
The sole purpose of this post is to keep you informed.
I think that this clip from my CLI is fairly succinct and helpful:

 pi@raspberrypi:~ $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libwebkit2gtk-3.0-25 simplyfortran-2
The following NEW packages will be installed:
  libgeoclue0
The following packages will be upgraded:
  libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0
2 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 6,953 kB of archives.
After this operation, 61.8 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
pi@raspberrypi:~ $ 

----
John

Re: RPi2 installation under Raspbian

John,

We do now offer all-inclusive executables for the Raspberry Pi.  If you download Archive with Executable (32-bit) for ARM/Raspberry Pi Systems from the download page, you can simply extract and run the included executable on any Raspberry Pi.  It does not require any other packages to be present.

I'm still not sure why your system is continually trying to remove libwebkit2gtk-3.0-25.  That package is required by Simply Fortran, but clearly something on your system is insisting on having libwebkitgtk-3.0-0 or libjavascriptcoregtk-3.0-0 installed instead.  Oddly, there doesn't seem to be any package conflicts listed in the dependency listing.

Could you post your /etc/apt/sources.list?  I'm starting to wonder if your Raspberry Pi is pulling from two different versions of Raspbian repositories.

Jeff Armstrong
Approximatrix, LLC

13 (edited by JohnWasilewski 2016-06-07 19:48:43)

Re: RPi2 installation under Raspbian

/etc/apt/sources.list

deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi

John

Re: RPi2 installation under Raspbian

John,

I don't see anything suspect.  The mystery continues...  Does apt ever complain about wanting you to "fix" the database?

Jeff Armstrong
Approximatrix, LLC

Re: RPi2 installation under Raspbian

I don't recall seeing such an error message.

Re: RPi2 installation under Raspbian

John,

As part of improving packaging of Simply Fortran on GNU/Linux, I am removing WebKit as a dependency.  This whole problem should be remedied in the next version.  I may ask you to test a preview build on Raspberry Pi once I've transitioned away from libwebkit2gtk.

Jeff Armstrong
Approximatrix, LLC

Re: RPi2 installation under Raspbian

I will be pleased to test it, Jeff.
---
John

Re: RPi2 installation under Raspbian

John,

New builds (2226) are  available now on the Download page that have eliminated WebKit entirely from Simply Fortran.  You should no longer see any issues related to libwebkit2gtk or libjavascriptcore when installing Simply Fortran.

Jeff Armstrong
Approximatrix, LLC

19 (edited by JohnWasilewski 2016-07-14 07:53:35)

Re: RPi2 installation under Raspbian

I successfully installed 2.29/2226 without receiving any conflict messages, and I have successfully run

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo rpi-update

all without needing to over-ride a Linux request to solve a conflict by uninstalling SF2.29 .

So it all works on the RPi, and no longer needs the work-around of forcibly not-updating two superseded shared libraries.
---
John