Ubuntu 22.04, how to upgrade v3.8.1 to v4?

Hello All,
since it is a major upgrade, I would like to know what is the correct procedure to upgrade.
Apt update && upgrade doesn’t come up with any upgrade, but Ubuntu Software lists both versions: should I remove the old one, install the new one, and import the existing (thousands!) xmp again?
Any caveats?
I read about white balance being listed twice.
Thanks for your comments,
-Gian

Many threads already explains how to install last darktable version. Search open suse repository in that forum and on install page of darktable.org official website.

Nilvus,
thanks for your message, but my issue regards upgrading, not installing.
As I wrote, you can install v4 from Ubuntu repositories.
I have an existing db of thousands images.

There is only version 3.8.1-2 available from jammy/universe amd64 Packages for Ubuntu 22.04 for direct installation with apt. If you want to update to 4.0.x you first have to add a ppa containing that version.
darktable Debian packages can also be installed/updated like every other application. There are several tools to do so.
The database(s) will be updated (if necessary) and further used with the new version of the application. To be on the safe side, create a backup of the old database(s).

That doesn’t change my answer. Ubuntu 22.04 propose only darktable 3.8.1. darktable 4.0.0 is proposed on Ubuntu 22.10 only. See that page: UbuntuUpdates - Package Search (all versions of darktable)
Ubuntu software probably propose also some snap or flatpak package (not recommanded). So if you want to update with apt darktable to last version (4.0.1), you have no other choice than adding Open Suse repository as a ppa external repository to have last darktable version for your distrib.

Verion 4.0 in the software store is likely the snap version.

Not correct.
I run 22.04 and have both versions.
I am an old guy so I am more familiar with apt, but since nowadays the world is snapping, why not?
I mean what is the reason for avoiding snap install?

  • I don’t know of anyone using it, so its hard to provide support.
  • was out of date until recently
  • sandbox isn’t user modifiable, so your files need to be in specific locations; USB tethering doesn’t work
  • start up time is slow
  • no working lua scritps

makes sense…

I think @Nilvus is right. This is what I get from my up-to-date Ubuntu 22.04 LTS:

apt-cache policy darktable
darktable:
  Installiert:           (keine)
  Installationskandidat: 3.8.1-2
  Versionstabelle:
     3.8.1-2 500
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
1 Like

This is a snap package! See top right corner. Not to install with apt.

I know! I have been saying that all the time!

Again, as @Nilvus and I already said : if you want to install dt 4.0.1 with apt you first have to add a ppa containing this version.

1 Like

Yes, and the only recommanded ppa is on OBS (see install page if needed on darktable.org website.

And the thing here is not if I’m correct or not. I don’t use Ubuntu (except on work but no need for darktable…) and link I posted to post my statement about no darktable 4.0.x on 22.04 is from official APT packages list for ubuntu related distribs. We talk about apt system here. darktable 4.0.x is only provided as a Snap package for Ubuntu 22.04 LTS. That’s why you don’t succeed to update it with default Ubuntu 22.04 APT system.

1 Like

And as an Ubuntu user (currently also Ubuntu 22.04), I use it for years. I can highly recommend it! :+1:

2 Likes

You can try installing ppa [ ppa:ubuntuhandbook1/darktable] from these.
It lfunctions for me on one machine, but on the other this version crashes. So i’m back to working with version 3.8 on both.

I am running Ubuntu Studio 22.04, and I’ve installed darktable 4.0.1 as a flatpak from flathub. It works fine.

i run 20.04, followed those instr Install package graphics:darktable / darktable

and got 4.0.1 dt, no problem.

i would uninstall existing one though.

new dt will find and upgrade its database too.