×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Error updating indi-mi driver

  • Posts: 983
  • Thank you received: 375
If you encounter errors in updating INDI recently and it looks like this:
Errors were encountered while processing:
 /tmp/apt-dpkg-install-4feKYX/23-libmicam_1.0~202001312247~ubuntu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

OR
The following packages have unmet dependencies:
 indi-mi : Depends: libmicam but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Please run
sudo apt --fix-broken install
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
2 years 11 months ago #48879

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

  • Posts: 1944
  • Thank you received: 419
I’d advise to do

sudo apt install libmicam

and then try again. The package is available after all.


Wouter
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
The following user(s) said Thank You: Radek Kaczorek, maxthebuilder
2 years 11 months ago #48881

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

  • Posts: 391
  • Thank you received: 116
FYI, the instructions given by the Software Updater app on failure show slightly differently, but give a similar command (not exact, but essentially the same) as suggested by Kaczorek. I opened a Konsole and ran the command with sudo, and at the continue prompt gave the "Y", and all was well afterward.
RASA11, Celestron CGX-L, ASI183mc Pro, 60mm guider + ASI290mm mini, ASI EAF focuser, PPB, Rpi4-4Gb+SSD, Powered USB3 hub, hardwire Ethernet.
2 years 11 months ago #48884

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

  • Posts: 753
  • Thank you received: 69
Yes. This helped - thank you!
Max S.

RPI 4 B (4Gb) with SMate
Askar FRA400, TPO RC6, Nikon D5500 full spectrum (with IDAS D1 clip-in filter).
ASI2600MC Pro
ZWO ASI120MM Mini on ZWO 30F4
ZWO ASI224MC-S on Orion 50 mm f/3.2
ZWO EAF x 2
SW AZ-GTi
SW HEQ5
RST-135
iOptron CEM40G
2 years 11 months ago #49009

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

  • Posts: 858
  • Thank you received: 139
I might be dense but it didn't help here:


trifid@AB350N:~$ sudo apt update
Hit:1 security.ubuntu.com/ubuntu disco-security InRelease
Hit:2 de.archive.ubuntu.com/ubuntu disco InRelease
Hit:3 ppa.launchpad.net/mutlaqja/indinightly/ubuntu disco InRelease
Hit:4 de.archive.ubuntu.com/ubuntu disco-updates InRelease
Hit:5 de.archive.ubuntu.com/ubuntu disco-backports InRelease
Hit:6 ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu disco InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
trifid@AB350N:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
indi-mi
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/52,1 kB of archives.
After this operation, 108 kB of additional disk space will be used.
Do you want to continue? [J/n] j
(Reading database ... 300926 files and directories currently installed.)
Preparing to unpack .../indi-mi_1.7-0~202002070858~ubuntu19.04.1_amd64.deb ...
Unpacking indi-mi (1.7-0~202002070858~ubuntu19.04.1) over (1.6-0~202002051653~ubuntu19.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/indi-mi_1.7-0~202002070858~ubuntu19.04.1_amd64.deb (--unpack):
trying to overwrite '/lib/udev/rules.d/99-miccd.rules', which is also in package libmicam 1.0~202002070900~ubuntu19.04.1
Errors were encountered while processing:
/var/cache/apt/archives/indi-mi_1.7-0~202002070858~ubuntu19.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
trifid@AB350N:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
trifid@AB350N:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
indi-mi
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/52,1 kB of archives.
After this operation, 108 kB of additional disk space will be used.
Do you want to continue? [J/n] j
(Reading database ... 300926 files and directories currently installed.)
Preparing to unpack .../indi-mi_1.7-0~202002070858~ubuntu19.04.1_amd64.deb ...
Unpacking indi-mi (1.7-0~202002070858~ubuntu19.04.1) over (1.6-0~202002051653~ubuntu19.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/indi-mi_1.7-0~202002070858~ubuntu19.04.1_amd64.deb (--unpack):
trying to overwrite '/lib/udev/rules.d/99-miccd.rules', which is also in package libmicam 1.0~202002070900~ubuntu19.04.1
Errors were encountered while processing:
/var/cache/apt/archives/indi-mi_1.7-0~202002070858~ubuntu19.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
trifid@AB350N:~$

I have no clue how to get rid of it.
2 years 11 months ago #49157

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

sudo apt-get -o Dpkg::Options::="--force-overwrite" -f install
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: Alfred
2 years 11 months ago #49159

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

  • Posts: 858
  • Thank you received: 139
Thanks a lot,

"sudo apt-get -o Dpkg::Options::="--force-overwrite" -f install indi-mi"

solved it.
2 years 11 months ago #49164

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

  • Posts: 102
  • Thank you received: 7


Hello,
I got the same issue.

solved it.
What can be done, to prevent the occurance of this?
Thomas
Thomas Jäger
www.starhopper.eu
Linux Mint19.2
300/1200mm, 200/1000mm & 200/618mm Newton, Esprit 100/550mm, C 9.25"
SBIG STL11000M C2, Moravian G2-8300, ZWO ASI183MM-C and ASI2600
2 years 11 months ago #49238

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

  • Posts: 983
  • Thank you received: 375

It occurs only once, while upgrading indi-mi, which has been recently separated from vendor libraries included in libmicam. All the subsequent upgrades will go smoothly.
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
2 years 11 months ago #49291

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

Time to create page: 0.252 seconds