Ensure apt is not locked on Ubuntu nodes