×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

Ubuntu indi-full dependency hell

3 months 1 week ago
Aurneth
Fresh Boarder
Fresh Boarder
Posts: 7
More
Topic Author
Ubuntu indi-full dependency hell #40748
Using an Ubuntu-based OS, following the instructions on the Ubuntu page for installing the Stable version we get this:

sudo apt-get install indi-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
indi-full : Depends: indi-asi but it is not going to be installed
Depends: indi-toupcam but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


So let's see what the issues are, starting with indi-asi (which I actually need as I have an ASI camera):

sudo apt-get install indi-asi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
indi-asi : Depends: asi-common but it is not installable
E: Unable to correct problems, you have held broken packages.


And that leads to:

sudo apt-get install asi-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package asi-common 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 'asi-common' has no installation candidate


Well, that's not going to be installed, then. How about indi-toupcam?

sudo apt-get install indi-toupcam
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
indi-toupcam : Depends: libindidriver1 (>= 1.7.4+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Leading to:

sudo apt-get install libindidriver1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libindidriver1
0 upgraded, 1 newly installed, 0 to remove and 370 not upgraded.
Need to get 0 B/287 kB of archives.
After this operation, 1042 kB of additional disk space will be used.
Selecting previously unselected package libindidriver1:i386.
(Reading database ... 281507 files and directories currently installed.)
Preparing to unpack .../libindidriver1_1.7.4+dfsg-1_i386.deb ...
Unpacking libindidriver1:i386 (1.7.4+dfsg-1) ...
Setting up libindidriver1:i386 (1.7.4+dfsg-1) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...


So... that installed despite the earlier warning that it wouldn't. Let's try indi-toupcam again:

sudo apt-get install indi-toupcam
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
indi-toupcam : Depends: libindi1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Ok, now let's try libindi1:

sudo apt-get install libindi1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
indi-bin
The following packages will be REMOVED:
libindidriver1
The following NEW packages will be installed:
indi-bin libindi1
0 upgraded, 2 newly installed, 1 to remove and 370 not upgraded.
Need to get 0 B/1288 kB of archives.
After this operation, 5367 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 281511 files and directories currently installed.)
Removing libindidriver1:i386 (1.7.4+dfsg-1) ...
Selecting previously unselected package libindi1:i386.
(Reading database ... 281507 files and directories currently installed.)
Preparing to unpack .../libindi1_1.7.6~201812191813~ubuntu18.10.1_i386.deb ...
Unpacking libindi1:i386 (1.7.6~201812191813~ubuntu18.10.1) ...
Selecting previously unselected package indi-bin.
Preparing to unpack .../indi-bin_1.7.6~201812191813~ubuntu18.10.1_i386.deb ...
Unpacking indi-bin (1.7.6~201812191813~ubuntu18.10.1) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Setting up indi-bin (1.7.6~201812191813~ubuntu18.10.1) ...
Setting up libindi1:i386 (1.7.6~201812191813~ubuntu18.10.1) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...


So it just finished removing something it installed just before. Back to indi-toupcam again:

