I guess I need help: I installed the last ubuntu 2.04 this summer (I’m a sucker for the LTS versions) and that came with dt 4.0.0. All good. then I fond the OBS repos, added the ppa, installed 4.2 and … when I open dt I still have 4.0.
Do I by any chance have BOTH now and the path leads to the old one, so I can’t open the new one? How can I find out about that or - even better - how can I just run 4.2?
chose xUbuntu 22.04 and I get the information that I already have the newest version darktable 4.0.0. So it looks like there is no 4.2 installation available yet there. That must have been my error.
If you correcly added a repository via ppa you should get two entries in “Versionstabelle:” one for the ubuntu repository (jammy/universe) and one for the ppa.
To list all locations where darktable related files are saved in your system you can use locate darktable (longer list)
Also useful may be whereis darktable
here I get the location of the darktable binary build from source: darktable: /opt/darktable/bin/darktable
you should get the path to your “active” darktable version installed from repository, possibly /usr/bin/darktable
Another possibility: dpkg-query -L darktable
If you installed the darktable ppa repository via apt and everything worked correctly, only one version of darktable can be installed.
That’s just show you darktable filenames, not binaries. Man is a sort of documentation for example. Here you only have on darktable that could be launched, on /usr/bin folder.
To show what you have, better test what @pehar suggested to you above.
This tells you, that if you type darktable in your terminal and press ENTER the application /usr/bin/darktable will be launched. This does not tell you from which source (repository) your darktable application has been installed and which version it is. To get this information you have to execute
Here we have 4 sources (repositories) from which different versions of libreoffice could be installed, one of them, the top of the list, a ppa. Actually installed is the most recent version from the ppa.
If we are to help you, we need the relevant information from your system regarding darktable.
which darktable tells you from what path darktable is loaded. dpkg -S /usr/bin/darktable searches for the package that provides /usr/bin/darktable. dpkg -l | grep -i darktable will list you what packages are related to darktable; those whose lines start with ii are installed. apt search darktable will search for darktable among all packages in all repos.
The output suggests that the ppa was installed correctly, but the subsequent update of darktable was not performed or failed. Further, version 4.0 does not seem to have been installed from a repository, but from a local source (.deb-file ?). Please follow the recommendation of @kofa.
sudo apt update
should be sufficient. If this is not the case, I would remove version 4.0.
apt update updates the list of packages (polls the repos). It does not change what is installed. (A bit like git fetch ) apt upgrade upgrades the packages based on the latest available version (git merge).