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 25-04-2013, 08:17   #1
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
Send a message via Skype™ to HotRod
Exclamation OCPN installation on Ubuntu 12.10 64bit fails.

Im running into installation trouble when trying to install OCPN on Ubuntu 12.10 64 bit version.

I have installed dependencies first, but get errors while installing OCPN.

Code:
frode@Minitux:~/Downloads$ sudo dpkg -i opencpn_3.2.0-2_amd64.deb 
(Reading database ... 170745 files and directories currently installed.)
Unpacking opencpn (from opencpn_3.2.0-2_amd64.deb) ...
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: '<fd:4>: incorrect data check'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing opencpn_3.2.0-2_amd64.deb (--install):
 cannot copy extracted data for './usr/bin/opencpn' to '/usr/bin/opencpn.dpkg-new': unexpected end of file or stream
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 opencpn_3.2.0-2_amd64.deb
Are there something missing or is it just me?
Seems like something wrong in the deb file... I have downloaded it and tried several times, and I'm also getting the same errors on another Xubuntu system...

Can anyone verify that the installation file is ok?
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 25-04-2013, 08:41   #2
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Quote:
Originally Posted by HotRod View Post
Im running into installation trouble when trying to install OCPN on Ubuntu 12.10 64 bit version.

I have installed dependencies first, but get errors while installing OCPN.

Code:
frode@Minitux:~/Downloads$ sudo dpkg -i opencpn_3.2.0-2_amd64.deb 
(Reading database ... 170745 files and directories currently installed.)
Unpacking opencpn (from opencpn_3.2.0-2_amd64.deb) ...
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: '<fd:4>: incorrect data check'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing opencpn_3.2.0-2_amd64.deb (--install):
 cannot copy extracted data for './usr/bin/opencpn' to '/usr/bin/opencpn.dpkg-new': unexpected end of file or stream
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 opencpn_3.2.0-2_amd64.deb
Are there something missing or is it just me?
Seems like something wrong in the deb file... I have downloaded it and tried several times, and I'm also getting the same errors on another Xubuntu system...

Can anyone verify that the installation file is ok?
I just downloaded the official file (again) from SourceForge. I have the same Ubuntu as you. I had no problems at all. So it's something with your system.
It could be a corrupt download. Try again!
Do you have libbz2 installed?
Dpkg does not pull dependencies. Try "sudo gdebi <downloaded_opencpn_file.deb>" instead. The command "gdebi" will automatically install the dependencies for you. You can also try to just doubleclick on the deb file. This should bring up one of the graphical installers.
Thomas
Please keep track of what happens, and report back.
cagney is offline   Reply With Quote
Old 25-04-2013, 09:11   #3
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
Send a message via Skype™ to HotRod
Re: OCPN installation on Ubuntu 12.10 64bit fails.

How do I check if I have libbz2 installed?
The command gdebi gave me "command not found"
I have tried several downloads now, same error.

When doubleclick on the file i get: "The package is of bad quality"
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 25-04-2013, 09:29   #4
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN installation on Ubuntu 12.10 64bit fails.

First run
Quote:
sudo apt-get update && sudo apt-get dist-upgrade
then
Quote:
sudo apt-get install bzip2 gdebi
Copy and paste to a command line.

If bzip2 is already installed the output will tell you.

Try again!

Thomas
cagney is offline   Reply With Quote
Old 25-04-2013, 10:18   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Or simply use the stable PPA at https://launchpad.net/~opencpn/+archive/opencpn and you will be fine...

Pavel
nohal is offline   Reply With Quote
Old 25-04-2013, 16:38   #6
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
Send a message via Skype™ to HotRod
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Cagney; It did not work. Got a bit fewer errors but no sigar..
Pavel; I added the PPA, but what do I do to install OCPN after this? Just click the file?
No apparently not... Still it reports bad file something...
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 25-04-2013, 16:46   #7
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Frode...
After that you install OpenCPN through Ubuntu Software Center, or how they call it now, just like you would install any other program that's in Ubuntu's repositories. And then you get the new stable versions with your normal updates. Before that, you have to at least once "refresh" the software packages in the Update Manager...

