×

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

Bi-monthly release with minor bug fixes and improvements

ubuntu 18.04: cannot upgrade indi-full (altaircam error)

  • Posts: 238
  • Thank you received: 15
Even a Ubuntu 16.04 also having this indi-altaircam installation issue. What is happening here?

tom_astro@TomAstroPi:~$ sudo apt install indi-altaircam
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
indi-altair libboost-regex1.58.0
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
indi-altaircam
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
30 not fully installed or removed.
Need to get 0 B/24.5 kB of archives.
After this operation, 71.7 kB of additional disk space will be used.
(Reading database ... 184200 files and directories currently installed.)
Preparing to unpack .../indi-altaircam_0.1~201811121139~ubuntu16.04.1_armhf.deb ...
Unpacking indi-altaircam (0.1~201811121139~ubuntu16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/indi-altaircam_0.1~201811121139~ubuntu16.04.1_armhf.deb (--unpack):
trying to overwrite '/usr/bin/indi_altair_ccd', which is also in package indi-altair 0.1~201811101850~ubuntu16.04.1
Errors were encountered while processing:
/var/cache/apt/archives/indi-altaircam_0.1~201811121139~ubuntu16.04.1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Last edit: 5 years 4 months ago by Tom.
5 years 4 months ago #31573
Attachments:

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

  • Posts: 1957
  • Thank you received: 420
Looks like a package was renamed. Please try

sudo dpkg -P indi-altair

and then try again

sudo apt install indi-altaircam

dpkg will probably complain that you are trying to uninstall indi-altair because indi-full depends on it. In that case you can do

sudo dpkg -P indi-altair indi-full

and then

sudo apt install indi-full

which then also should install indi-altaircam automatically.


HTH, Wouter
The following user(s) said Thank You: Keith Cobby, Tom
5 years 4 months ago #31574

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

  • Posts: 969
  • Thank you received: 94
sudo dpkg -P indi-altair
[sudo] password for steve:
dpkg: dependency problems prevent removal of indi-altair:
indi-full depends on indi-altair.

dpkg: error processing package indi-altair (--purge):
dependency problems - not removing
Errors were encountered while processing:
indi-altair
5 years 4 months ago #31575

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

  • Posts: 238
  • Thank you received: 15

Thanks a lot and it is well done. Solved!
5 years 4 months ago #31578

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

  • Posts: 969
  • Thank you received: 94
Doesn't work here:

sudo dpkg -P indi-altair indi-full
[sudo] password for steve:
(Reading database ... 258885 files and directories currently installed.)
Removing indi-full (1.7.5~201811081036~ubuntu18.04.1) ...
Removing indi-altair (0.1~201811101850~ubuntu18.04.1) ...
steve@steve-ubuntu:~$ sudo apt 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-altaircam but it is not installable
E: Unable to correct problems, you have held broken packages.
5 years 4 months ago #31579

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

  • Posts: 1957
  • Thank you received: 420

Did you do

sudo apt update

as well?
5 years 4 months ago #31580

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

  • Posts: 969
  • Thank you received: 94
Last edit: 5 years 4 months ago by alacant.
5 years 4 months ago #31584

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

  • Posts: 1957
  • Thank you received: 420
indi-full is a package that depends on all indi drivers that are available. If you don’t need the indi-altaircam package then you can happily use Ekos without indi-full. You could even uninstall it to get rid of this error. Still, it is strange that you cannot install the indi-altaircam package!
5 years 4 months ago #31585

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

  • Posts: 969
  • Thank you received: 94
OK, thanks. As I can't now install indi-full anyway, it looks like my only option! I need indi-eqmod and indi-gphoto. Why does the nightly tell us to install them all I wonder?
Clear skies...
5 years 4 months ago #31586

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

  • Posts: 1957
  • Thank you received: 420
Because the nightly doesn’t know what drivers you need for your equipment. It is much easier and safer to install them all than to instruct users to install only specific ones. Not everyone is as savvy about Linux as might be expected and simply installng them all prevents a lot of trouble and headaches.
The following user(s) said Thank You: Jasem Mutlaq, alacant
5 years 4 months ago #31587

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

  • Posts: 969
  • Thank you received: 94
OK but now I can't install indi-full which brings me back to my original message:

sudo apt install indi-full
[sudo] password for steve:
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-altaircam but it is not installable
E: Unable to correct problems, you have held broken packages.
Last edit: 5 years 4 months ago by alacant.
5 years 4 months ago #31588

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

  • Posts: 1957
  • Thank you received: 420
The command I always use to make sure that the latest updates are installed on my Debian based systems (which include Raspbian and Ubuntu) is

sudo apt-get update && sudo apt-get dist-upgrade -y

I just gave this a try on one of my KStars/Ekos systems and indi-altaircam was automatically selected for installation. The installation failed because indi-altair still was installed and after uninstalling that, the installation of indi-altaircam still did not complet successfully. First I had to do

sudo apt --fix-broken install

and thén it finally worked.
The following user(s) said Thank You: Martin Gonzalez
5 years 4 months ago #31595

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

Time to create page: 0.350 seconds