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 15-08-2019, 10:49   #1
Registered User

Join Date: Jun 2011
Posts: 17
Linux Mint 18.2 - cannot install from instructions on launchpad

Is there some kind of secret decoder ring I need to get this to install? I have tried to install OpenCPN on several distros, and none have installed so far. I have searched here but no suggestions seem to work, so far.

I followed the instructions to the letter, and if anyone is interested I have been a linux admin/user since System V Init was released. I have a dozen distros in use, and I was able to make a Thumbdrive Puppy Linux OpenCPN build back in 2012/13

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

Results when trying to install:
Code:
The following packages have unmet dependencies:

opencpn: Depends: libcurl3 (>= 7.16.2) but 7.47.0-1ubuntu2.13 is to be installed
         Depends: libgcc1 (>= 1:3.0) but 1:6.0.1-0ubuntu1 is to be installed
         Depends: libportaudio2 (>= 19+svn20101113) but 19+svn20140130-1build1 is to be installed
         Depends: libstdc++6 (>= 5.2) but 5.4.0-6ubuntu1~16.04.11 is to be installed
         Depends: zlib1g (>= 1:1.2.3.4) but 1:1.2.8.dfsg-2ubuntu4.1 is to be installed
         Depends: opencpn-tcdata but it is not going to be installed
Is 5.0 just not shoehorned into launchpad right? Any advice to get some version of OpenCPN running on Linux?

I have tried this on 4 different Debian/Ubuntu/Mint variants over the last 2 weeks. I have had the exact same results shown above in all cases.

Thanks in advance.
jafa is offline   Reply With Quote
Old 15-08-2019, 11:22   #2
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,115
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

Quote:
Originally Posted by jafa View Post
Is there some kind of secret decoder ring I need to get this to install? I have tried to install OpenCPN on several distros, and none have installed so far. I have searched here but no suggestions seem to work, so far.

I followed the instructions to the letter, and if anyone is interested I have been a linux admin/user since System V Init was released. I have a dozen distros in use, and I was able to make a Thumbdrive Puppy Linux OpenCPN build back in 2012/13

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

Results when trying to install:
Code:
The following packages have unmet dependencies:

opencpn: Depends: libcurl3 (>= 7.16.2) but 7.47.0-1ubuntu2.13 is to be installed
         Depends: libgcc1 (>= 1:3.0) but 1:6.0.1-0ubuntu1 is to be installed
         Depends: libportaudio2 (>= 19+svn20101113) but 19+svn20140130-1build1 is to be installed
         Depends: libstdc++6 (>= 5.2) but 5.4.0-6ubuntu1~16.04.11 is to be installed
         Depends: zlib1g (>= 1:1.2.3.4) but 1:1.2.8.dfsg-2ubuntu4.1 is to be installed
         Depends: opencpn-tcdata but it is not going to be installed
Is 5.0 just not shoehorned into launchpad right? Any advice to get some version of OpenCPN running on Linux?

I have tried this on 4 different Debian/Ubuntu/Mint variants over the last 2 weeks. I have had the exact same results shown above in all cases.

Thanks in advance.
Works great here in Linux mint.

This is the right procedure to install OpenCPN:

In terminal:

sudo apt-get install software-properties-common

sudo add-apt-repository ppa opencpn/opencpn (ppa double points between o)

sudo apt-get update

sudo apt-get install opencpn


Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 15-08-2019, 12:07   #3
Registered User

Join Date: Jun 2011
Posts: 17
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

Yep. Tried that in several of them:
Code:
[~] $ sudo apt-get install opencpn
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 opencpn : Depends: opencpn-tcdata but it is not installable
E: Unable to correct problems, you have held broken packages.
[~] $
Hence, the reason for my post here. I cannot get any of the recommended methods to work.

That: "opencpn-tcdata" requirement kills it every time. I wonder if there isn't an error in the dependency tree?

I'm gettin frustrated, I tell you. Fuh Rust A Rated!!
jafa is offline   Reply With Quote
Old 15-08-2019, 16:06   #4
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 958
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

Quote:
Originally Posted by jafa View Post
Yep. Tried that in several of them:
Code:
[~] $ sudo apt-get install opencpn
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 opencpn : Depends: opencpn-tcdata but it is not installable
E: Unable to correct problems, you have held broken packages.
[~] $
Hence, the reason for my post here. I cannot get any of the recommended methods to work.

That: "opencpn-tcdata" requirement kills it every time. I wonder if there isn't an error in the dependency tree?

I'm gettin frustrated, I tell you. Fuh Rust A Rated!!
Try the last entry on this thread,

