0

I've added a repo with the following:

add-apt-repository "deb http://archive.ubuntu.com/ubuntu artful universe"

How would I remove it? I'm using this in a automated script also!

Zanna
  • 70,465

2 Answers2

0

Generally, I'd consider it a bad idea to remove a repo after installing a package from it -- doing so will prevent getting updates when they're available.

Zeiss Ikon
  • 5,128
0

Repos are listed in /etc/apt/sources.list. Simply create a backup of that file (for safety) and remove the repo(s) you no longer want.

wjandrea
  • 14,236
  • 4
  • 48
  • 98
jones0610
  • 2,157