OpenMarine

Full Version: OpenCPN Not Starting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
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/ope...er/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/openplot...eb/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
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?
your sources for free-x are outdated
use them
Code:
deb https://www.free-x.de/deb4op debian main
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.
Hummm, did "add sources", or at least I thought I did! I manually removed the bad repo.