 |
|
25-04-2013, 09:17
|
#1
|
|
Registered User
Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
|
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?
|
|
|
25-04-2013, 09: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
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.
|
|
|
25-04-2013, 10:11
|
#3
|
|
Registered User
Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
|
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"
|
|
|
25-04-2013, 10: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
|
|
|
25-04-2013, 11:18
|
#5
|
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,331
|
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
|
|
|
25-04-2013, 17:38
|
#6
|
|
Registered User
Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
|
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...
|
|
|
25-04-2013, 17:46
|
#7
|
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,331
|
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
|
|
|
25-04-2013, 18:00
|
#8
|
|
Registered User
Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
|
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...
|
|
|
25-04-2013, 18:54
|
#9
|
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,331
|
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
|
|
|
27-04-2013, 04:50
|
#10
|
|
Registered User
Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
|
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
|
|
|
29-04-2013, 11:46
|
#12
|
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,331
|
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
|
|
|
29-04-2013, 19:35
|
#13
|
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,446
|
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?
|
|
|
29-04-2013, 19:55
|
#14
|
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,331
|
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
|
|
|
29-04-2013, 20:01
|
#15
|
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,446
|
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.
|
|
|
 |
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
No Threads to Display.
|
|