Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-01-2014, 07:51   #1
Registered User
 
G4MJW's Avatar

Join Date: Oct 2008
Location: CALVERTON, Nottinghamshire, UK
Boat: Albin Vega 27
Posts: 36
Send a message via Skype™ to G4MJW
Installation problem with Debian 7

I'm trying to install OpenCPN on a new installation of Debian 7 i386. Fairly new to Linux I followed the brief instruction on the OpenCPN downloads page:

Wheezy (7.0)
Add line saying "deb Index of /opencpn/opencpn/ubuntu oneiric main" to /etc/apt/sources.list
In terminal, execute the following commands:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C865EB40

then:
sudo apt-get update

then:
sudo apt-get install opencpn

(It returns: downloading 0 . . . 7 . . . 20. . . 40 . . 60 . . 70 . . 100% (etc)

Reading package list . . . Done
Building dependency tree
Reading state information . . . Done
Package opencpn is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source.

E: Package ' opencpn ' has no installation candidate



Could someone please tell me what I can do next?

Many thanks

Steve
__________________

__________________
G4MJW is offline   Reply With Quote
Old 30-01-2014, 13:13   #2
Registered User

Join Date: May 2010
Posts: 81
Re: Installation problem with Debian 7

Hi Steve,

First, I am not a Linux expert, but I have managed to get OpenCPN working several times.

Did you try downloading the installation file? You may find it easier to work with that. Check the download page and you will see several versions. One of them should work on Debian.

The way you are trying to do it may work, but you'll have to set up the right repository before apt-get will do the trick. Alternatively, you can try and build from source. I found the instructions excellent.

Cheers, ....Erik.
__________________

__________________
ve7mdl is offline   Reply With Quote
Old 30-01-2014, 14:23   #3
Registered User
 
G4MJW's Avatar

Join Date: Oct 2008
Location: CALVERTON, Nottinghamshire, UK
Boat: Albin Vega 27
Posts: 36
Send a message via Skype™ to G4MJW
Re: Installation problem with Debian 7

Hi Erik and many thanks for the info.

Yeh, in Ubuntu I've previously just downloaded the correct file and the Ubuntu installer has installed it and OpenCPN has worked straight off. Same with Windows on my Desktop.

I tried downloading a few versions but in Debian the resident installer does nothing, I assumed as the downloaded versions are incompatible with Debian.

Also, after setting up the repository tried to do it using the Synaptic Package Manager . . . but it never found opencpn.

Was thinking it would be a 2 minute job like with the other OS's but I'll have to leave it for now as it will take my total brain power to get my head around trying to build from source code.

Many thanks, I will do it eventually.

Bye for now

Steve/G4MJW
__________________
G4MJW is offline   Reply With Quote
Old 30-01-2014, 14:35   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Installation problem with Debian 7

Steve...
You definitely shouldn't need to build from source. In worst case download the Oneiric deb from the PPA manually and install it using
Code:
dpkg -i opencpn*.deb
Hard to say why you can't use the PPA directly, will have a look when I have some Debian machine available. But at first look it gives an impression that it simply isn't in the sources.list - Check whether it's data is actually updated while doing "apt-get update"

Pavel
__________________
nohal is online now   Reply With Quote
Old 31-01-2014, 07:58   #5
Registered User
 
G4MJW's Avatar

Join Date: Oct 2008
Location: CALVERTON, Nottinghamshire, UK
Boat: Albin Vega 27
Posts: 36
Send a message via Skype™ to G4MJW
Re: Installation problem with Debian 7

Thanks both for the help.

I have "deb http://ppa.launchpad . net/opencpn/opencpn/ubuntu oneiric main" to /etc/apt/sources.list In the sources list

(I added the spaces . only here to stop it from coming up as a url)

Even when I enter: dpkg -i opencpn*.deb in the terminal, I get:

dpkg: error processing opencpn*.deb (--install) :
Errors were encountered while processing:
opencpn*.deb

Not sure what to try next?

Steve/G4MJW
__________________
G4MJW is offline   Reply With Quote
Old 31-01-2014, 08:02   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Installation problem with Debian 7

Show me the exact errors
__________________
nohal is online now   Reply With Quote
Old 31-01-2014, 08:18   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Installation problem with Debian 7

I dug out a Wheezy VM, downloaded the oneiric deb from launchpad and did:
Code:
sudo apt-get install libportaudio2 tinyxml2.6.2 wxgtk2.8
sudo dpkg -i opencpn_3.2.2-0~oneiric1_i386.deb
No problem observed

Pavel
__________________
nohal is online now   Reply With Quote
Old 31-01-2014, 13:57   #8
Registered User
 
G4MJW's Avatar

Join Date: Oct 2008
Location: CALVERTON, Nottinghamshire, UK
Boat: Albin Vega 27
Posts: 36
Send a message via Skype™ to G4MJW
Re: Installation problem with Debian 7

I give up with Debian!

I copied and pasted exactly what you set, so I didn't have any mistakes in the typing:

sudo dpkg -i opencpn_3.2.2-0~oneiric1_i386.deb

And it returned:
Error: Cannot access archive: No such file or directory

After to many hours on this I have to leave it and get on with my boat.

Many thanks

Steve/G4MJW
__________________
G4MJW is offline   Reply With Quote
Old 31-01-2014, 14:00   #9
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Installation problem with Debian 7

You have to download the deb first...
__________________
nohal is online now   Reply With Quote
Old 01-02-2014, 07:52   #10
Registered User
 
G4MJW's Avatar

Join Date: Oct 2008
Location: CALVERTON, Nottinghamshire, UK
Boat: Albin Vega 27
Posts: 36
Send a message via Skype™ to G4MJW
Re: Installation problem with Debian 7

Hi Nohal,

I did . . . that was the first thing I did, Download opencpn_3.2.2-0~oneiric1_i386.deb. Clicked on it like I would for a Ubuntu version expecting the installer to install it but got the message that there was no installer for this package!

Then I sent my first message above on the 30th Jan asking for help. Been round in a circle.


UPDATE:

Just downloaded file: opencpn_3.2.2-1_i386.deb from Sourgeforce, clicked on it and it installed immediately using GDebi Package installer!

My Marine EverMore 920 USB GPS works using GPSD. I've copied across my CM93 folder covering 20,000+ charts of the whole world. All working GREAT now.

Thanks to you both for your help.

Bye for now

Steve/G4MJW
__________________

__________________
G4MJW is offline   Reply With Quote
Reply

Tags
installation

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 08: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.