×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

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
4 years 2 months ago #48879

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

  • Posts: 1957
  • Thank you received: 420
I’d advise to do

sudo apt install libmicam

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


Wouter
The following user(s) said Thank You: Radek Kaczorek, maxthebuilder
4 years 2 months ago #48881

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

  • Posts: 398
  • Thank you received: 117
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.
4 years 2 months ago #48884

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

  • Posts: 912
  • Thank you received: 86
Yes. This helped - thank you!
-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 3.
4 years 2 months ago #49009

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

  • Posts: 989
  • Thank you received: 161
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.
4 years 2 months ago #49157

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

sudo apt-get -o Dpkg::Options::="--force-overwrite" -f install
The following user(s) said Thank You: Alfred
4 years 2 months ago #49159

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

  • Posts: 989
  • Thank you received: 161
Thanks a lot,

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

solved it.
4 years 2 months ago #49164

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

  • Posts: 106
  • Thank you received: 7


Hello,
I got the same issue.

solved it.
What can be done, to prevent the occurance of this?
Thomas
4 years 2 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.
4 years 2 months ago #49291

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

Time to create page: 0.254 seconds