Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 23-08-2013, 12:54   #1
Registered User

Join Date: Aug 2013
Posts: 29
Problem Installing Opencpn

Hello,

I run ubuntu 12.04LTS on a Mini Dell 9 with 8GB SSD 1MB RAM and 16 SDHC. I tried to install opencpn and got the following error message from the Ubuntu Software Center:

Dependency is not satisfiable:libwxgtk2.8-0(>=2.8.7.1)

What is wrong?

Thanks

Thierry
__________________

__________________
aneblanc is offline   Reply With Quote
Old 23-08-2013, 13:59   #2
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Problem installing opencpn

aneblanc

When did you last update your installation with the latest packages?
You must have an old version of libwxgtk2 installed.

Do
Quote:
$sudo apt-get update
$sudo apt-get upgrade
From the command-line, or update through Synaptic, for example.
With an updated 12.04LTS , there should not be any problems.


Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 23-08-2013, 15:44   #3
Registered User

Join Date: Aug 2013
Posts: 29
Re: Problem installing opencpn

Quote:
Originally Posted by cagney View Post
aneblanc

When did you last update your installation with the latest packages?
You must have an old version of libwxgtk2 installed.

Do


From the command-line, or update through Synaptic, for example.
With an updated 12.04LTS , there should not be any problems.


Thomas
You are right, I haven't updated recently. I have grown wary of updating since my system crashed twice this year. I had to reinstall Ubuntu entirely which is a time consuming procedure. I haven't updated since my last fresh install about 3 months ago.

Would it be possible to only update libwxgtk2?

Another question: is it possible to store files and data on the SDHC? My SSD is only 8GB and is already pretty full with the system files.

Thanks a lot for your help,

Thierry
__________________
aneblanc is offline   Reply With Quote
Old 23-08-2013, 15:47   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Problem installing opencpn

Thierry...
The answer to both your questions is yes.

Pavel
__________________
nohal is offline   Reply With Quote
Old 23-08-2013, 16:10   #5
Registered User

Join Date: Aug 2013
Posts: 29
Re: Problem installing opencpn

I have updated libwxgtk. Next problem is:

Cannot install 'libgl1-mesa-glx'.

Hmm!
__________________
aneblanc is offline   Reply With Quote
Old 23-08-2013, 16:16   #6
Registered User

Join Date: Aug 2013
Posts: 29
Re: Problem installing opencpn

In the Update Manager Settings Ubuntu software tab, what should my settings be?
__________________
aneblanc is offline   Reply With Quote
Old 23-08-2013, 16:20   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Problem installing opencpn

Thierry...
Just out of curiosity, which OpenCPN deb package are you trying to install? If you use the one for Precise from https://launchpad.net/~opencpn/+archive/opencpn your problems should be none. Unless your system is totally messed up.

Pavel
__________________
nohal is offline   Reply With Quote
Old 23-08-2013, 18:01   #8
Registered User

Join Date: Aug 2013
Posts: 29
Re: Problem installing opencpn

Quote:
Originally Posted by nohal View Post
Thierry...
Just out of curiosity, which OpenCPN deb package are you trying to install? If you use the one for Precise from https://launchpad.net/~opencpn/+archive/opencpn your problems should be none. Unless your system is totally messed up.

Pavel
Thanks to be curious Pavel

I use Download OpenCPN from SourceForge.net,

Thierry
__________________
aneblanc is offline   Reply With Quote
Old 24-08-2013, 01:57   #9
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Problem Installing Opencpn

aneblanc

Please read through Installing OpenCPN | Official OpenCPN Homepage if you haven't already done so. It should answer a few of your questions.
Quote:
Cannot install 'libgl1-mesa-glx'.
This takes us back to your original problem with crashes. What was the reason for those crashes? Anything to do with your graphical card? The error message points i that direction.
This needs to be sorted out first. I don't think that your problems are related to OpenCPN per se. Linux/Ubuntu does not just crash out of the blue. There is a very specific, and fixable reason.
Reinstalling, will probably not help. Any insights into the original problem? Have you tried to download the latest graphical driver from your cards manufacturer, for example?

Nohal's advice is good especially if you have a 64 bit processor, as 3.2.2 for Ubuntu 64 bits is compiled on Ubuntu 12.10.

Thomas
__________________
cagney is offline   Reply With Quote
Old 26-08-2013, 12:57   #10
Registered User

Join Date: Aug 2013
Posts: 29
Re: Problem Installing Opencpn

Quote:
Originally Posted by cagney View Post
aneblanc

Please read through Installing OpenCPN | Official OpenCPN Homepage if you haven't already done so. It should answer a few of your questions.

This takes us back to your original problem with crashes. What was the reason for those crashes? Anything to do with your graphical card? The error message points i that direction.

This needs to be sorted out first. I don't think that your problems are related to OpenCPN per se. Linux/Ubuntu does not just crash out of the blue. There is a very specific, and fixable reason.

Reinstalling, will probably not help. Any insights into the original problem? Have you tried to download the latest graphical driver from your cards manufacturer, for example?

Nohal's advice is good especially if you have a 64 bit processor, as 3.2.2 for Ubuntu 64 bits is compiled on Ubuntu 12.10.

