LibrePilot Forum

Development => GCS General => Topic started by: startrek66 on December 18, 2016, 03:55:24 pm

Title: Simple question about install new release 16.09
Post by: startrek66 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
Title: Re: Simple question about install new release 16.09
Post by: f5soh 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.
Title: Re: Simple question about install new release 16.09
Post by: startrek66 on December 18, 2016, 11:09:24 pm
Yes I install from linux package. The previous version will be automatically replaced?
Title: Re: Simple question about install new release 16.09
Post by: f5soh 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) ...
Title: Re: Simple question about install new release 16.09
Post by: TheOtherCliff 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?
Title: Re: Simple question about install new release 16.09
Post by: hwh 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.
Title: Re: Simple question about install new release 16.09
Post by: TheOtherCliff 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?
Title: Re: Simple question about install new release 16.09
Post by: hwh 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.
Title: Re: Simple question about install new release 16.09
Post by: TheOtherCliff 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.
Title: Re: Simple question about install new release 16.09
Post by: startrek66 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?
Title: Re: Simple question about install new release 16.09
Post by: f5soh 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'
Title: Re: Simple question about install new release 16.09
Post by: startrek66 on December 20, 2016, 06:56:18 am
Fixed. Thanks