Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 02-07-2019, 19:56   #1
Registered User

Join Date: Oct 2017
Posts: 6
opencpn-tcdata is not installable

I'm setting up a new Pi3B+. Brand new install of Stretch, followed instructions to install xenial main (have successfully done this before) but this time I'm hitting a series of errors which I've pasted below. Any assistance would be greatly appreciated.

Thank you, John


pi@raspberrypi:~ $ 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
Recommends: opencpn-doc but it is not going to be installed
Recommends: opencpn-gshhs-intermediate but it is not going to be installed
Recommends: opencpn-gshhs-high but it is not going to be installed
Recommends: opencpn-gshhs-full but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
__________________

sturmgewehr762 is offline   Reply With Quote
Old 02-07-2019, 20:37   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,627
Re: opencpn-tcdata is not installable

John...


Please try this:


$sudo apt-get install opencpn opencpn-tcdata


Thanks
Dave
__________________

bdbcat is offline   Reply With Quote
Old 02-07-2019, 20:50   #3
Registered User

Join Date: Oct 2017
Posts: 6
Re: opencpn-tcdata is not installable

Hi Dave,

Thanks for the reply. I did try that earlier however I just now tried it again, thinking perhaps I made a typo earlier. Here is the result:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package opencpn-tcdata 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-tcdata' has no installation candidate
sturmgewehr762 is offline   Reply With Quote
Old 02-07-2019, 22:21   #4
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 4,568
Re: opencpn-tcdata is not installable

Tried the openotter image?

Everything iss in there already.
conachair is online now   Reply With Quote
Old 04-07-2019, 11:44   #5
Registered User

Join Date: Oct 2017
Posts: 6
Re: opencpn-tcdata is not installable

I'm really hoping to install to the stretch DE rather than using open plotter. It shouldn't really be that difficult.



Is there really no other feedback for this issue? It seems like the repository is incomplete.


John
sturmgewehr762 is offline   Reply With Quote
Old 04-07-2019, 12:02   #6
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,627
Re: opencpn-tcdata is not installable

Clearly not a wide-spread problem, or we would have heard before now.



what happens if you say:


$sudo apt-get install opencpn-tcdata


Dave
bdbcat is offline   Reply With Quote
Old 04-07-2019, 12:30   #7
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 4,568
Re: opencpn-tcdata is not installable

Quote:
Originally Posted by sturmgewehr762 View Post
I'm really hoping to install to the stretch DE rather than using open plotter. It shouldn't really be that difficult.
Install openplotter and update to Stretch. I did it ages ago, not difficult - google for the command, something like dist-update

pi@openplotter:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
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"


Repository >
pi@openplotter:~ $ cat /etc/apt/sources.list
deb Index of /raspbian stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src Index of /raspbian stretch main contrib non-free rpi

deb Index of /bdbcat/opencpn/ubuntu xenial main

deb Index of /raspbian jessie main contrib non-free rpi
conachair is online now   Reply With Quote
Old 04-07-2019, 18:31   #8
Registered User

Join Date: Jul 2012
Posts: 184
Re: opencpn-tcdata is not installable

Quote:
Originally Posted by bdbcat View Post
Clearly not a wide-spread problem, or we would have heard before now.



what happens if you say:


$sudo apt-get install opencpn-tcdata


Dave
I have the exact same problem, same diagnostics. In my case I am installing opencpn on a RockPro 64 SBC, running Armbian operating system. So I am watching this thread with great interest.

After failing to install from opencpn PPA (unmet dependencies including tcdata and gshhs), I ended up compiling opencpn from source. It was successful (runs and works with charts), but opencpn-tcdata and opencpn-gshhs-low were not installed. Attempts to now install them using the same commands as the original poster bring up the same diagnostics. Attempts to install them using Synaptic (after adding the opencpn PPA) bring up similar diagnostics.

I am only fooling around with the RockPro 64 for fun and education, so I will keep chipping away at it, but any suggestions welcome. (The RockPro is a developmental board, Armbian is also developmental, and I am a beginner at Linux, so its all fun)

In the longer term I will probably go with RPI4 (have one on order) plus OpenPlotter. I already have RPI3B+ running OpenPlotter, it is fine, but a bit slow)

Lee
banjoship is offline   Reply With Quote
Old 04-07-2019, 19:23   #9
Registered User

Join Date: Oct 2017
Posts: 6
Re: opencpn-tcdata is not installable

Quote:
Originally Posted by bdbcat View Post
Clearly not a wide-spread problem, or we would have heard before now.



what happens if you say:


$sudo apt-get install opencpn-tcdata


Dave
Dave,

I get the identical result as every variation I tried last night.

John


$ sudo apt-get install opencpn-tcdata
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package opencpn-tcdata 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-tcdata' has no installation candidate
sturmgewehr762 is offline   Reply With Quote
Old 04-07-2019, 19:25   #10
Registered User

Join Date: Oct 2017
Posts: 6
Re: opencpn-tcdata is not installable

Quote:
Originally Posted by conachair View Post
Install openplotter and update to Stretch. I did it ages ago, not difficult - google for the command, something like dist-update

pi@openplotter:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
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"


Repository >
pi@openplotter:~ $ cat /etc/apt/sources.list
deb Index of /raspbian stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src Index of /raspbian stretch main contrib non-free rpi

deb Index of /bdbcat/opencpn/ubuntu xenial main

deb Index of /raspbian jessie main contrib non-free rpi
I'll probably end up going this route. It still just seems like something simple is missing from the repository. RPi is the only platform I have had this issue with. I have it running on Windows, Android and Linux already.

