Fix public key error in ubuntu