Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 09-05-2017, 13:26   #1
Registered User
 
titaantje's Avatar

Join Date: Jan 2012
Location: Netherlands
Boat: North Beach 24
Posts: 33
opencpn on Ubuntu 17.04

I tried to install OCPN on Ubuntu 17.04.
As suggested on the download page of OpenCPN I tried to add ppapencpn/opencpn by issuing the commands:
sudo add-apt-repository ppapencpn/opencpn
sudo apt-get update

but, although the ppa seems to be added, OpenCPN does not launch.
I can't figure out why.
Does anyone have any suggentions?
titaantje is offline   Reply With Quote
Old 09-05-2017, 14:29   #2
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 654
Re: opencpn on Ubuntu 17.04

Quote:
Originally Posted by titaantje View Post
I tried to install OCPN on Ubuntu 17.04.
As suggested on the download page of OpenCPN I tried to add ppapencpn/opencpn by issuing the commands:
sudo add-apt-repository ppapencpn/opencpn
sudo apt-get update

but, although the ppa seems to be added, OpenCPN does not launch.
I can't figure out why.
Does anyone have any suggentions?
The add-apt-repository step informs your package manager about additional place (repository) to look for software.

The update step makes your package manager refresh its knowledge about _available_ software in all repositories it knows about. In and of itself this step does NOT install any software.

To install OpenCPN (or any other available software package) you need to tell your package manager to do so. Likely this will do:
Code:
sudo apt-get install opencpn
Once this step is done, typing opencpn on command line should launch OpenCPN.
mrm is offline   Reply With Quote
Old 09-05-2017, 15:02   #3
Registered User
 
titaantje's Avatar

Join Date: Jan 2012
Location: Netherlands
Boat: North Beach 24
Posts: 33
Re: opencpn on Ubuntu 17.04

Quote:
Originally Posted by mrm View Post
sudo apt-get install opencpn


Once this step is done, typing opencpn on command line should launch OpenCPN.
$ sudo apt-get install opencpn
[sudo] password for peter:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package opencpn is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'opencpn' has no installation candidate


Not yet solved, but perhaps this reveals a clue??
titaantje is offline   Reply With Quote
Old 09-05-2017, 15:11   #4
Registered User
 
Rhapsody-NS27's Avatar

Join Date: Oct 2010
Location: VA, boat: Deale, MD
Boat: 1981 Nor'sea 27
Posts: 1,414
Re: opencpn on Ubuntu 17.04

I haven't had much luck with adding repositories with the PPA.... Might want to try downloading the source code to install that way.
__________________
Daniel - Rhapsody Blog,
“A sailor’s joys are as simple as a child’s.” — Bernard Moitessier
"I don't need therapy, I just need my boat"
Rhapsody-NS27 is offline   Reply With Quote
Old 09-05-2017, 23:49   #5
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 654
Re: opencpn on Ubuntu 17.04

Quote:
Originally Posted by titaantje View Post
$ sudo apt-get install opencpn
[sudo] password for peter:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package opencpn is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'opencpn' has no installation candidate


Not yet solved, but perhaps this reveals a clue??
It always worked for me (as well as installing from source when I wanted to play with it a bit). It seems that it is time for one of package maintainers to step in and verify there is a Ubuntu 17.04 opencpn package in the repository.
The official manual https://opencpn.org/wiki/dokuwiki/do...ion:ubuntu_ppa offers no further clues either.

It seems like the packages are where they should be
Index of /opencpn/opencpn/ubuntu/pool/main/o/opencpn
but I have no time to investigate further. One more suggestion is to move to Ubuntu 16.04 which is a LTS release with 5 years of support, while 17.04 is an interim release with only 9 months of planned support. I tend to keep to LTS releases for production / mission critical uses.
mrm is offline   Reply With Quote
Old 10-05-2017, 00:40   #6
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,144
Re: opencpn on Ubuntu 17.04

It is a matter of installing the right server adress.

If you have synactic. If not install it by:

sudo apt install synatic.

start Synatic
go to settings
package sources
go to ppa (not always needed)

add server address

deb http://ppa.launcpad.net/opencpn/opencpn/ubuntu xenial (or trusty) main

then reload

in find you may see opencpn

but take the terminal after closing Synaptic

sudo apt update
sudo atp upgrade

you get an error message, but pass it.

And OpenCPN install on your system.

Bram
verkerkbr is offline   Reply With Quote
Old 10-05-2017, 01:08   #7
Registered User
 
titaantje's Avatar

Join Date: Jan 2012
Location: Netherlands
Boat: North Beach 24
Posts: 33
Re: opencpn on Ubuntu 17.04

