startrek66

  • ***
  • 156
  • F330+Revo
Simple question about install new release 16.09
« on: December 18, 2016, 03:55:24 pm »
Hi
I have to install the new version on a linux pc and wonder if I should delete the previous version 15.9 or both can coexist.
Thank you in advance

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Simple question about install new release 16.09
« Reply #1 on: December 18, 2016, 04:34:23 pm »
If you install the 16.09 release from a Linux package, the previous version will be replaced.

startrek66

  • ***
  • 156
  • F330+Revo
Re: Simple question about install new release 16.09
« Reply #2 on: December 18, 2016, 11:09:24 pm »
Yes I install from linux package. The previous version will be automatically replaced?

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Simple question about install new release 16.09
« Reply #3 on: December 18, 2016, 11:15:08 pm »
I think like others packages in your system, when you do a update

Code: [Select]
sudo apt-get install librepilot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-image-4.2.0-42-generic linux-image-4.4.0-31-generic
  linux-image-extra-4.2.0-42-generic linux-image-extra-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  librepilot
1 upgraded, 0 newly installed, 0 to remove and 203 not upgraded.
Need to get 42,4 MB of archives.
After this operation, 843 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/librepilot/release/ubuntu xenial/main amd64 librepilot amd64 16.09-0xenial1 [42,4 MB]
77% [1 librepilot 40,9 MB/42,4 MB 96%]                                      Fetched 42,4 MB in 21s (1 974 kB/s)                                       
(Reading database ... 277925 files and directories currently installed.)
Preparing to unpack .../librepilot_16.09-0xenial1_amd64.deb ...
Unpacking librepilot (16.09-0xenial1) over (15.09+r957~gd7ebf30-0xenial1) ...
« Last Edit: December 19, 2016, 12:20:03 am by f5soh »

Re: Simple question about install new release 16.09
« Reply #4 on: December 19, 2016, 04:06:41 am »
Even if it says unpacking 1609 over 1509 didn't we make it so that you still have both some time ago?

hwh

  • *
  • 1018
Re: Simple question about install new release 16.09
« Reply #5 on: December 19, 2016, 07:42:37 am »
No, that would break the packaging and package repositories.

Only developers running from build directories can have multiple versions.
« Last Edit: December 19, 2016, 07:48:55 am by hwh »

Re: Simple question about install new release 16.09
« Reply #6 on: December 19, 2016, 08:38:33 am »
But I've always been able to do that.  I just move my build directory off to a save directory...

So what is it that changed?

hwh

  • *
  • 1018
Re: Simple question about install new release 16.09
« Reply #7 on: December 19, 2016, 03:47:56 pm »
But I've always been able to do that.  I just move my build directory off to a save directory...

So what is it that changed?

Nothing changed, as I said developers can run multiple versions.  Renaming the build directory or building in a different directory allows that.  I normally have one git clone that's a clean copy of the master LP repo and one that's a copy of my fork, it works fine.

For an end user like the OP installing from the binary package it automatically installs the new version over the old one.

Re: Simple question about install new release 16.09
« Reply #8 on: December 19, 2016, 08:41:39 pm »
Its just that I recall that there was some work done in early 2016 to allow multiple versions to exist on the same machine.  Maybe it was not completed / merged.

startrek66

  • ***
  • 156
  • F330+Revo
Re: Simple question about install new release 16.09
« Reply #9 on: December 19, 2016, 11:38:13 pm »
But I've always been able to do that.  I just move my build directory off to a save directory...

So what is it that changed?

Nothing changed, as I said developers can run multiple versions.  Renaming the build directory or building in a different directory allows that.  I normally have one git clone that's a clean copy of the master LP repo and one that's a copy of my fork, it works fine.

For an end user like the OP installing from the binary package it automatically installs the new version over the old one.
I installed the new version which replaced the 15.09. I did notice that the pfd is not displayed and also the model view is not seen. how do I fix?

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Simple question about install new release 16.09
« Reply #10 on: December 20, 2016, 12:12:25 am »
Reset the config.

File > GCS Settings Import/Export and click the reset config button

you can also start the Gcs using 'librepilot-gcs -reset'

startrek66

  • ***
  • 156
  • F330+Revo
Re: Simple question about install new release 16.09
« Reply #11 on: December 20, 2016, 06:56:18 am »
Fixed. Thanks