Tuesday, June 22, 2021

Ubuntu reset APT sources

 

Command to reset apt sources in Ubuntu:
printf 'deb http://archive.ubuntu.com/ubuntu %s main multiverse universe restricted\n' "$(lsb_release -sc)"{,-security} > /etc/apt/sources.list

No comments:

Post a Comment