Today I was updating dom0 and came across that the tesseract-libs was installed in dom0, and along with the update, some more tesseract packages (tesseract-common, et al) were about to be installed.
I was wondering why an OCR library was in dom0. Instead of installing the updates, I opted for uninstalling it.
I wonder this too.
You haven’t said which version of Qubes you are running.
Since these are not present in a standard dom0, have you installed (or
opted to install) any new packages in to dom0?
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
It is a fresh install of r4.3, not an upgrade. I have installed some other packages, but not anything related to this library.
The tesseract-libs appears in the anaconda.log along with the other packages that were installed at the time I had installed r4.3, which means to me that it was installed by the original installer gui.
Could this be the necessary built-in tooling for testing the ISO in the Qubes-os CI (continous integration) infrastructure?
Quick Edit: it’s for the OpenQA, not the CI, I think.
It seems reasonable that vnc and tesseract could be used for testing… which would be especially important for the first RC.
Now if only I could find the documentation about how the Qubes CI works… (pointers welcome!)
I don’t know. One typically expects that RC is something that turns into the release if everything is OK. The CI/test automation hypothesis does not make sense from that aspect.
Also, samba is a similar concern to me. For some reason, it got installed in dom0 by the installer (a dependency of Qube Manager). Perhaps a package cleanup with a hardening perspective might be useful. Or an optional path to remove such packages.
Well, it seems to me that this is exactly how things are supposed to
be.
The rc is out out there for testing. Users find errors and they are
fixed in the next rc.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
Every fedora 42 templates. I wouldn’t be surprised if it would be in my multimedia or cups templates but it was installed in pristine fedora-xfce-42 template
Fedora builds FFmpeg (libavfilter-free) with OCR support, which is where the dependency on Tesseract comes from.
Seems fine to me that a non-minimal template includes FFmpeg.
Now for R4.3 dom0 though, the dependency on some Wayland stuff and hence FFmpeg and Tesseract looks like an artifact of this commit:
Edit: Actually I’m not sure anymore. Maybe an R4.3 user can post the output of dnf remove tesseract-libs and dnf remove initial-setup-gui-wayland-generic (without confirming either one!)
Initial-setup on R4.3 does run on Wayland, and it does use Weston. The specific dependency chain is:
initial-setup-gui-wayland-generic → weston → neatvnc → libavfilter-free → tesseract-libs
It might be possible to fork and rebuild weston package with limited features, but I’d rather avoid it…
After discovering that dependency chain, I thought that the initial-setup package was an artifact from the setup and was no longer needed, hence could have been safely deleted.
I understand that a vendor is necessary for dom0, but perhaps a minimal dom0 could be provided as an option, for obvious reasons. There were some threads where dom0 debian and nixos was discussed. I am fine with LFS or any kind of stripped-down arch-like solution from today, in order to stay on the safe side even if Fedora decides to change manners one day.