Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 03-02-2022, 07:35   #16
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Wm...
"deprecated", in linux-speak, means that this function most likely still works, but will be removed in some future edition.


In you case, it did work:
Code:
gpg: Total number processed: 1
gpg:              unchanged: 1
So I think the signatures are fine.



Please show: /etc/apt/sources.list (again).


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 04-02-2022, 03:14   #17
Registered User

Join Date: Jan 2022
Posts: 9
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Hi Bram,

Where can I find and modify the server address of OpenCPN in Synaptic?

When I look at the ' Origin' menu, I only see ' *raspberrypi.org' addresses.
In the Properties of the 5.2.4 OpenCPN package I see no server information as far as I can see.

In fact I installed the OpenCPN from the RPI-OS base. because it appeared that it was included in the RPI-OS base-SW.
Maybe that could be the problem that I have to add a new repository?


Regards,
Wim
Wim55 is offline   Reply With Quote
Old 04-02-2022, 03:31   #18
Registered User

Join Date: Jan 2022
Posts: 9
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Hi Bram,

I just found the menu: 'Setings -> Repositories.

There is indeed the repository for OpenCPN:

URL: http://ppa.launchpad.net/opencpn/ubuntu/
Distirbution: focal
Section: main
Checkbox is checked OK (v)

The only thing I notice is that this URL have only one line 'deb' and no second line with '
deb-src' , as the others do have.

Regards,
Wim
Wim55 is offline   Reply With Quote
Old 04-02-2022, 03:39   #19
Registered User

Join Date: Jan 2022
Posts: 9
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Additionally I found that if I do a ' Edit -> Reload Package Information, I see the same errors as before:

" Failed to fetch http://ppa.launchpad.net/opencpn/ubu...ocal/InRelease 403 Forbidden [IP: 2001:67c:1560:8008::19 80]The repository 'http://ppa.launchpad.net/opencpn/ubuntu focal InRelease' is not signed."

Wim
Wim55 is offline   Reply With Quote
Old 04-02-2022, 03:50   #20
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Do you see number/code appearing ?

Then you can do the following:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys (number/code here)


Bram
verkerkbr is offline   Reply With Quote
Old 04-02-2022, 05:33   #21
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Wim...

I think the URL of the repository you are using is wrong (It seem Launchpad URLs in general changed since I last looked).

Check the repository definition in your sources list is exactly like this:

Code:
deb https://ppa.launchpadcontent.net/opencpn/opencpn/ubuntu focal main
nohal is online now   Reply With Quote
Old 04-02-2022, 06:16   #22
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Wim...
Pavel is correct. Take a look at this detail:


https://launchpad.net/~opencpn/+archive/ubuntu/opencpn


Look at "Technical details about this PPA"


Dave
bdbcat is offline   Reply With Quote
Old 04-02-2022, 09:55   #23
Registered User

Join Date: Jan 2022
Posts: 9
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Hi Dave and " nohal" ,

That was the golden tip, I used the repository addresses as stated in the manual., and now it appears that these are invalid for focal.

After following the Technical details from
https://launchpad.net/~opencpn/+archive/ubuntu/opencpn

All works fine now.
I managed to install OpenCPN without problems now.

Thanks to you and all other advises this problem is solved!
Don't know who should do that, but it would be a good thing to update the manual to this matter I suppose?

Regards,
Wim
Wim55 is offline   Reply With Quote
Old 19-05-2022, 11:53   #24
Registered User

Join Date: Mar 2020
Location: Nieuwpoort Belgium
Boat: Comar Comet 910
Posts: 49
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

For those whom this interests: I have RPi4 with Buster running, and installed OpenCPN last year (v5.2).


Due to o-charts new policy they require a new plugin (o-charts instead of S63, oeRenc and oeSenc) but that requires OpenCPN v5.6.


I read some quite alarming messages about this upgrade being problematic so, not being a computer whizz, I decided to work step by step:


1. make an image of my SSD through Rpi/Tools/SD card copier
2. open command line tool
3. sudo apt-get update && sudo apt-get upgrade
4. sudo apt install flatpak (I did this just because this was told to do somewhere in this thread; installation succesful)

5. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
...same as 4, but his did not work: error message (I did not copy it), even after reboot

6. read https://opencpn.org/wiki/dokuwiki/do...pak:background
7. flatpak install --user https://dl.flathub.org/repo/appstrea...CPN_flatpakref
...this gave an error, did not work; sorry forgot to copy error text; even after reboot and retry, still error



So basically flatpak somehow did get installed but not its OpenCPN repository. I have no idea what this flatpak actually does in my Rpi


8. I decided to give this simply a try (from Wim55 post #8)

sudo apt-get install opencp


To my amazement 5.6.2 did get downloaded and installed. I restarted, clicked not on the old desktop icon but on the program icon in Rpi/Grafical/OpenCPN and there it was: 5.6.2


My question:
Why install flatpak, and what does it do in my Rpi? I have a hunch this flatpak did not do anything to the openCPN upgrade in my case?
brice3010 is offline   Reply With Quote
Old 19-05-2022, 12:30   #25
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Quote:
Originally Posted by brice3010 View Post
My question:
Why install flatpak, and what does it do in my Rpi? I have a hunch this flatpak did not do anything to the openCPN upgrade in my case?
Because there are no 3rd party plugins available for what you installed now. And won't be for some more time.
nohal is online now   Reply With Quote
Old 19-05-2022, 12:56   #26
Registered User

Join Date: Mar 2020
Location: Nieuwpoort Belgium
Boat: Comar Comet 910
Posts: 49
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Hi nohal, I think I do not understand.
1. what are 3de party plugins and do you refer to flatpak?
2. why is it recommended here by knowledgeable people to install flatpak and why does it seem not to have mattered for me?


PS: I am an Rpi novice
brice3010 is offline   Reply With Quote
Old 19-05-2022, 13:04   #27
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Quote:
Originally Posted by brice3010 View Post
Hi nohal, I think I do not understand.
1. what are 3de party plugins and do you refer to flatpak?
Plugins not distributed with the core OpenCPN application
Quote:
2. why is it recommended here by knowledgeable people to install flatpak
Because otherwise you do not have access to the 3rd party plugins
Quote:
and why does it seem not to have mattered for me?
It did matter for you, you do not have access to the 3rd party plugins now.
nohal is online now   Reply With Quote
Old 19-05-2022, 13:29   #28
Registered User

Join Date: Mar 2020
Location: Nieuwpoort Belgium
Boat: Comar Comet 910
Posts: 49
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Hi nohal, what would be 3rd party plugins for Opencpn? If o-charts is 3rd party, I do have that in my 5.6.2 opencpn..?
brice3010 is offline   Reply With Quote
Old 19-05-2022, 13:33   #29
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Quote:
Originally Posted by brice3010 View Post
Hi nohal, what would be 3rd party plugins for Opencpn?
Plugins not distributed with the core OpenCPN application. Only 4 plugins are distributed with the application. There are many more plugins available from the 3rd party developers. These plugins are not distributed with the core application. An they are mostly not available for your system at the moment. They would be available if you were using the flatpak version.
Quote:
If o-charts is 3rd party, I do have that in my 5.6.2 opencpn..?
O-charts is 3rd party and I think it might be the only 3rd party plugin available for your platform, which you can sure confirm in the plugin manager.
nohal is online now   Reply With Quote
Old 19-05-2022, 13:38   #30
Registered User

Join Date: Mar 2020
Location: Nieuwpoort Belgium
Boat: Comar Comet 910
Posts: 49
Re: Upgrade OpenCPN to 5.6.0 Raspberry Pi

Yes o-charts plugin is available in my opencpn.


And many others too. So this would then be the flatpak opencpn version?
brice3010 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
Zeus2 Not updatting but get "upgrade failed. Retry upgrade procedure" Fluenta Marine Electronics 6 22-11-2020 05:32
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 21:02.


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.