John
sturmgewehr762 is offline   Reply With Quote
Old 04-07-2019, 19:28   #11
Registered User

Join Date: Oct 2017
Posts: 6
Re: opencpn-tcdata is not installable

Quote:
Originally Posted by banjoship View Post

In the longer term I will probably go with RPI4 (have one on order) plus OpenPlotter. I already have RPI3B+ running OpenPlotter, it is fine, but a bit slow)

Lee
My plan as well. I already have the 4gb version of the Pi 4 and am playing around with it while they work the bugs out. The setup that I plan to actually use on the boat will be the Pi4 with Open Plotter 2.0 once it is released.

John
sturmgewehr762 is offline   Reply With Quote
Old 29-07-2019, 13:09   #12
Registered User

Join Date: Jul 2019
Location: East Coast USA
Boat: Beneteau Oceanis 38
Posts: 3
Re: opencpn-tcdata is not installable

I've sent an email to the package maintainer notifying him that there's a problem with the repository.



I have the exact same issue with a Pi 3B+ and a fresh install of Raspbian. The file is missing from the repository apparently. The Packages catalog file doesn't list it, yet opencpn lists it as a dependency. That's the package manager's fault.



See Index of /opencpn/opencpn/ubuntu/pool/main/o/opencpn-tcdata



There is no Xenial .deb file for openpcn-tcdata here. And this directory has no updates since 2015.


Here's a list of the dependencies from the Packages-1 file:


Package: opencpn
Priority: extra
Section: misc
Installed-Size: 29781
Maintainer: Pavel Kalian <pavel@kalian.cz>
Architecture: i386
Version: 5.0.0-0~xenial1
Recommends: xcalib, xdg-utils, opencpn-doc, opencpn-gshhs-crude, opencpn-gshhs-intermediate, opencpn-gshhs-high, opencpn-gshhs-full
Replaces: opencpn-plugin-chartdldr, opencpn-plugin-wmm
Provides: opencpn-plugin-chartdldr, opencpn-plugin-wmm
Depends: libbz2-1.0, libc6 (>= 2.15), libcairo2 (>= 1.2.4), libcurl3 (>= 7.16.2), libexpat1 (>= 2.0.1), libgcc1 (>= 1:4.2), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.14.0), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.14.0), libportaudio2 (>= 19+svn20101113), libstdc++6 (>= 5.2), libtinyxml2.6.2v5, libwxbase3.0-0v5 (>= 3.0.2+dfsg), libwxgtk-webview3.0-0v5 (>= 3.0.2+dfsg), libwxgtk3.0-0v5 (>= 3.0.2+dfsg), libx11-6, zlib1g (>= 1:1.2.3.4), wx3.0-i18n, opencpn-tcdata, opencpn-gshhs-low
Conflicts: opencpn-plugin-chartdldr, opencpn-plugin-wmm
Filename: pool/main/o/opencpn/opencpn_5.0.0-0~xenial1_i386.deb
Size: 9039482
MD5sum: 846db368afb7b49ab4afecbd27cbd743
SHA1: c5fd16400b02996a2caf7d901c681a17d1ea272f
SHA256: f82097a06f78097a73211762cfbb89571bb627efa9882d5fac 47223be199786b
Description: Concise chartplotter and navigation software
Description-md5: caebb7fa922495c76208eec80177a6eb
Hammz is offline   Reply With Quote
Old 30-07-2019, 01:42   #13
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,545
Re: opencpn-tcdata is not installable

Which ppa are you guys using? Maybe only the beta ppa?

Make sure you have the "production" ppa installed by running
Code:
sudo add-apt-repository ppa:opencpn/opencpn
sudo apt-get update
Thomas
cagney is offline   Reply With Quote
Old 30-07-2019, 06:12   #14
Registered User

Join Date: Jul 2019
Location: East Coast USA
Boat: Beneteau Oceanis 38
Posts: 3
Re: opencpn-tcdata is not installable

Quote:
Originally Posted by cagney View Post
Which ppa are you guys using? Maybe only the beta ppa?

Make sure you have the "production" ppa installed by running
Code:
sudo add-apt-repository ppa:opencpn/opencpn
sudo apt-get update
Thomas

Well, that repository isn't working for Raspian stretch. Plus add-apt-repository isn't installed by default on my copies of Raspbian anyway. (You add it by doing "apt-get install software-properties-common", but don't bother).
Hammz is offline   Reply With Quote
Old 30-07-2019, 09:24   #15
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,545
Re: opencpn-tcdata is not installable

Quote:
Originally Posted by Hammz View Post
Well, that repository isn't working for Raspian stretch. Plus add-apt-repository isn't installed by default on my copies of Raspbian anyway. (You add it by doing "apt-get install software-properties-common", but don't bother).
Still don't know what repository you are using. Whatever...it seems like it does not include the tcdata package.
Why not bypass the apt-get by downloading all the packages you need manually from different repositories and then use "dpkg -i" to install them ?
Sure a bit fiddly but but way faster than waiting for a repository to get fixed!

Thomas
__________________

cagney is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
OpenCPN, Linux, Web site opencpn.org, user manual and manual wiki ... Gilletarom OpenCPN 26 30-11-2015 15:17
Request that Android OpenCPN.apk Open Source version be put up in the OpenCPN.org Dow yachtmanforfun OpenCPN 18 20-09-2015 06:00
Tcdata Folder on 2.5 Mac Release ? sailorF54 OpenCPN 4 06-03-2012 22:47
Virtual OpenCPN - 'OpenCPN on a Stick' r.fairman OpenCPN 23 16-10-2011 19:51



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 05:56.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.