I’m using Darktable 4.2.1 on Debian 11, which I installed from a .DEB that I downloaded manually (separate from the package manager). I’m trying to lens correct for the Z7ii with a NIKKOR Z 24-70/f4.
According to lensfun’s coverage table, the NIKKOR Z 24-70mm f/4 S is on the list as covered.
The lens correction module in Darktable detects the lens (from camera data), but the camera field is blank. It says “camera/lens not found”.
When I try to go through the drop down manually, there are no Z cameras under Nikon, and no Z lenses in the lens drop down.
I tried running the command “lensfun-update‑data” in the terminal, but it’s not a valid command.
How can I update the lensfun database so the Z cameras and lenses are added to the list?