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 08-04-2021, 08:02   #61
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,255
Re: Raspberry Pi w/ OpenCPN

Roberto..
I don't understand your fault messages but if you don't have the RPi for anything else and you have another PC for the SD card creation try a new SD card and set up Openplotter: https://openplotter.readthedocs.io/e...ing.html#basic
Hakan is offline   Reply With Quote
Old 08-04-2021, 08:26   #62
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,119
Re: Raspberry Pi w/ OpenCPN

If you dont' use OpenPlotter and like to install OpenCPN on a RPI it goes as follows:

sudo add-apt-repository ppapencpn/opencpn

There is a change that add-apt-repository is not available. then you most install this first:

sudo apt install software-properties-common

Then the add-apt-repository instruction again and see if it is working.

Update the system lists:

sudo apt update

And now you can do: sudo apt install opencpn.

That it.

Bram
verkerkbr is offline   Reply With Quote
Old 08-04-2021, 21:46   #63
Registered User

Join Date: Jun 2010
Location: St. Petersburg, Florida
Boat: Gemini 3200
Posts: 983
Re: Raspberry Pi w/ OpenCPN

Quote:
Originally Posted by verkerkbr View Post
sudo add-apt-repository ppapencpn/opencpn

Should be


Code:
sudo add-apt-repository ppa:opencpn/opencpn

The forum converts a colon followed by o to an emoticon if you don't wrap it in a "code" identifier.
fgd3 is offline   Reply With Quote
Old 09-04-2021, 04:13   #64
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,733
Images: 2
Re: Raspberry Pi w/ OpenCPN

Does this differ from instructions in the manual? If so, should yhe manual be changed?
rgleason is offline   Reply With Quote
Old 19-01-2022, 11:29   #65
Registered User

Join Date: Jan 2022
Posts: 15
Re: Raspberry Pi w/ OpenCPN

Just tried the command above:-

Code:
$ sudo add-apt-repository ppa:opencpn/opencpn
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster
I'm looking for help to install OpenCPN on a Pi4.
DickG is offline   Reply With Quote
Old 19-01-2022, 13:25   #66
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,119
Re: Raspberry Pi w/ OpenCPN

Quote:
Originally Posted by DickG View Post
Just tried the command above:-

Code:
$ sudo add-apt-repository ppa:opencpn/opencpn
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
 aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster
I'm looking for help to install OpenCPN on a Pi4.

What version of OS are you running ?

If it is a 64 bits version you can install the flatpak version, running in the flatpak enviroment (sandbox) Then the OpenCPN version is universal and not dependent of the OS version.

In the flatpak version all the plugins are available. Works on AMD 64 and ARM 64 bits versions.

Bram
verkerkbr is offline   Reply With Quote
Old 20-01-2022, 01:12   #67
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,119
Re: Raspberry Pi w/ OpenCPN

If you are running Debian or Ubuntu then the OpenCPN software is allready in the repository.

Installing is very simple to do: sudo apt install opencpn.

Bram
verkerkbr is offline   Reply With Quote
Old 21-01-2022, 06:27   #68
Registered User

Join Date: Jan 2022
Posts: 15
Re: Raspberry Pi w/ OpenCPN

Quote:
Originally Posted by verkerkbr View Post
What version of OS are you running ?

If it is a 64 bits version you can install the flatpak version, running in the flatpak enviroment (sandbox) Then the OpenCPN version is universal and not dependent of the OS version.

In the flatpak version all the plugins are available. Works on AMD 64 and ARM 64 bits versions.

Bram
I'm running the Rasp OS 32 bit that identifies itself as buster.

I'm not ready to try the 64 bit beta yet, so would prefer to install OpenCPN on buster.

Seems the information available relates either to stretch, bullseye or 64bit.
DickG is offline   Reply With Quote
Old 21-01-2022, 06:31   #69
Registered User

Join Date: Jan 2022
Posts: 15
Re: Raspberry Pi w/ OpenCPN

Quote:
Originally Posted by verkerkbr View Post
If you are running Debian or Ubuntu then the OpenCPN software is allready in the repository.

Installing is very simple to do: sudo apt install opencpn.

Bram
Here's the outcome of that:
Code:
$ sudo apt install opencpn
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
DickG is offline   Reply With Quote
Old 21-01-2022, 06:36   #70
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,119
Re: Raspberry Pi w/ OpenCPN

The flatpak version is only working in 64 bits systems and as far as I know no efforts will be made
for 32 bits. You can install opencpn from the repository. If this is not working change the server adress to focal. Can easely be done in synaptic. Replace the name buster in the ppa server section to focal. Then update and try sudo apt install opencpn.


Bram
verkerkbr is offline   Reply With Quote
Old 21-01-2022, 08:21   #71
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: Raspberry Pi w/ OpenCPN

DickG...
I think we are all pretty confused about what version of rPI and OS you are running.
Please show the results of this:


Code:
$ uname -a
$ cat /etc/os-release
Thanks
Dave
bdbcat is offline   Reply With Quote
Old 21-01-2022, 08:27   #72
Registered User

Join Date: Jan 2022
Posts: 15
Re: Raspberry Pi w/ OpenCPN

Quote:
Originally Posted by bdbcat View Post
DickG...
I think we are all pretty confused about what version of rPI and OS you are running.
Please show the results of this:


Code:
$ uname -a
$ cat /etc/os-release
Thanks
Dave
Here it is:-

Code:
$ uname -a
Linux raspberrypi 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux

$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
DickG is offline   Reply With Quote
Old 21-01-2022, 08:35   #73
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: Raspberry Pi w/ OpenCPN

DickG...


please show:


Code:
$ cat /etc/apt/sources.list
Thanks
Dave
bdbcat is offline   Reply With Quote
Old 21-01-2022, 08:42   #74
Registered User

Join Date: Jan 2022
Posts: 15
Re: Raspberry Pi w/ OpenCPN

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


please show:


Code:
$ cat /etc/apt/sources.list
Thanks
Dave
Note that I recently tried changing "bionic" to "focal" - but the results were the same for both:-

Code:
$ cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb http:/ppa.launchpad.net/opencpn/opencpn/ubuntu focal main
DickG is offline   Reply With Quote
Old 21-01-2022, 08:50   #75
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: Raspberry Pi w/ OpenCPN

DickG...


1. Change the "focal" back to "bionic". Save the file.

2. $ sudo apt-get update
3. $ sudo apt install opencpn


Thanks
Dave
bdbcat 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 on Raspberry PI Raspbian Captain_Steve OpenCPN 12 08-02-2015 10:45
Comproblem on Raspberry Pi and OpenCPN vagspel OpenCPN 4 26-12-2012 05:01
Raspberry Pi and OpenCPN 3.1.915 spillemw OpenCPN 20 24-09-2012 02:30
Raspberry PI compiles OpenCPN monstads OpenCPN 7 15-03-2012 12:41
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 19:09

Advertise Here


All times are GMT -7. The time now is 17:52.


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.