http://www.cruisersforum.com/forums/...-220418-2.html
sdowney717 is offline   Reply With Quote
Old 15-08-2019, 18:04   #5
Registered User

Join Date: Jun 2011
Posts: 17
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

Quote:
Originally Posted by sdowney717 View Post
"No install candidate"
jafa is offline   Reply With Quote
Old 15-08-2019, 18:46   #6
Registered User

Join Date: Jun 2011
Posts: 17
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

Okay, I went medieval on it. DO NOT EVER TRY THIS AT HOME!!

The HACK:

The problem is circular dependencies. OpenCPN thinks it requires "opencpn-tcdata", and "opencpn-gshhs-low" before it will install. Both debs require OpenCPN to be installed before THEY will install. Catch-22

So I did a brute force hack on the ailing OpenCPN .deb file for my distro (Xenial). I unzipped it and modified the "/DEBIAN/control" file, removed those two offending dependencies, saved the file, and re-assembled the OpenCPN .deb file.

It then installed without errors, and I was able to load chart data into it. I was then able to install the "opencpn-tcdata_3.3.2107-0~utopic1_all.deb", "opencpn-gshhs-crude_2.2.4-0~utopic2_all.deb", and "opencpn-gshhs-low_2.2.4-0~utopic2_all.deb" files without errors.


Sooo .. Maybe this will help someone else. Dunno. Maybe the package maintainer will see this. Dunno ..

But anyway, it's a strange way to run a railroad, ain't it? ... Yeah, WE know ..

Jafa
jafa is offline   Reply With Quote
Old 15-08-2019, 21:01   #7
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

jafa...


Maybe the package maintainer will see this.
Yup, I seen it....


All good things come in good time, juggling all priorities. Even railroads....


opencpn-tcdata for Xenial is now available in the PPA. So a normal


Code:
$sudo apt-get install opencpn

should succeed now.
Nice hack, though....


Dave
bdbcat is offline   Reply With Quote
Old 15-08-2019, 21:20   #8
Registered User

Join Date: Jun 2011
Posts: 17
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

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


Maybe the package maintainer will see this.
Yup, I seen it....


All good things come in good time, juggling all priorities. Even railroads....


opencpn-tcdata for Xenial is now available in the PPA. So a normal


Code:
$sudo apt-get install opencpn
should succeed now.
Nice hack, though....


Dave
"opencpn-gshhs" ? Let's keep the love flowing, shall we?
jafa is offline   Reply With Quote
Old 16-08-2019, 06:22   #9
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 958
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

Well that's good news, I use Mint on the boat and opencpn, but was waiting to do an upgrade, but feel more confident now it will work.
sdowney717 is offline   Reply With Quote
Old 16-08-2019, 07:51   #10
Registered User

Join Date: Jun 2011
Posts: 17
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

Okay, folks. I just successfully installed on Devuan-ASCII which is a System V Init fork of Debian.


How?

Code:
1) Added the line "deb http://ppa.launchpad.net/opencpn/opencpn/ubuntu/ xenial main" to the end of the /etc/apt/sources.list file.

2) Ran: sudo apt-get update

3) Ran: sudo apt-get install opencpn
And that's it! Just like in the brochure ..
jafa is offline   Reply With Quote
Old 16-08-2019, 07:58   #11
Registered User

Join Date: Jun 2011
Posts: 17
Re: Linux Mint 18.2 - cannot install from instructions on launchpad

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


Maybe the package maintainer will see this.
Yup, I seen it....


All good things come in good time, juggling all priorities. Even railroads....


opencpn-tcdata for Xenial is now available in the PPA. So a normal


Code:
$sudo apt-get install opencpn
should succeed now.
Nice hack, though....


Dave

ThxU, Dave ..
jafa is offline   Reply With Quote
Reply

Tags
linux


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
New install Linux Mint 19.x no usb access topcatrw OpenCPN 1 06-08-2019 00:53
Opencpn Sound problem Linux Mint 13 Quincofish OpenCPN 9 29-06-2017 06:37
opencpn linux mint 13 and GPS USB SKYTRAQ GM 65 Skytraq - chipset Venus 6 USB - NMEA archimede OpenCPN 2 18-02-2013 03:04
OpenCPN GPS/AIS fix for Linux Mint 13 or Ubuntu 12.04 stephenippolito OpenCPN 3 20-10-2012 19:31
Linux Mint 10 Install fluke OpenCPN 1 22-11-2010 13:00

Advertise Here


All times are GMT -7. The time now is 23:18.


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.