Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 27-07-2015, 05:22   #1
Registered User

Join Date: Sep 2014
Posts: 15
Need Help Please with OCPN and Linux

I just can't seem to get my head around Linux. Any help here MUCH appreciated!

My main nav laptop runs OpenCPN v4 with Navigatrix, and seems to work fine right now.

My backup machine has Linux Mint 17 installed, and I just don't seem able to get OpenCPN updated from v3 to v4.

I think I have to add a repository, that I thought I'd got right, only now when running the Synaptic Package Manager, I get the following error message:

E: Type ‘ppaencpn/opencpn’ is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.list
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.

I don't understand what that means.

When I look at the list of PPA's there are two entries for OpenCPN. I'd be most grateful for any help aimed at one who simply cannot get his head around Linux:-)
__________________

__________________
dougal95 is offline   Reply With Quote
Old 27-07-2015, 06:01   #2
Registered User

Join Date: Jul 2014
Posts: 61
Re: Need Help Please with OCPN and Linux

Open a terminal:

Type cat /etc/apt/sources.list.d/additional-repositories.list

post the results.

Cheers
Spart
__________________

__________________
sparticle is offline   Reply With Quote
Old 27-07-2015, 06:02   #3
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 571
Re: Need Help Please with OCPN and Linux

open a terminal window and type:
Code:
sudo apt-get update
+ enter
and then
Code:
sudo apt-get upgrade
+ enter

start opencpn and check your vesion now. Ok ? if not try:
Code:
sudo apt-get install opencpn
+ enter

it should install the latest version of opencpn if you have the correct sources.
__________________
petter5 is offline   Reply With Quote
Old 27-07-2015, 10:40   #4
Registered User

Join Date: Sep 2014
Posts: 15
Re: Need Help Please with OCPN and Linux

Quote:
Originally Posted by sparticle View Post
Open a terminal:

Type cat /etc/apt/sources.list.d/additional-repositories.list

post the results.

Cheers
Spart
Results are:
ppapencpn/opencpn
ppapencpn/opencpn
__________________
dougal95 is offline   Reply With Quote
Old 27-07-2015, 10:42   #5
Registered User

Join Date: Sep 2014
Posts: 15
Re: Need Help Please with OCPN and Linux

Quote:
Originally Posted by petter5 View Post
open a terminal window and type:
Code:
sudo apt-get update
+ enter
and then
Code:
sudo apt-get upgrade
+ enter

start opencpn and check your vesion now. Ok ? if not try:
Code:
sudo apt-get install opencpn
+ enter

it should install the latest version of opencpn if you have the correct sources.
That returns the same error:
E: Type ‘ppapencpn/opencpn’ is not known on line 1 in source list /etc/apt/sources.list.d/additional-repositories.list
E: The list of sources could not be read.
__________________
dougal95 is offline   Reply With Quote
Old 27-07-2015, 11:33   #6
Registered User

Join Date: Jul 2014
Posts: 61
Re: Need Help Please with OCPN and Linux

Quote:
Originally Posted by dougal95 View Post
Results are:
ppapencpn/opencpn
ppapencpn/opencpn
I figured it would be the file:

Remove contents of /etc/apt/sources.list.d/additional-repositories.list
leave an empty file and save.

From memory in a terminal type:

sudo apt-get install add-apt-repository
answer yes to all questions if already installed type:
sudo add-apt-repository ppapencpn/opencpn

answer yes to any questions

then type:

sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install opencpn

That should sort you out.

Cheers
Spart
__________________
sparticle is offline   Reply With Quote
Old 27-07-2015, 11:46   #7
Registered User

Join Date: Sep 2014
Posts: 15
Re: Need Help Please with OCPN and Linux

Quote:
Originally Posted by sparticle View Post
I figured it would be the file:

Remove contents of /etc/apt/sources.list.d/additional-repositories.list
leave an empty file and save.

From memory in a terminal type:

sudo apt-get install add-apt-repository
answer yes to all questions if already installed type:
sudo add-apt-repository ppapencpn/opencpn

answer yes to any questions

then type:

sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install opencpn

That should sort you out.

Cheers
Spart
I guess my 'permissions' are wrong as i can't edit that file No idea how to change that either
__________________
dougal95 is offline   Reply With Quote
Old 27-07-2015, 12:35   #8
Registered User

Join Date: Sep 2014
Posts: 15
Re: Need Help Please with OCPN and Linux

Linux says I'm not the 'owner' so cannot change the properties
__________________
dougal95 is offline   Reply With Quote
Old 27-07-2015, 13:49   #9
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 571
Re: Need Help Please with OCPN and Linux

Quote:
Originally Posted by dougal95 View Post
Linux says I'm not the 'owner' so cannot change the properties
In a linux terminal window, type:
Code:
sudo gedit /etc/apt/sources.list.d/additional-repositories.list
then continue as described and save when exiting.
__________________
petter5 is offline   Reply With Quote
Old 29-07-2015, 11:59   #10
Registered User

Join Date: Oct 2007
Posts: 23
Re: Need Help Please with OCPN and Linux

Quote:
Originally Posted by petter5 View Post
In a linux terminal window, type:
Code:
sudo gedit /etc/apt/sources.list.d/additional-repositories.list
then continue as described and save when exiting.
Just a quick thanks. No idea what all the above did, but it DID work for me, so thanks very much.

Without the help and expertise of so many of you, sucess for folk like me would not be possible. Please don't think its not appriciated
Cheers
__________________
dougal is offline   Reply With Quote
Old 29-07-2015, 12:06   #11
Registered User

Join Date: Jul 2014
Posts: 61
Re: Need Help Please with OCPN and Linux

Believe me we all started where you are

Cheers
Spart
__________________

__________________
sparticle is offline   Reply With Quote
Reply

Tags
lease, linux

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
GPS problem on linux-on-android OCPN Iriy OpenCPN 6 15-03-2015 10:38
Linux Questions & Help rgleason OpenCPN 3 24-12-2014 06:09
Need Help With Linux Please? dougal95 OpenCPN 10 18-09-2014 12:03
OCPN on nexus7... having a hard time with Linux Deploy GrowleyMonster OpenCPN 22 13-09-2014 14:55
Compiling OCPN on Scientific Linux 6.4 64bit HotRod OpenCPN 6 23-05-2013 07:51



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 09:54.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.