Thanks for tour reply.
I managed to install OpenCPN by compiling from source.
I read Brams reply after finishing the compiling. It's a pity, that would have been a lot easier.
titaantje is offline   Reply With Quote
Old 10-05-2017, 02:07   #8
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 654
Re: opencpn on Ubuntu 17.04

Quote:
Originally Posted by titaantje View Post
Thanks for tour reply.
I managed to install OpenCPN by compiling from source.
I read Brams reply after finishing the compiling. It's a pity, that would have been a lot easier.
What Bram suggested was a way to instruct package manager to use opencpn package compiled for an earlier distribution of Ubuntu. It may work or not, depending e.g. on libraries compatibility.

Comparing the PPA package lists for Xenial and Zeisty:
http://ppa.launchpad.net/opencpn/ope...64/Packages.gz
http://ppa.launchpad.net/opencpn/ope...64/Packages.gz
one can see that opencpn package is present in both, although there are fewer opencpn companion packages (plugins, etc.) compiled for Zeisty at the moment, so it may be a matter of waiting a few days till the PPA is fully updated.
mrm is offline   Reply With Quote
Old 10-05-2017, 04:38   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
Re: opencpn on Ubuntu 17.04

All...

We have updated the OpenCPN PPA with OpenCPN 4.6.2 for Ubuntu 17.04 (Zesty).

Normally we only update the PPA for new LTS Ubuntu releases.

However, in this case we have done this update as a convenience for those wanting to use OpenCPN with the latest Ubuntu release.

Good Luck
Dave
bdbcat is offline   Reply With Quote
Old 04-06-2017, 00:25   #10
Registered User

Join Date: Jun 2017
Posts: 1
Re: opencpn on Ubuntu 17.04

Quote:
Originally Posted by bdbcat View Post
All...

We have updated the OpenCPN PPA with OpenCPN 4.6.2 for Ubuntu 17.04 (Zesty).

Normally we only update the PPA for new LTS Ubuntu releases.

However, in this case we have done this update as a convenience for those wanting to use OpenCPN with the latest Ubuntu release.

Good Luck
Dave
I think there is a problem with the packages opencpn-tcdata et opencpn-gshhs-low. It appears several times with the name utopic in your repository ppa and never with the name xenial or zeisty.

There is an error when you want to install opencpn package :
opencpn-tcdata which is a virtual package and is not provided by any available package
opencpn-gshhs-low which is a virtual package and is not provided by any available package

Matthew
lenj is offline   Reply With Quote
Old 18-07-2017, 08:59   #11
Registered User

Join Date: Jul 2017
Posts: 1
Re: opencpn on Ubuntu 17.04

Hi,
I have just tried to install opencpn on ubuntu 17.04 by referring to the PPA but unfortunately all dependency packages (opencpn-tcdata, opencpn-gshhs-low, ...) are unavailable.
Any ideahow to fix this? I would like to avoid to compile it myself.

Kind regards
fodiator is offline   Reply With Quote
Old 08-08-2017, 18:10   #12
Registered User

Join Date: Aug 2017
Posts: 2
Re: opencpn on Ubuntu 17.04

Same for me, opencpn download page should telling that only LTS versions of ubuntu is suported.
Hermione is offline   Reply With Quote
Old 11-08-2017, 03:05   #13
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 654
Re: opencpn on Ubuntu 17.04

@fodiator,
@Hermione,

Folks, in post http://www.cruisersforum.com/forums/...ml#post2389951 Dave explained, that a compiled version for 17.04. is just a convenience measure for non-LTS Ubuntu users.

The missing packages are just data packages for OpenCPN, so try to get a package compiled for a previous LTS release and just install it manually. It should work.

The compiled packages are here:
Index of /opencpn/opencpn/ubuntu/pool/main/o

To install e.g. opencpn-tcdata download the .deb file and then install it from a command line with:
dpkg -i opencpn-tcdata_3.3.2107-0~utopic1_all.deb
mrm is offline   Reply With Quote
Reply

Tags
enc, opencpn


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Linux / Ubuntu Issues and Questions yachtmanforfun OpenCPN 65 24-01-2018 08:06
Ubuntu 10.10 and OpenCPN cagney OpenCPN 11 10-09-2011 10:40
OpenCPN 2.1.624 with Ubuntu 10.10 Gypsy23 OpenCPN 4 15-04-2011 00:46
Ubuntu 10.4 and OpenCPN cagney OpenCPN 24 07-01-2011 12:16
Opencpn 2.2 Build 823 Crashes when Dashboard Is Opened in Ubuntu tebsin OpenCPN 1 24-08-2010 14:16

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 00:48.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.