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 10-07-2020, 07:21   #1
Registered User

Join Date: Apr 2009
Posts: 68
Pi4 64 bit Rasbian and dependent files....

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:armhf : Depends: libcurl3:armhf (>= 7.16.2) but it is not installable
Depends: libgtk2.0-0:armhf (>= 2.14.0) but it is not going to be installed
Depends: libwxgtk-webview3.0-0v5:armhf (>= 3.0.2+dfsg) but it is not installable
Depends: libwxgtk3.0-0v5:armhf (>= 3.0.2+dfsg) but it is not going to be installed
Depends: opencpn-tcdata:armhf but it is not installable
Depends: opencpn-gshhs-low:armhf but it is not installable
Recommends: xcalib:armhf but it is not going to be installed
Recommends: opencpn-doc:armhf but it is not installable
Recommends: opencpn-gshhs-crude:armhf but it is not installable
Recommends: opencpn-gshhs-intermediate:armhf but it is not installable
Recommends: opencpn-gshhs-high:armhf but it is not installable
Recommends: opencpn-gshhs-full:armhf but it is not installable
E: Unable to correct problems, you have held broken packages.
pi@raspberrypi:~ $
bbhflts is offline   Reply With Quote
Old 10-07-2020, 07:30   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: Pi4 64 bit Rasbian and dependent files....

bbhfltts...


What version of RaspiOS is this?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 20-08-2020, 01:36   #3
Registered User

Join Date: Apr 2009
Posts: 68
Re: Pi4 64 bit Rasbian and dependent files....

pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
bbhflts is offline   Reply With Quote
Old 20-08-2020, 12:45   #4
Registered User

Join Date: Dec 2019
Posts: 85
Re: Pi4 64 bit Rasbian and dependent files....

You could try this to change the line in /etc/apt/sources.list.d/opencpn*.list:

old
Code:
deb http://ppa.launchpad.net/opencpn/opencpn/ubuntu bionic main
new
Code:
deb [arch-arm64] http://ppa.launchpad.net/opencpn/opencpn/ubuntu bionic main
The other option is:

Code:
sudo dpkg --remove-architecture armhf
(and the first question you should ask yourself why you used "dpkg --add-architecture armhf" before)
After changes in sources by either /etc/apt/sources.list.d/ or dpkg --remove-architecture you need to use
Code:
sudo apt update
sudo apt install opencpn

PS I assume you use the bionic files instead of buster.
hreuver is offline   Reply With Quote
Old 21-08-2020, 03:37   #5
Registered User

Join Date: Dec 2019
Posts: 85
Re: Pi4 64 bit Rasbian and dependent files....

Just to show the finesse is in the detail:
Upon rereading I saw the change should be [ arch = arm64 ]
(see https://wiki.debian.org/Multiarch/HOWTO)
hreuver is offline   Reply With Quote
Reply


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
R PI4 BUSTER E: Unable to locate package opencpn-plugin-aisradar MACH1SCJ OpenCPN 1 08-08-2019 13:31
Raspberry Pi4 is out mikedefieslife Marine Electronics 1 24-06-2019 04:10
How does OpenCPN/oeSENC handle periodical and date dependent objects? keoe OpenCPN 1 16-06-2019 15:24
Ubuntu 32 bit vs 64 bit for OpenCPN victor15 OpenCPN 1 17-05-2019 15:48
Too Dependent on Modern Electronics? boasun Navigation 85 05-04-2011 20:32

Advertise Here


All times are GMT -7. The time now is 22:16.


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.