Unable to enter StarNet location in Siril

I’ve been using Siril on Ubuntu 22.04 LTS. There, I was able to install the StarNet files and do Star Removal and Recomposition.

I have since upgraded the system to Ubuntu 24.04.2 LTS.

I am running Siril 1.2.6.

Now I find the following difficulty on the preferences screen.

Under Software Location, the first field to the left of where it says “Must point to a valid StarNet executable” will not let me put anything in that field. It will not let me type anything in that field (replacing “None”) nor does clicking on the folder icon to the right of “None” do anything. So I cannot enter the location of the Starnet Executable and thus cannot do Star Removal, etc.

Found the culprit.

I ran sudo flatpak repair siril and now when I click the software location, it pops up the Gnome File Manager and lets me select the StarNet executable. I am not sure whether the siril installation I had was installed before or after the upgrade to Ubuntu 24.04, but running the repair command took care of it.

I run Ubuntu on an old PC but am not expert at all. How did you find the flatpak repair command? I have never heard of it.

flatpak will always have problems, for ubuntu based OS there is a better way to install siril and software in general, the PPA: Siril : lock042

2 Likes

What problems does flatpak have?

I’m not keeping a list, we had so many problem reports for siril that were only due to flatpak, I don’t understand why people use this at all, most related to I/O of course, finding things outside its shell

Ah OK. A lot of those things are controllable from the flatpak itself… Not sure if its worth it as I don’t know how many flatpak users you have tho

Here’s one:
On the announcements page for the new version, there is a download button. I download the file. Now what the h*ll do I do with it? There is a plethora of information about installing from a URL. So why did I download the file??

IMHO, Siril should do a better job documenting the different methods of installation. I am glad to learn there is a Ubuntu ppa method. Sounds much better and I will try it

I want to do this. Do I need to get rid of my flatpak install first?

Well, the release notes seem to assume that flatpak is the default method. It’s been the only way I’ve been able to install Siril.

Apparently, yes, you should remove the flatpak first. So I did.

It is easy to talk about documentation lack… but have you read the documentation ?
https://siril.readthedocs.io/en/stable/installation/linux.html

1 Like

So I did this and have immediate problems:


scohen@aigas:~/Downloads$ sudo add-apt-repository ppa:lock042/siril
[sudo] password for scohen: 
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/lock042/siril/ubuntu/
Suites: noble
Components: main
'
Description:
These packages are snapshots of development branch. They should be stable enough but bugs can occur in these releases.

To add this PPA open a terminal and type

sudo add-apt-repository ppa:lock042/siril
sudo apt-get update && sudo apt-get upgrade

To revert to official repository, open a terminal and type
sudo ppa-purge ppa:lock042/siril

Before you install ppa-purge
sudo apt-get install ppa-purge
More info: https://launchpad.net/~lock042/+archive/ubuntu/siril
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 13762 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/

So what now?

I think it was a flatpak --help command.

You’re stuck with Linux basics here.
You have a lock file because you probably have another installation/update instance that is opened.

1 Like

OK, but what do I do about that? Not sure how to make this go away. The original attempt output warns that remove the lock file may break my system.

Here is what I am told about process 13762:


$ ps -ef | grep 13762
root       13762       1  0 Apr25 ?        00:00:33 /usr/libexec/packagekitd
_apt       15420   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/https
_apt       15421   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/https
_apt       15422   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/http
_apt       15423   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/http
_apt       15427   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/https
_apt       15434   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/http
_apt       15439   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/http
_apt       16252   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/gpgv
_apt       16695   13762  0 Apr25 ?        00:00:00 /usr/lib/apt/methods/store
scohen     49616   35990  0 14:20 pts/0    00:00:00 grep --color=auto 13762

Do I need to add the repo in the Software GUI interface instead?

To be fair, you got that file from flathub, which has a whole bunch of really specific instructions for how to do things.

Yes, but the instructions that are available on that Siril page are actually wrong. You should not have to hunt for what do with a downloaded file on an app install page.

that’s good, but that info ought to be on the new version announcement page instead of a download button that may not be the right thing to do.

That didn’t work. After doing so I got version 1.2.1.Actually killing the processes, then adding the ppa on the command line and then installing it did, finally, bring me up to 1.4.0-beta.

Thanks.