indigo-astronomy / indigo

INDIGO is a system of standards and frameworks for multiplatform and distributed astronomy software development designed to scale with your needs.
http://www.indigo-astronomy.org
Other
142 stars 63 forks source link

indigo-astrometry conflicts with astrometry.net #400

Closed ckuethe closed 3 years ago

ckuethe commented 3 years ago

Thanks for adding astrometry support, unfortunately this conflicts with my existing installation of astrometry. Is it possible to either allow astrometry-engine to be provided by astrometry.net, or install your customized version somewhere else, /usr/libexec/indigo, for example?

The following NEW packages will be installed:
  indigo-astrometry
The following packages will be upgraded:
  indigo
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 41.8 MB of archives.
After this operation, 843 MB of additional disk space will be used.
Get:1 https://indigo-astronomy.github.io/indigo_ppa/ppa indigo/main amd64 indigo-astrometry amd64 0.85 [1,212 kB]
Get:2 https://indigo-astronomy.github.io/indigo_ppa/ppa indigo/main amd64 indigo amd64 2.0-142 [40.6 MB]
Fetched 41.8 MB in 18s (2,272 kB/s)                                                                                                                                                                       
Selecting previously unselected package indigo-astrometry.
(Reading database ... 608236 files and directories currently installed.)
Preparing to unpack .../indigo-astrometry_0.85_amd64.deb ...
Unpacking indigo-astrometry (0.85) ...
dpkg: error processing archive /var/cache/apt/archives/indigo-astrometry_0.85_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/astrometry-engine', which is also in package astrometry.net 0.80+dfsg-1build2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../indigo_2.0-142_amd64.deb ...
Removed /etc/systemd/system/multi-user.target.wants/indigo-environment.service.
Remove pre-2.0-76 build if any
Unpacking indigo (2.0-142) over (2.0-140) ...
Errors were encountered while processing:
 /var/cache/apt/archives/indigo-astrometry_0.85_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Here's what's currently installed on my machine:

# dpkg -l | grep astrometry
ii  astrometry-data-2mass-06                                    1.1                                                         all          Astrometry.net 2MASS index files downloader (16'-22')
ii  astrometry-data-2mass-07                                    1.1                                                         all          Astrometry.net 2MASS index files downloader (22'-30')
ii  astrometry-data-2mass-08-19                                 1.1                                                         all          Astrometry.net 2MASS index files downloader (30'-2000')
ii  astrometry-data-tycho2-07-littleendian                      2-4                                                         all          Astrometry.net Tycho-2 little endian index files (22'-30')
ii  astrometry-data-tycho2-08-littleendian                      2-4                                                         all          Astrometry.net Tycho-2 little endian index files (30'-44')
ii  astrometry-data-tycho2-09-littleendian                      2-4                                                         all          Astrometry.net Tycho-2 little endian index files (44'-60')
ii  astrometry-data-tycho2-10-19-littleendian                   2-4                                                         all          Astrometry.net Tycho-2 little endian index files (60'-2000')
ii  astrometry.net                                              0.80+dfsg-1build2                                           amd64        Astrometry plate solver
ii  libastrometry-dev:amd64                                     0.80+dfsg-1build2                                           amd64        Astrometry plate solver (development files)
ii  libastrometry0:amd64                                        0.80+dfsg-1build2                                           amd64        Astrometry plate solver (shared lib)
ii  libnova-0.16-0:amd64                                        0.16-4                                                      amd64        celestial mechanics, astrometry and astrodynamics library
ii  python3-astrometry                                          0.80+dfsg-1build2                                           amd64        Astrometry plate solver (Python package)
rumengb commented 3 years ago

Dependency fixed in indigo commit ebeef3e685e336aa78a93bcabacfb31787. indigo will install indigo-astrometry if there is no astrometry.net installed. However if there is astromery.net installed we do not guarantee it will work. indigo-2.0-144 will come with this dependency fixed.