sudo apt-get install indi-toupcam
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
indi-toupcam : Depends: libindidriver1 (>= 1.7.4+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


And libindidriver1 again:

sudo apt-get install libindidriver1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
indi-bin libindi1
The following NEW packages will be installed:
libindidriver1
0 upgraded, 1 newly installed, 2 to remove and 370 not upgraded.
Need to get 0 B/287 kB of archives.
After this operation, 5367 kB disk space will be freed.
Do you want to continue? [Y/n]


So basically there's a conflict between libindi1 and libindidriver1.

If I go to the Nightly Builds, I can deal with the indi-asi/asi-common issue as asi-common exists there, but the indi-toupcam dependency on conflicting packages libindi1 and libindidriver1 still exists.

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

3 months 1 week ago
knro
Administrator
Administrator
Posts: 7280
Karma: 51
Ubuntu indi-full dependency hell #40756
Looks like you install libindi from the system repos which conflict with the PPA INDI. First purge all the libindi and indi-* packages and then sudo apt-get update and then install it again.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

3 months 1 week ago
wvreeven
Platinum Boarder
Platinum Boarder
Posts: 1027
Karma: 6
More
Ubuntu indi-full dependency hell #40783
Which version of Ubuntu are you using? Please try 18.04 or 19.04.

ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R

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

3 months 1 week ago 3 months 1 week ago by Aurneth. Reason: Attachments
Aurneth
Fresh Boarder
Fresh Boarder
Posts: 7
More
Topic Author
Ubuntu indi-full dependency hell #40861
Uh, no, the issue with indi-toupcam (and therefore indi-full) having conflicting dependencies remains. After purging everything and re-adding the PPA, it still happens:

sudo apt-get install libindi1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
indi-bin libindi-data
The following NEW packages will be installed:
indi-bin libindi-data libindi1
0 upgraded, 3 newly installed, 0 to remove and 370 not upgraded.
Need to get 1298 kB of archives.
After this operation, 6453 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 ppa.launchpad.net/mutlaqja/ppa/ubuntu cosmic/main i386 libindi-data all 1.7.9~201907021820~ubuntu18.10.1 [9532 B]
Get:2 ppa.launchpad.net/mutlaqja/ppa/ubuntu cosmic/main i386 libindi1 i386 1.7.6~201812191813~ubuntu18.10.1 [327 kB]
Get:3 ppa.launchpad.net/mutlaqja/ppa/ubuntu cosmic/main i386 indi-bin i386 1.7.6~201812191813~ubuntu18.10.1 [961 kB]
Fetched 1298 kB in 2s (566 kB/s)
Selecting previously unselected package libindi-data.
(Reading database ... 281498 files and directories currently installed.)
Preparing to unpack .../libindi-data_1.7.9~201907021820~ubuntu18.10.1_all.deb ...
Unpacking libindi-data (1.7.9~201907021820~ubuntu18.10.1) ...
Selecting previously unselected package libindi1:i386.
Preparing to unpack .../libindi1_1.7.6~201812191813~ubuntu18.10.1_i386.deb ...
Unpacking libindi1:i386 (1.7.6~201812191813~ubuntu18.10.1) ...
Selecting previously unselected package indi-bin.
Preparing to unpack .../indi-bin_1.7.6~201812191813~ubuntu18.10.1_i386.deb ...
Unpacking indi-bin (1.7.6~201812191813~ubuntu18.10.1) ...
Setting up libindi-data (1.7.9~201907021820~ubuntu18.10.1) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Setting up indi-bin (1.7.6~201812191813~ubuntu18.10.1) ...
Setting up libindi1:i386 (1.7.6~201812191813~ubuntu18.10.1) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...


As you can see, the libindi1 has come from the PPA repo. Continuing on:

sudo apt-get install indi-toupcam
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
indi-toupcam : Depends: libindidriver1 (>= 1.7.4+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



Here are screengrabs from the Muon package manager: <strong>it's unequivocal and without any possibility of doubt</strong>: indi-toupcam has dependencies on libindi1 and libindidriver1 but the libindi1 package has a conflicts flag against libindidriver1.

Lifting indi-toupcam's dependency on libindidriver1 should fix it.

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

3 months 1 week ago
knro
Administrator
Administrator
Posts: 7280
Karma: 51
Ubuntu indi-full dependency hell #40867
32bit is not supported. This is why you're having these issues. Use 64bit OS.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

3 months 6 days ago
Aurneth
Fresh Boarder
Fresh Boarder
Posts: 7
More
Topic Author
Ubuntu indi-full dependency hell #40941
How can I use a 64bit OS on a computer that only supports 32bit OSes? I've got an old Dell Mini9 Netbook that I can strap to the mount it's so small, thus much reducing cable clutter and tangling. With it on the mount I can connect to it from other computers.

The "issue" is not that I'm using a 32bit OS but rather that the control file for the i386 package has a dependency it shouldn't have and which that for amd64 doesn't have. I got installed with a --force-depends flag to get all the other stuff then I let apt "fix" the situation by removing indi-toupcam (and with it the meta-package indi-full) since I don't actually need it. If I actually needed it I'd have had to edit the control file and repackage the .deb.

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

2 months 4 weeks ago
knro
Administrator
Administrator
Posts: 7280
Karma: 51
Ubuntu indi-full dependency hell #41128
You can always compile from source. We have a complete guide for this here: indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

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

Time to create page: 0.845 seconds