I have dual boot machine with MacOS Ventura and Ubuntu 22.04.
MacOS DT 4.2 version @MStraeten Branch
Ubuntu - 4.3 Daily build Master Branch
I have 1 sd card and I import some pictures in MacOS and some in Ubuntu.
My problem is as I import somepics in MacOS and some in Ubunt when I try to import those pics which I have already impoted in other OS also shows up as available for Import.
Is there a way to avoid this? so that only newer pics only appear?
In principle, you can avoid this by synchronizing the database files. But in this case, with version 4.2 on one system and version 4.3.x on the other, this is not possible because the database structure may have changed between versions.
In your setup: not possible.
The indication that a file is (or is not yet) imported is stored within darktable, not on the SD card. As your two versions each have their separate database, one cannot know that the other already imported a given file.
And as @pehar already pointed out, you can’t synchronise (or share) the database between versions.
For basically the same reason, you may not be able to use a 4.3 edit with dt 4.2.
If you can live with using only one dt version, you might be able to set up a system where the darktable data are on a single disk or partition, shared between the two systems.