Pavel
nohal is offline   Reply With Quote
Old 25-04-2013, 17:00   #8
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
Send a message via Skype™ to HotRod
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Did not work Pavel...
OpenCPN can't be found in the software center...

I think that I'm bouncing back to CentOS or Scientific Linux...
Those distros where easier to handle...
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 25-04-2013, 17:54   #9
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Frode...
Did it say something? It should really be just a question of adding
as described in https://help.ubuntu.com/community/Re...y_Software_Tab

To be honest, I can't imagine anything that could go wrong...

Pavel
nohal is offline   Reply With Quote
Old 27-04-2013, 03:50   #10
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
Send a message via Skype™ to HotRod
Thumbs up Re: OCPN installation on Ubuntu 12.10 64bit fails. [SOLVED]

Strange.. After trying the recipes several times it installed trough Software Center...
The last time before it installed it said that libtinyxml2.6.2 was missing, but when trying to install that I got the message that this was obsolete... So I deleted the PPA and added it again as the recipe states...
I downloaded opencpn from the ppa repo directly and launched it by clicking the file.

Changes done to Ubuntu during the last days was upgrading from 12.10 to 13.04 (Raring)...
I did add the ppa for Ubuntu 13.04 after deleting the one for 12.10...

Launches as normal now

Thanks for your effort Thomas and Pavel
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 29-04-2013, 07:48   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: OCPN installation on Ubuntu 12.10 64bit fails.

I have a Dell XPS 15 Laptop with nvida with Win7 x 64bit.
Should I be installing Ubuntu 13.04 alongside Windows (using windows installer)
rather than 12.04.2?

Burn a CD using Windows
How to burn a DVD on Windows | Ubuntu
Install ubuntu with Windows Installer
Installing Ubuntu with the Windows installer | Ubuntu
rgleason is offline   Reply With Quote
Old 29-04-2013, 10:46   #12
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Rick...
Your user experience will be similar, there are not that many changes in 13.04. People say the performance, especially graphical, is way better in 13.04 than with 12.04 LTS. The downside is shorter support, if you care for it... If you just want to start playing with it, maybe start with a virtual machine rather than dual-boot system - it is, say, safer...

Pavel
nohal is offline   Reply With Quote
Old 29-04-2013, 18:35   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Thanks Nohal, for the advice. Yes, I Do NOT want to screw up my Win7 install!!

What is a 'virtual machine' ? is it the same as installing as a program under windows, so that it can be uninstalled using windows uninstaller? Or is it just running Ubuntu on Memory Stick?

I would like to have Ubuntu for testing/learning purposes, but what I want it for now is to compress the 1980, 1990 and 2000s Seawind etc for Sean. He wanted several versions. I have downloaded 2000, 1990 and am 1/2 through 1980. Will get some of the other data too.

It would also be good to be able to upload those to github. He said you could host it on your github. Is it possible to upload the files to my apache server and then you get them with ftp or using "file thingie" a php program that acts similar to ftp?
Or possibly I could use my github account?
rgleason is offline   Reply With Quote
Old 29-04-2013, 18:55   #14
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Rick...
You can create a virtual computer using https://www.virtualbox.org/ , vmware, MS VirtualPC or similar software - like that you can run another operating systems without actual hardware available and without danger of screwing up your machine.

Github is not a good place to host big binary files, but we have some space to host those with the plugin downloads on Sourceforge. But first things first - let's produce the data to be hosted as the first step...

Pavel
nohal is offline   Reply With Quote
Old 29-04-2013, 19:01   #15
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: OCPN installation on Ubuntu 12.10 64bit fails.

Thanks Pavel for everything, looks like virtualbox will be perfect. I will upload them to my server, then you and Sean can get therm.
rgleason is offline   Reply With Quote
Reply

Tags
installation


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


Advertise Here


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


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.