@ekoulemaneng
In the end, I solved the problem by deleting the.dat files and then reinstalling Opera (without first deleting it). I used the command:

sudo rm /var/cache/debconf/*.dat

Thanks to all.