Hello Ilhan,
Thank you for contacting our support.
I would recommend updating your D6000 firmware. It can be unfortunately only done on the Windows machine.
Please follow
this link.
Please remember to perform the update without any device connected to D6000.
After the upgrade please verify the issue on your Ubuntu machine and let me know about the outcome.
Best regards,
Jakub