Installing the latest version of Siril on Debian

Hello! I am having trouble installing the latest version of Siril on Debian and was wondering if someone here might be able to help. The version included via apt is 0.9.5 and is missing scripts and other features I would like to use. I have downloaded the linked deb packages from the siril installation page, and have attempted to install them with dpkg:

 # sudo dpkg -i siril-common_0.9.12-1_all.deb 
(Reading database ... 64195 files and directories currently installed.)
Preparing to unpack siril-common_0.9.12-1_all.deb ...
Unpacking siril-common (0.9.12-1) over (0.9.12-1) ...
Setting up siril-common (0.9.12-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for shared-mime-info (1.8-1+deb9u1) ...

  # sudo dpkg -i --force overwrite siril_0.9.12-1_amd64-buster.deb
(Reading database ... 64218 files and directories currently installed.)
Preparing to unpack siril_0.9.12-1_amd64-buster.deb ...
Unpacking siril (0.9.12-1) over (0.9.5-2) ...
dpkg: dependency problems prevent configuration of siril:
 siril depends on libavcodec58 (>= 7:4.0); however:
  Package libavcodec58 is not installed.
 siril depends on libavformat58 (>= 7:4.1); however:
  Package libavformat58 is not installed.
 siril depends on libavutil56 (>= 7:4.0); however:
  Package libavutil56 is not installed.
 siril depends on libc6 (>= 2.27); however:
  Version of libc6:amd64 on system is 2.24-11+deb9u4.
 siril depends on libcfitsio7 (>= 3.450~); however:
  Package libcfitsio7 is not installed.
 siril depends on libconfig9; however:
  Package libconfig9 is not installed.
 siril depends on libgsl23 (>= 2.5); however:
  Package libgsl23 is not installed.
 siril depends on libgslcblas0 (>= 2.4); however:
  Package libgslcblas0 is not installed.
 siril depends on libopencv-calib3d3.2; however:
  Package libopencv-calib3d3.2 is not installed.
 siril depends on libopencv-core3.2; however:
  Package libopencv-core3.2 is not installed.
 siril depends on libopencv-imgproc3.2; however:
  Package libopencv-imgproc3.2 is not installed.
 siril depends on libraw19 (>= 0.16.0); however:
  Package libraw19 is not installed.
 siril depends on libswresample3 (>= 7:4.0); however:
  Package libswresample3 is not installed.
 siril depends on libswscale5 (>= 7:4.0); however:
  Package libswscale5 is not installed.

dpkg: error processing package siril (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
 siril

Is there a quick way to grab all of those dependencies?
Am I approaching this from the right direction?

sudo apt install -f
sudo dpkg -I siril.deb

Thanks for your reply. After running sudo apt install -f and attempting to install the deb package I am still stuck with the same missing dependencies.

The install seems to crash with no errors:
sudo dpkg -i siril-common_0.9.12-1_all.deb
(Reading database … 64154 files and directories currently installed.)
Preparing to unpack siril-common_0.9.12-1_all.deb …
Unpacking siril-common (0.9.12-1) over (0.9.12-1) …
Setting up siril-common (0.9.12-1) …
Processing triggers for hicolor-icon-theme (0.15-1) …
Processing triggers for shared-mime-info (1.8-1+deb9u1) …

Furthermore, I am now unable to install the included version of siril. I get this response:

sudo apt install siril
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:
 siril : Depends: libavcodec58 (>= 7:4.2) but it is not installable
         Depends: libavformat58 (>= 7:4.2) but it is not installable
         Depends: libavutil56 (>= 7:4.0) but it is not installable
         Depends: libc6 (>= 2.29) but 2.24-11+deb9u4 is to be installed
         Depends: libcfitsio8 (>= 3.470~) but it is not installable
         Depends: libexiv2-27 (>= 0.25) but it is not installable
         Depends: libgcc-s1 (>= 4.0) but it is not installable
         Depends: libglib2.0-0 (>= 2.61.2) but 2.50.3-2+deb9u2 is to be installed
         Depends: libgsl25 (>= 2.6) but it is not installable
         Depends: libheif1 (>= 1.0.0) but it is not installable
         Depends: libjpeg8 (>= 8c) but it is not installable
         Depends: libopencv-calib3d4.2 (>= 4.2.0+dfsg) but it is not installable
         Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
         Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
         Depends: libraw19 (>= 0.16.0) but it is not installable
         Depends: libswresample3 (>= 7:4.0) but it is not installable
         Depends: libswscale5 (>= 7:4.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Remove the siril package with apt then apt install -f again

I’ve made sure the siril package has been removed with apt, I also removed the siril-common package with dpkg. I run apt install -f, but I still have the same response when I attempt to install siril via sudo apt-get install siril.

And if I try the deb package, the install seems to crash:
sudo dpkg -i siril-common_0.9.12-1_all.deb
Selecting previously unselected package siril-common.
(Reading database … 64064 files and directories currently installed.)
Preparing to unpack siril-common_0.9.12-1_all.deb …
Unpacking siril-common (0.9.12-1) …
Setting up siril-common (0.9.12-1) …
Processing triggers for hicolor-icon-theme (0.15-1) …
Processing triggers for shared-mime-info (1.8-1+deb9u1) …

Remove siril-common as well.

Yes, it’s removed.

sudo apt remove siril-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'siril-common' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Still stuck in the same condition.

Progress: I found that I had added ppa:lock042/siril and that was messing with my standard siril install. So I removed that and I can now install the stock debian siril again.

I am still unsure how to install the latest version though. From this point, I have a working siril 0.9.5. What is the right way to upgrade it to 0.9.12?

Why not flatpak?

https://flathub.org/apps/details/org.free_astro.siril

1 Like

Yeah… why not? Well, I tried it and it worked for me! So I’ll stick with it. Thank you for your help and your persistence!!

1 Like

siril 0.9.12 is in debian

I think he uses debian stable.

Indeed, I forgot it was still 0.9.10 in this one…

Thanks for the updates! I am happy with Flatpak for now but I wanted to share my os info for reference:
cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 9 (stretch)”
NAME=“Debian GNU/Linux”
VERSION_ID=“9”
VERSION=“9 (stretch)”
VERSION_CODENAME=stretch
ID=debian
HOME_URL=“https://www.debian.org/
SUPPORT_URL=“https://www.debian.org/support
BUG_REPORT_URL=“https://bugs.debian.org/

In case you feel especially adventurous, you could also try setting up a chroot-environment.
Debian makes this quite easy, the first few steps (see link for the rest) are

apt install debootstrap schroot
mkdir /srv/chroot/sid
debootstrap --arch amd64 sid /srv/chroot/sid http://deb.debian.org/debian

which will prepare a new directory in /srv/chroot/sid, which you then can chroot into (ideally using schroot). There you can then use good old apt to install all the newest software, without breaking your “main” system.

Available in sid are e.g.

darktable 3.0.2-1
rawtherapee 5.8-2
gimp 2.10.18-1
siril 0.9.12-2+b2

you can more simply compile siril on debian stable, that’s what I do. It’s described here: https://free-astro.org/index.php?title=Siril:install#Installing_on_Debian see at the end of the section the For debian 10 and siril 1.0.