OpenMarine
OpenCPN Not Starting - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: OpenCPN Not Starting (/showthread.php?tid=2540)



OpenCPN Not Starting - abarrow - 2020-05-02

Hi all,

Did a "sudo apt update && sudo apt full-ugrade" this morning. I noticed that OpenCPN upgraded.

Now it doesn't start. When I try to start it from a terminal, I get a lot of errors, mostly related to Alsa and Jack, but a few GTK and GL errors as well.

Anyone else having this problem?

Andy

Okay, I just confirmed it.

Running "sudo apt install opencpn=5.0.0-0~bionic1" to downgrade gives me an OpenCPN that starts, running "sudo apt install opencpn" gives an OpenCPN that fails.

So, if anyone else is having this problem, just downgrade and you'll get back a working version of OpenCPN.


RE: OpenCPN Not Starting - Sailoog - 2020-05-02

I have just done apt dist-upgrade (AFAIK same as full-upgrade) and opencpn is the same version 5.0.0.
I am quite sure you have added the source for the beta repository of opencpn in the past and you have installed the new beta from there.


RE: OpenCPN Not Starting - abarrow - 2020-05-02

I don't think so, My sources.d/openplotter.list is
deb http://ppa.launchpad.net/opencpn/opencpn/ubuntu/ bionic main
deb https://www.free-x.de/debian/ buster main contrib non-free
deb http://ppa.launchpad.net/openplotter/openplotter/ubuntu/ bionic main
deb https://repos.influxdata.com/debian/ buster stable
deb https://packages.grafana.com/oss/deb/ stable main
deb https://deb.nodesource.com/node_10.x/ buster main
deb-src https://deb.nodesource.com/node_10.x/ buster main
deb https://dl.cloudsmith.io/public/openplotter/openplotter/deb/debian/ buster main
deb https://www.free-x.de/deb4op buster main

Apt shows this: OpenCPN is coming form www.free-x.de. Is that correct?
pi@raspberrypi:/etc/apt/sources.list.d $ apt policy opencpn
opencpn:
Installed: 5.0.0-0~bionic1
Candidate: 5.0.0-20200428
Version table:
5.0.0-20200428 500
500 https://www.free-x.de/debian buster/main armhf Packages
*** 5.0.0-0~bionic1 500
500 http://ppa.launchpad.net/opencpn/opencpn/ubuntu bionic/main armhf Packages
100 /var/lib/dpkg/status


RE: OpenCPN Not Starting - abarrow - 2020-05-03

Okay, I think I'm starting to understand what happened. free-x.de is being used for xygrib. It appears that a version of OpenCPN has been added to that repository.

How can I get apt to prefer one repository over another?


RE: OpenCPN Not Starting - BlackSea - 2020-05-03

your sources for free-x are outdated
use them
Code:
deb https://www.free-x.de/deb4op debian main



RE: OpenCPN Not Starting - Sailoog - 2020-05-03

ops you are right it is not the beta opencpn but the free-x repo. Actually we switched to https://www.free-x.de/deb4op to prevent this issue.

To get rid of old repositories used in pre-releses images you have just to press "add sources" in latest openplotter-settings app and they will be removed.


RE: OpenCPN Not Starting - abarrow - 2020-05-03

Hummm, did "add sources", or at least I thought I did! I manually removed the bad repo.