I have been using darktable for sometime now on Debian. But after I re-install the operating system, darktable does not find my lens automatically. Instead I have to choose the lens manually every time I want do lens correction on an image. My lens is a Nikon DX VR AF-S NIKKOR 18-55mm 1:3.5-5.6G II
Any ideas why darktable behaves the differently?
UPDATE:
I found that back then I had installed via the backports of debian so after removing the current version. I install the darktable via the backports and now I have the 2.2.1 but the problem still exist.
running
exiv2 -pt Pictures/101D5200/DSC_5641.NEF | grep -ai lens
gives
Exif.Nikon3.LensType Byte 1 D G VR
Exif.Nikon3.Lens Rational 4 18-55mm F3.5-5.6
Exif.Nikon3.LensFStops Undefined 4 5.33333
Exif.NikonLd3.LensIDNumber Byte 1 162
Exif.NikonLd3.LensFStops Byte 1 F5.3
in Darktable I'm selecting Nikon, Nikkor 18-55mm f/3.5-5.6G AF-S DX VR isn't that correct?
UPDATE2:
I manually install the lensfun and run the update command. But darktable still does not select the lens automatically.