ubuntu patching basic logic