×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Installing INDI on Ubuntu 16.10

  • Posts: 15
  • Thank you received: 0
Hello,

I am trying to install INDI full on my Ubuntu laptop but I encounter a missing dependencies error. I have followed the steps described on the INDI download page (add the PPA, update, and install indi-full). The error messages say that the package "1.2.0-2~ubuntu2" is already installed and it seems to cause problems, and the fix command is not able to solve the problem. Can you help me ?

Thanks
6 years 11 months ago #15893

Please Log in or Create an account to join the conversation.

  • Posts: 314
  • Thank you received: 95
You can try install latest INDI with drivers according this instruction: see page github.com/indilib/indi
You can try my open project Astronomy Linux
6 years 11 months ago #15894

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
Thank you for your answer. I encounter the same error message when I try to install the pre-requisites. The command "apt-get -f install" indicates that the libindi1 package must be updated but I have the following errors :

Preparation to unpack .../libindi1_1.4.1+r3026~201704011202~ubuntu16.10.1_amd64.deb ...
Unpacking libindi1:amd64 (1.4.1+r3026~201704011202~ubuntu16.10.1) sur (1.2.0-2~ubuntu2) ...
dpkg: error processing the archive /var/cache/apt/archives/libindi1_1.4.1+r3026~201704011202~ubuntu16.10.1_amd64.deb (--unpack) :
trying to replace « /usr/lib/x86_64-linux-gnu/libindidriver.so.1 », belonging to package libindidriver1:amd64 1.2.0-2~ubuntu2
Issues have been encountered during execution:
/var/cache/apt/archives/libindi1_1.4.1+r3026~201704011202~ubuntu16.10.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

(I translated from french, it may be different from a true english display)

I am not very used to packages management yet so I don't see how to fix this.
6 years 11 months ago #15896

Please Log in or Create an account to join the conversation.

  • Posts: 983
  • Thank you received: 375
It looks like you have ald version of libindi present on your system. Remove it first with apt-get remove --purge libindi1
6 years 11 months ago #15904

Please Log in or Create an account to join the conversation.

Remove existing INDI first
sudo apt-get remove libindi1 libindidriver1 indi-bin

Then try to install libindi again from the PPA.
6 years 11 months ago #15909

Please Log in or Create an account to join the conversation.

  • Posts: 314
  • Thank you received: 95
IMHO, this page indilib.org/download/ubuntu.html needs the change.
You can try my open project Astronomy Linux
6 years 11 months ago #15912

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
I have tried to remove INDI packages as suggested but even the removal gives the same missing dependencies error: "[many packages] depend on libindi1 but won't be installed". And if I install INDI again (apt-get install indi-full), the missing dependency appears again with the same message.

Thank you all for your answers.
6 years 11 months ago #15915

Please Log in or Create an account to join the conversation.

You need to force removal.. so maybe run
sudo apt-get -f install

and see if that works.
6 years 11 months ago #15925

Please Log in or Create an account to join the conversation.

  • Posts: 314
  • Thank you received: 95
Raem,
in any case, you can download my open project Ubuntu Astronomy 16.04 (64 bit) and try its in Live DVD regime :)
You can try my open project Astronomy Linux
Last edit: 6 years 11 months ago by Oleg.
6 years 11 months ago #15926

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
I send you the messages after typing "sudo apt-get -f install" :

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libindidriver1 linux-headers-4.8.0-22 linux-headers-4.8.0-22-generic
linux-headers-4.8.0-34 linux-headers-4.8.0-34-generic linux-headers-4.8.0-37
linux-headers-4.8.0-37-generic linux-image-4.8.0-22-generic
linux-image-4.8.0-34-generic linux-image-4.8.0-37-generic
linux-image-extra-4.8.0-22-generic linux-image-extra-4.8.0-34-generic
linux-image-extra-4.8.0-37-generic linux-signed-image-4.8.0-34-generic
linux-signed-image-4.8.0-37-generic ubuntu-core-launcher
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libindi1
The following packages will be upgraded:
libindi1
1 to upgrade, 0 to newly install, 0 to remove and 5 not to upgrade.
36 not fully installed or removed.
Need to get 0 B/250 kB of archives.
After this operation, 829 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 328157 files and directories currently installed.)
Preparing to unpack .../libindi1_1.4.1+r3026~201704011202~ubuntu16.10.1_amd64.deb ...
Unpacking libindi1:amd64 (1.4.1+r3026~201704011202~ubuntu16.10.1) over (1.2.0-2~ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/libindi1_1.4.1+r3026~201704011202~ubuntu16.10.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libindidriver.so.1', which is also in package libindidriver1:amd64 1.2.0-2~ubuntu2
Errors were encountered while processing:
/var/cache/apt/archives/libindi1_1.4.1+r3026~201704011202~ubuntu16.10.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

If I try to install any other package, I receive a message after building the dependence tree :
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
libindi-dev : Depends: libindi1 (= 1.4.1+r3026~201704011202~ubuntu16.10.1) but 1.2.0-2~ubuntu2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Oleg, is it possible to install your solution on the computer or it is only for a Live DVD use ?
6 years 11 months ago #15935

Please Log in or Create an account to join the conversation.

  • Posts: 314
  • Thank you received: 95
Yes, you can install it on your computer.

Also, see information on page sourceforge.net/projects/ubuntu-astronomy-16-04/
You can try my open project Astronomy Linux
6 years 11 months ago #15937

Please Log in or Create an account to join the conversation.

Try this:
sudo apt-get -o Dpkg::Options::="--force-overwrite" install
6 years 11 months ago #15941

Please Log in or Create an account to join the conversation.

Time to create page: 0.654 seconds