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