ubuntu remove repository from update code example Example: apt remove ppa sudo add-apt-repository --remove ppa:dhor/myway