Thomas
I installed the synaptic package manager that was not installed on my computer.

Is it possible to paste into the terminal? I am trying to paste this line:

"sudo apt-get install libwxgtk2.8-0 libwxbase2.8-0 wx-common libglu1-mesa libgl1-mesa-glx zlib1g bzip2 gpsd gpsd-clients xcalib libportaudio2"

as recommended in the installation chapter.

I had a crash while installing updates. The package manager was broken or something similar. I don't really remember. Sorry. The first time I lost the wireless. The second time other tings were not working and that's why I reinstalled Ubuntu entirely.

How do I download the latest graphical driver ? I don't know where to start. I don't know what card I have.
This is a mini Dell 9 bought in 2009 just for a sailing trip to Europe. It used to run XP until it got a virus and I switched to Ubuntu under my teenage son's guidance. He is not home anymore!

This is not a 64 bit computer and I run 12.04LTS.

I am hoping for more help. Thanks.

Thierry
__________________
aneblanc is offline   Reply With Quote
Old 26-08-2013, 13:42   #11
Registered User

Join Date: Aug 2013
Posts: 29
Re: Problem Installing Opencpn

I did the PPA import.
Following is a copy of the terminal with the 2 errors at the end. I removed the lines in the middle. Can you help? Thanks

Thierry

================================================== ===========
You are about to add the following PPA to your system:
A Chartplotter and GPS Navigation Software.

OpenCPN is a free software (GPLv2) project to create a concise chartplotter and navigation software for use as an underway or planning tool. OpenCPN is developed by a team of active sailors using real world conditions for program testing and refinement.
More info: https://launchpad.net/~opencpn/+archive/opencpn
Press [ENTER] to continue or ctrl-c to cancel adding it


Fetched 1,019 kB in 3s (279 kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
================================================== ===============
__________________
aneblanc is offline   Reply With Quote
Old 26-08-2013, 18:59   #12
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: Problem Installing Opencpn

aneblanc....

Code:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
It seems that you have two instances of your package manager running at the same time. If you are working from the command line, e.g.

Code:
$sudo apt get....
then you should close the GUI Synaptics application.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 21-01-2014, 02:44   #13
Registered User

Join Date: Aug 2013
Posts: 29
Re: Problem Installing Opencpn

After a little pause I am back at trying to install OpenCPN on my Dell mini 9. I run Ubuntu 12.04 and since my last problems I have replaced the solid state drive that had died and reinstalled Ubuntu.

I have opened Installing OpenCPN | Official OpenCPN Homepage and went through this step:

It is also possible to install the package via dpkg or rpm, on the condition that all dependencies are met.To make sure that this is the case on Ubuntu, open a terminal window to get a command line, (Applications->Accessories->Terminal) and copy and paste the following line: "sudo apt-get install libwxgtk2.8-0 libwxbase2.8-0 wx-common libglu1-mesa libgl1-mesa-glx zlib1g bzip2 gpsd gpsd-clients xcalib libportaudio2". Then proceed with the commands below

and got this:

sudo apt-get install libwxgtk2.8-0 libwxbase2.8-0 wx-common libglu1-mesa libgl1-mesa-glx zlib1g bzip2 gpsd gpsd-clients xcalib libportaudio2
Reading package lists... Done
Building dependency tree
Reading state information... Done
bzip2 is already the newest version.
libportaudio2 is already the newest version.
libportaudio2 set to manually installed.
zlib1g is already the newest version.
xcalib is already the newest version.
libglu1-mesa is already the newest version.
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 resolve the situation:

The following packages have unmet dependencies:
libgl1-mesa-glx : Depends: libglapi-mesa (= 8.0.4-0ubuntu0.7)
Recommends: libgl1-mesa-dri (>= 7.2)
E: Unable to correct problems, you have held broken packages.


What should I do now to fix the problem with libgl1-mesa-glx?
__________________
aneblanc is offline   Reply With Quote
Old 21-01-2014, 03:01   #14
Registered User

Join Date: Aug 2013
Posts: 29
Re: Problem Installing Opencpn

The resolution of my screen is 1024 x 600. Is it a problem for OpenCPN?

Thierry
__________________
aneblanc is offline   Reply With Quote
Old 21-01-2014, 10:01   #15
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Problem Installing Opencpn

If you have problems with dependencies, use one of the methods that handles that automatically. Read the the manual page again.
Also be sure to pick a package that is compatible with 12.04.
https://launchpad.net/~opencpn/+archive/opencpn for stable 3.2.2 downloads.

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools
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
New IAC Fleetcode Plugin for OpenCPN CBorchardt OpenCPN 72 27-02-2016 12:42
Opencpn installation under Ubuntu 12.04 Idiens OpenCPN 8 29-05-2013 06:51
Problem with OpenCPN Windswept4 OpenCPN 8 18-11-2012 15:48
OpenCPN, Mapsource Chartpak Capt.Don OpenCPN 4 13-11-2011 09:24
Problem with OpenCPN 2.5.0 nixontankgirl OpenCPN 3 29-10-2011 13:59



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:31.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.