Navigatrix.net - A Voyager's Companion http://navigatrix.net/ |
|
update opencpn http://navigatrix.net/viewtopic.php?f=4&t=770 |
Page 1 of 2 |
Author: | Diecicentouno [ 04 Feb 2015, 06:36 ] |
Post subject: | update opencpn |
someone knows how I can do it? |
Author: | Moe [ 04 Feb 2015, 08:41 ] |
Post subject: | Re: update opencpn |
Good thing this was just covered. http://navigatrix.net/viewtopic.php?f=4&t=752&hilit=opencpn+4.0 We'll skip the bloody parts....open a terminal (<ctl><alt><t>) (Hint; skip to the near end) Paste in, enter, and be agreeable: Code: sudo apt-get remove install-info Add the opencpn repository Code: sudo add-apt-repository ppa:opencpn/opencpn Update the list Code: sudo apt-get update Install Code: sudo apt-get install opencpn opencpn-doc opencpn-tcdata opencpn-gshhs-low opencpn-gshhs-crude opencpn-gshhs-intermediate opencpn-gshhs-high opencpn-gshhs-full Enjoy.Hint: If you're lazy do it all at once Code: sudo apt-get remove install-info && sudo add-apt-repository ppa:opencpn/opencpn && sudo apt-get update && sudo apt-get install opencpn opencpn-doc opencpn-tcdata opencpn-gshhs-low opencpn-gshhs-crude opencpn-gshhs-intermediate opencpn-gshhs-high opencpn-gshhs-full Answer the questions on the terminal as they arise. Most (All) take an <Enter> only. Read the terminal. If it asks you to enter Code: sudo apt-get -f install please do. It's to fix some oversight in instructions.Enjoy. |
Author: | svattila [ 04 Feb 2015, 21:45 ] |
Post subject: | Re: update opencpn |
Hello, NX-ers! Something horrible happened... I waited for hours to download the packages, and when it came to unpacking them, my hard disk got full... So the installation has been interrupted, with this message: Processing triggers for man-db (2.6.7.1-1) ... /usr/bin/mandb: can't write to /var/cache/man/4689: No space left on device Errors were encountered while processing: /var/cache/apt/archives/opencpn-tcdata_3.3.2107-0~trusty1_all.deb /var/cache/apt/archives/opencpn-gshhs-crude_2.2.4-0~trusty2_all.deb /var/cache/apt/archives/opencpn-gshhs-low_2.2.4-0~trusty2_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Now I made more space, now I have 5 G of free space. How can I continue, without downloading everything again? Thank you! |
Author: | Moe [ 04 Feb 2015, 21:53 ] |
Post subject: | Re: update opencpn |
Code: sudo apt-get install opencpn opencpn-doc opencpn-tcdata opencpn-gshhs-low opencpn-gshhs-crude opencpn-gshhs-intermediate opencpn-gshhs-high opencpn-gshhs-full will get you back on track. Any data already downloaded will be already downloaded.....apt-get will pick up where it spit up. |
Author: | svattila [ 04 Feb 2015, 22:27 ] |
Post subject: | Re: update opencpn |
Thank you! Wow...what a difference! It is way faster than the previous version, even without the OpenGL acceleration. Very nice. Thank you for your lightening-fast answer, Moe! |
Author: | Diecicentouno [ 13 Feb 2015, 03:41 ] |
Post subject: | Re: update opencpn |
I got this errors Reading state information... Done E: Unable to locate package opencpn-doc E: Unable to locate package opencpn-tcdata E: Unable to locate package opencpn-gshhs-low E: Unable to locate package opencpn-gshhs-crude E: Unable to locate package opencpn-gshhs-intermediate E: Unable to locate package opencpn-gshhs-high E: Unable to locate package opencpn-gshhs-full |
Author: | Moe [ 13 Feb 2015, 04:19 ] |
Post subject: | Re: update opencpn |
Two reasons are likely candidates: 1) The PPA (private repository) has not been added. Code: sudo add-apt-repository ppa:opencpn/opencpn 2) The grand-master list of available packages in all repositories has not be updated to include the 'new' additions. Code: sudo apt-get update It could be one, or the other, or both. Give that a try. It is quite possible the 'all-in-one' command misses a 'confirmation' request "Do you want to enter this repository into your system?'...sort of question. If it does, it's my oversight as I never tested it on a 'virgin' system. |
Author: | Diecicentouno [ 18 Feb 2015, 03:20 ] |
Post subject: | Re: update opencpn |
after this sudo apt-get update i got this E: Some index files failed to download. They have been ignored, or old ones used instead. doesn't work... |
Author: | Moe [ 18 Feb 2015, 10:07 ] |
Post subject: | Re: update opencpn |
Sometimes it's harder to figure out the problem than just get a bigger hammer and beat it into submission. I just had a look with a fresh LiveCD version. The install script chokes so you have to beat it. I don't understand the files failed to download problem. I could find them all. Rather than figure out what you may, or may not be missing, I packaged them into an archive and placed them in a dropbag http://wadda.org/dropbag/diecicentouno.tar.gz Download the archive. Unpack it. Open a terminal and execute: Code: sudo cp ~/Downloads/opencpn/* /var/cache/apt/archives/ Code: sudo apt-get install opencpn opencpn-doc opencpn-tcdata opencpn-gshhs-low opencpn-gshhs-crude opencpn-gshhs-intermediate opencpn-gshhs-high opencpn-gshhs-full Code: sudo apt-get -f install It will complain, ignore the errors, that will fix it.Remember your friends. |
Author: | Diecicentouno [ 04 Mar 2015, 09:09 ] |
Post subject: | Re: update opencpn |
Moe wrote: Sometimes it's harder to figure out the problem than just get a bigger hammer and beat it into submission. I just had a look with a fresh LiveCD version. The install script chokes so you have to beat it. I don't understand the files failed to download problem. I could find them all. Rather than figure out what you may, or may not be missing, I packaged them into an archive and placed them in a dropbag http://wadda.org/dropbag/diecicentouno.tar.gz Download the archive. Unpack it. Open a terminal and execute: Code: sudo cp ~/Downloads/opencpn/* /var/cache/apt/archives/ Code: sudo apt-get install opencpn opencpn-doc opencpn-tcdata opencpn-gshhs-low opencpn-gshhs-crude opencpn-gshhs-intermediate opencpn-gshhs-high opencpn-gshhs-full Code: sudo apt-get -f install It will complain, ignore the errors, that will fix it.Remember your friends. Thanks guys, i made all that you wrote but doesn't work any way! |
Author: | Moe [ 04 Mar 2015, 09:48 ] |
Post subject: | Re: update opencpn |
If you specified what leads you to this conclusion we might be able to fix it. Defining the problem is half the solution. Understanding the problem is the rest of the solution. How do you know that it didn't work? |
Author: | Diecicentouno [ 09 Mar 2015, 03:15 ] |
Post subject: | Re: update opencpn |
Moe wrote: If you specified what leads you to this conclusion we might be able to fix it. Defining the problem is half the solution. Understanding the problem is the rest of the solution. How do you know that it didn't work? ok Moe, I start from the begining: if i try to in install opencpn with Gdebi, this is the error: dependency is non satifable: wx2.8-i18n Now i try to upgrade with sudo: I follow all of your instruction (from the beginning to the end) but opencpn is always on 3.2 release.... what can i do?? maybe i disintall opencpn and than try to install the new version? |
Author: | Moe [ 09 Mar 2015, 05:21 ] |
Post subject: | Re: update opencpn |
Are you getting errors like Quote: Vcp: cannot stat ‘/home/nx/Downloads/opencpn/*’: No such file or directory or[quoteReading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package opencpn-doc E: Unable to locate package opencpn-tcdata E: Unable to locate package opencpn-gshhs-low E: Unable to locate package opencpn-gshhs-crude E: Unable to locate package opencpn-gshhs-intermediate E: Unable to locate package opencpn-gshhs-high E: Unable to locate package opencpn-gshhs-full ][/quote] What version of Navigatrix? The current one sports OpenCPN 3.2.2, I have to hunt for the 3.2, or did you not type the entire number? |
Author: | Moe [ 09 Mar 2015, 05:42 ] |
Post subject: | Re: update opencpn |
Unless you are creating a typo, these instruction take a freshly made USB installation of Navigatrix all the way through an OpenCPN 4.0.0 installation. It has been tested many times. If you are only getting version 3.2, and not 3.2.2, it might mean you have an older version of Navigatrix and there is something going on that I'm not aware of...or you do not have a persistence file, and never really install it, but, the easiest, fastest solution for me, if you want to update OpenCPN, update Navigatrix because I do not have enough information to reasonable begin to figure out what is going wrong. |
Author: | Moe [ 09 Mar 2015, 23:04 ] |
Post subject: | Re: update opencpn |
Check your typing (or cut and paste method). I dug in the attic and on any Navigatrix 0.5, OpenCPN 4.0.0 can be installed with those instructions. |
Author: | Diecicentouno [ 17 Mar 2015, 03:54 ] |
Post subject: | Re: update opencpn |
Moe wrote: Are you getting errors like Quote: Vcp: cannot stat ‘/home/nx/Downloads/opencpn/*’: No such file or directory or[quoteReading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package opencpn-doc E: Unable to locate package opencpn-tcdata E: Unable to locate package opencpn-gshhs-low E: Unable to locate package opencpn-gshhs-crude E: Unable to locate package opencpn-gshhs-intermediate E: Unable to locate package opencpn-gshhs-high E: Unable to locate package opencpn-gshhs-full ] What version of Navigatrix? The current one sports OpenCPN 3.2.2, I have to hunt for the 3.2, or did you not type the entire number?[/quote] Version 3.2.2... |
Author: | Diecicentouno [ 17 Mar 2015, 04:06 ] |
Post subject: | Re: update opencpn |
/ A conference is a gathering of \ | important people who singly can do | | nothing but together can decide that | | nothing can be done. | | | \ -- Fred Allen / -------------------------------------- \ __,---. /__|o ) `- / / ,) (, // \\ {( )} =======""===""=============== ||||| ||| | diecicentouno@diecicentouno-Aspire-5740:~$ sudo cp ~/Downloads/opencpn/* /var/cache/apt/archives/ [sudo] password for diecicentouno: diecicentouno@diecicentouno-Aspire-5740:~$ sudo apt-get install opencpn opencpn-doc opencpn-tcdata opencpn-gshhs-low opencpn-gshhs-crude opencpn-gshhs-intermediate opencpn-gshhs-high opencpn-gshhs-full Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package opencpn-doc E: Unable to locate package opencpn-tcdata E: Unable to locate package opencpn-gshhs-low E: Unable to locate package opencpn-gshhs-crude E: Unable to locate package opencpn-gshhs-intermediate E: Unable to locate package opencpn-gshhs-high E: Unable to locate package opencpn-gshhs-full diecicentouno@diecicentouno-Aspire-5740:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: alien cups-ppdc libcupscgi1 libcupsmime1 libcupsppdc1 libfontembed1 libgutenprint2 libqpdf10 librpmbuild3 librpmsign1 pax rpm ssl-cert Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. diecicentouno@diecicentouno-Aspire-5740:~$ let's have a look! thank you for your assistence! |
Author: | Moe [ 17 Mar 2015, 06:35 ] |
Post subject: | Re: update opencpn |
There are two ways to get output like you've demonstrated:
This is done to update what the system knows is available, and where that information is located. First, youŕe adding to the know list of available packages Add the opencpn repository Code: Code: sudo add-apt-repository ppa:opencpn/opencpn Then you regenerate the list of packages, including the new OpenCPN repository Update the list Code: Code: sudo apt-get update Once you have the updated list (and locations) of available packages, then you can install them. Code: sudo apt-get install opencpn opencpn-doc opencpn-tcdata opencpn-gshhs-low opencpn-gshhs-crude opencpn-gshhs-intermediate opencpn-gshhs-high opencpn-gshhs-full Since you had indicated you had trouble with the packages that were downloaded, I sorry, I assumed you had already done those steps. Executing those three commands in sequence should bring you success.
|
Author: | Diecicentouno [ 31 Mar 2015, 01:33 ] |
Post subject: | Re: update opencpn |
Moe, doesn't works..... I attached a file with the errors... |
Author: | Moe [ 31 Mar 2015, 02:17 ] |
Post subject: | Re: update opencpn |
Ora si sono solo scherzi con me. |
Page 1 of 2 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |