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 16-04-2023, 09:42   #1
Registered User

Join Date: Mar 2019
Location: Parry Sound, Ontario
Boat: Canadian Sailcraft CS36T
Posts: 28
O 5.8 install from PPA on debian bullseye

O 5.6.2 is installed and working for over a year on debian bullseye, using the bionic PPA. But when I try to upgrade to v 5.8.0, it chokes on a dependency.

The following packages have unmet dependencies:
opencpn : Depends: libglew2.0 (>= 1.12.0) but it is not installable
Recommends: opencpn-sglock-arm64 but it is not installable
Recommends: opencpn-sglock-arm32 but it is not installable
E: Unable to correct problems, you have held broken packages.

dpkg -l | grep libglew
ii libglew2.1:amd64 2.1.0-4+b1 amd64 OpenGL Extension Wrangler - runtime environment

I would naively expect that libglew2.1 should be at least as good as libglew2.0. Suggestions on a fix?

Thanks
Shawanaga is offline   Reply With Quote
Old 16-04-2023, 14:16   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,463
Re: O 5.8 install from PPA on debian bullseye

Shawanaga...


Hmmm....
Debian Bullseye is (largely) equivalent to ubuntu focal, not bionic.
Try that?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 16-04-2023, 17:08   #3
Registered User

Join Date: Mar 2019
Location: Parry Sound, Ontario
Boat: Canadian Sailcraft CS36T
Posts: 28
Re: O 5.8 install from PPA on debian bullseye

Thanks Dave, install from the focal PPA worked. But now 5.8.0 crashes frequently. I zeroed out the ~/.opencpn directory and also ~/.local/share/opencpn/plugins and tried some more.

I can update the plugin catalog master, but even if enable only the Chart Downloader plugin, it seems okay, but the next startup fails. Startup with all plugins disabled works.

Thanks, Andy

19:55:52.769 INFO logger.cpp:130 ------- OpenCPN version 5.8.0 restarted at 2023-04-16 -------

