Check that resolv.conf is inmutable
lsattr /etc/resolv.conf
If it is, the previous command will output something like this:
----i---------e------- /etc/resolv.conf
Then remove the inmutability state with:
chattr -i /etc/resolv.conf
After that, you are able to destroy resolv.conf :)