19:55:52.769 INFO logger.cpp:130 Using loglevel INFO
19:55:52.769 MESSAGE ocpn_app.cpp:1229 wxWidgets version: wxWidgets 3.0.4 Linux 64 bit wxGTK
19:55:52.771 MESSAGE ocpn_app.cpp:1234 OS Version reports as: 5.10
19:55:52.772 MESSAGE ocpn_app.cpp:1236 MemoryStatus: mem_total: 7640 mb, mem_initial: 375 mb
19:55:52.772 MESSAGE ocpn_app.cpp:1248 OCPN_OSDetail: x86_64 ; Debian GNU/Linux ; 11 ; debian ;
19:55:52.772 MESSAGE ocpn_app.cpp:1255 SData_Locn is /usr/share/opencpn/
19:55:52.772 MESSAGE ocpn_app.cpp:1270 PrivateDataDir is /home/andy/.opencpn
19:55:52.772 MESSAGE ocpn_app.cpp:1354 Using existing Config_File: /home/andy/.opencpn/opencpn.conf
19:55:52.774 MESSAGE navutil.cpp:1262 winPluginDir, read from ini file:
19:55:52.774 MESSAGE navutil.cpp:1346 Setting Ownship Lat/Lon 33.358, -79.282
19:55:52.774 MESSAGE navutil.cpp:3211 Switch InlandEcdis mode Off
19:55:52.776 MESSAGE styles.cpp:841 Styles loading from /usr/share/opencpn/uidata/styles.xml
19:55:52.778 MESSAGE styles.cpp:818 No styles found at: /home/andy/
19:55:52.778 MESSAGE styles.cpp:818 No styles found at: /home/andy/.opencpn/
19:55:52.792 MESSAGE styles.cpp:775 Using SVG Icons
19:55:52.792 MESSAGE ocpn_app.cpp:1415 Detected display size (horizontal): 508 mm
19:55:52.792 MESSAGE OCPNPlatform.cpp:885 Getting DefaultSystemLocale...
19:55:52.792 MESSAGE ocpn_app.cpp:1451 System default Language: en_CA
19:55:52.792 MESSAGE ocpn_app.cpp:1454 Config file language:
19:55:52.792 MESSAGE ocpn_app.cpp:1459 Adjusted App language:
19:55:52.792 MESSAGE OCPNPlatform.cpp:966 ChangeLocale: Language load for:
19:55:52.798 MESSAGE OCPNPlatform.cpp:1019 ChangeLocale: Locale Init OK for:
19:55:52.798 MESSAGE OCPNPlatform.cpp:1044 Loading catalog for opencpn core.
19:55:52.805 MESSAGE OCPNPlatform.cpp:885 Getting DefaultSystemLocale...
19:55:52.805 MESSAGE ocpn_app.cpp:1466 Opencpn language set to:
19:55:52.805 MESSAGE ConfigMgr.cpp:624 Loading Configs catalog: /home/andy/.opencpn/Configs/configs.xml
19:55:52.806 MESSAGE ocpn_app.cpp:1711 Creating MyFrame...size(1344, 756) position(0, 0)
19:55:52.807 MESSAGE ocpn_frame.cpp:838 **** Connect stuff
19:55:53.054 MESSAGE chcanv.cpp:990 Creating glChartCanvas
19:55:53.085 MESSAGE chcanv.cpp:2398 Metrics: m_display_size_mm: 508 g_Platform->getDisplaySize(): 1920:1080
19:55:53.085 MESSAGE chcanv.cpp:2403 wxDisplaySize(): 1920 1080
19:55:53.085 MESSAGE TCDataSource.cpp:50 Loading Tide/Current data source: /usr/share/opencpn/tcdata/harmonics-dwf-20210110-free.tcd
19:55:53.197 MESSAGE TCDataSource.cpp:50 Loading Tide/Current data source: /usr/share/opencpn/tcdata/HARMONICS_NO_US.IDX
19:55:53.290 MESSAGE glChartCanvas.cpp:1038 OpenGL-> Renderer String: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
19:55:53.290 MESSAGE glChartCanvas.cpp:1047 OpenGL-> Version reported: 4.6 (Compatibility Profile) Mesa 20.3.5
19:55:53.290 MESSAGE glChartCanvas.cpp:1054 OpenGL-> GLSL Version reported: 4.60
19:55:53.294 MESSAGE glChartCanvas.cpp:1137 OpenGL-> Texture rectangle format: de1
19:55:53.294 MESSAGE glChartCanvas.cpp:1152 OpenGL-> Using Vertexbuffer Objects
19:55:53.299 MESSAGE glChartCanvas.cpp:1009 OpenGL-> Framebuffer OK, size = 1332
19:55:53.305 MESSAGE glChartCanvas.cpp:1220 OpenGL-> Using Framebuffer Objects
19:55:53.305 MESSAGE glChartCanvas.cpp:1223 OpenGL-> Using FBO Stencil buffer
19:55:53.305 MESSAGE glChartCanvas.cpp:1230 OpenGL-> Using Stencil buffer clipping
19:55:53.305 MESSAGE glChartCanvas.cpp:1235 OpenGL-> Using Scissor Clipping
19:55:53.305 MESSAGE glChartCanvas.cpp:1342 OpenGL-> Using s3tc dxt1 compression
19:55:53.305 MESSAGE glChartCanvas.cpp:1371 OpenGL-> Compressed tile size: 128kb (8:1)
19:55:53.305 MESSAGE glChartCanvas.cpp:1246 OpenGL-> Minimum cartographic line width: 1.0
19:55:53.305 MESSAGE glChartCanvas.cpp:1249 OpenGL-> Minimum symbol line width: 1.1
19:55:53.312 MESSAGE gshhs.cpp:1322 Loading World Chart Q=0 in 0 ms.
19:55:53.312 MESSAGE gshhs.cpp:173 Background world map loaded from GSHHS datafiles found in: /usr/share/opencpn/gshhs/
19:55:53.340 MESSAGE chartdb.cpp:219 ChartDB Cache policy: Max open chart limit is 20.
19:55:53.340 MESSAGE ocpn_app.cpp:1880 GPS Watchdog Timeout is: 10 sec.
19:55:53.342 MESSAGE ocpn_app.cpp:1960 OpenCPN Initialized in 851 ms.
19:55:53.845 MESSAGE glChartCanvas.cpp:554 BuildFBO 3
19:55:53.845 MESSAGE glChartCanvas.cpp:1009 OpenGL-> Framebuffer OK, size = 1332
19:55:53.931 MESSAGE ocpn_frame.cpp:4738 OnInitTimer...0
19:55:54.088 MESSAGE waypointman_gui.cpp:58 DPMM: 3.77953 ScaleFactorExp: 1
19:55:54.088 MESSAGE waypointman_gui.cpp:65 Looking for UserIcons at /home/andy/.opencpn/UserIcons/
19:55:54.088 MESSAGE waypointman_gui.cpp:68 Loading UserIcons from /home/andy/.opencpn/UserIcons/
19:55:54.088 MESSAGE navutil.cpp:1693 Loading navobjects from navobj.xml
19:55:54.088 MESSAGE navutil.cpp:1704 Done loading navobjects, 0 duplicate waypoints ignored
19:55:54.088 MESSAGE ocpn_frame.cpp:4833 Getting .gpx layer files from: /home/andy/.opencpn/layers
19:55:54.189 MESSAGE ocpn_frame.cpp:4738 OnInitTimer...1
19:55:54.294 MESSAGE ocpn_frame.cpp:4738 OnInitTimer...2
19:55:54.294 MESSAGE plugin_loader.cpp:245 PluginLoader: loading plugins from /home/andy/.local/lib/opencpn;/usr/local/lib/opencpn;/usr/lib/opencpn;/usr/lib/opencpn
19:55:54.294 MESSAGE plugin_loader.cpp:161 Using LD_LIBRARY_PATH: /home/andy/.local/lib/opencpn:/usr/local/lib/opencpn:/usr/lib/opencpn:/usr/lib/opencpn
19:55:54.294 MESSAGE plugin_loader.cpp:193 Using PATH: /home/andy/.local/bin:/usr/local/bin:/usr/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
19:55:54.294 MESSAGE plugin_loader.cpp:250 Loading plugins from dir: /home/andy/.local/lib/opencpn
19:55:54.294 MESSAGE plugin_loader.cpp:437 PluginLoader searching for PlugIns in location /home/andy/.local/lib/opencpn
19:55:54.295 MESSAGE plugin_loader.cpp:475 Found 27 candidates
19:55:54.295 MESSAGE plugin_loader.cpp:270 Checking plugin candidate: /home/andy/.local/lib/opencpn/libcelestial_navigation_pi.so
19:55:54.295 ERROR plugin_loader.cpp:892 Could not open file "opencpn" for reading: No such file or directory
19:55:54.295 MESSAGE plugin_loader.cpp:1126 Plugin is compatible by elf library scan: true
19:55:54.295 MESSAGE plugin_loader.cpp:1187 PluginLoader: Loading PlugIn: /home/andy/.local/lib/opencpn/libcelestial_navigation_pi.so
19:55:54.311 WARNING image.cpp:2707 Unknown image data format.
19:55:54.312 MESSAGE plugin_loader.cpp:270 Checking plugin candidate: /home/andy/.local/lib/opencpn/libaisradar_pi.so
19:55:54.312 MESSAGE plugin_loader.cpp:1126 Plugin is compatible by elf library scan: true
19:55:54.312 MESSAGE plugin_loader.cpp:1187 PluginLoader: Loading PlugIn: /home/andy/.local/lib/opencpn/libaisradar_pi.so
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.329 WARNING image.cpp:2707 Unknown image data format.
19:55:54.330 MESSAGE base_platform.cpp:718 Using plugin data path: /home/andy/.local/share/opencpn/plugins;/usr/share/xfce4/opencpn/plugins;/home/andy/.local/share/flatpak/exports/share/opencpn/plugins;/var/lib/flatpak/exports/share/opencpn/plugins;/usr/local/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/lib/opencpn
19:55:54.330 MESSAGE base_platform.cpp:271 PlugInManager: Using data dirs from: /home/andy/.local/share/opencpn/plugins;/usr/share/xfce4/opencpn/plugins;/home/andy/.local/share/flatpak/exports/share/opencpn/plugins;/var/lib/flatpak/exports/share/opencpn/plugins;/usr/local/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/lib/opencpn
19:55:54.330 MESSAGE base_platform.cpp:283 PlugInManager: using data dir: /home/andy/.local/share/opencpn/plugins/aisradar_pi
19:55:54.330 MESSAGE base_platform.cpp:271 PlugInManager: Using data dirs from: /home/andy/.local/share/opencpn/plugins;/usr/share/xfce4/opencpn/plugins;/home/andy/.local/share/flatpak/exports/share/opencpn/plugins;/var/lib/flatpak/exports/share/opencpn/plugins;/usr/local/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/lib/opencpn
19:55:54.330 MESSAGE base_platform.cpp:283 PlugInManager: using data dir: /home/andy/.local/share/opencpn/plugins/aisradar_pi
19:55:54.331 MESSAGE plugin_loader.cpp:270 Checking plugin candidate: /home/andy/.local/lib/opencpn/libclimatology_pi.so
19:55:54.331 MESSAGE plugin_loader.cpp:1126 Plugin is compatible by elf library scan: true
19:55:54.331 MESSAGE plugin_loader.cpp:1187 PluginLoader: Loading PlugIn: /home/andy/.local/lib/opencpn/libclimatology_pi.so
19:55:54.347 WARNING image.cpp:2707 Unknown image data format.
19:55:54.347 MESSAGE base_platform.cpp:271 PlugInManager: Using data dirs from: /home/andy/.local/share/opencpn/plugins;/usr/share/xfce4/opencpn/plugins;/home/andy/.local/share/flatpak/exports/share/opencpn/plugins;/var/lib/flatpak/exports/share/opencpn/plugins;/usr/local/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/share/opencpn/plugins;/usr/lib/opencpn
19:55:54.347 MESSAGE base_platform.cpp:283 PlugInManager: using data dir: /home/andy/.local/share/opencpn/plugins/climatology_pi
19:55:54.347 MESSAGE icons.cpp:31 Loading toolbar icon: /home/andy/.local/share/opencpn/plugins/climatology_pi/UserIcons/climatology_pi.svg
19:55:54.347 MESSAGE icons.cpp:34 Loading toolbar icon: /home/andy/.local/share/opencpn/plugins/climatology_pi/UserIcons/climatology_pi_rollover.svg
19:55:54.347 MESSAGE icons.cpp:37 Loading toolbar icon: /home/andy/.local/share/opencpn/plugins/climatology_pi/UserIcons/climatology_pi_toggled.svg
Shawanaga is offline   Reply With Quote
Old 16-04-2023, 17:32   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: O 5.8 install from PPA on debian bullseye

Purge /home/andy/.local/lib/opencpn/, that is where the actual plugins are, from the log it seems you have quite a few of them.
nohal is offline   Reply With Quote
Old 17-04-2023, 03:17   #5
Registered User

Join Date: Mar 2019
Location: Parry Sound, Ontario
Boat: Canadian Sailcraft CS36T
Posts: 28
Re: O 5.8 install from PPA on debian bullseye

Purging ~/.local/lib/opencpn/ fixed the problem. Now it's working as expected.

Thanks for your help!
Shawanaga 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
Plugins with Debian 11 Bullseye noreen OpenCPN 5 09-06-2021 13:15
Debian, Raspberypi : How to install OpenCPN 4.8 from ppa Gilletarom OpenCPN 8 21-01-2018 10:24
opencpn 4.4 stable install on debian jessie cruiseran OpenCPN 3 16-12-2016 12:09
Debian 8 (jessie) install problems svmystique OpenCPN 1 23-01-2016 18:59

Advertise Here


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


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.