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
  • 69,223
  • 56
  • 216
  • 327
Karl Morrison
  • 9,116
  • 22
  • 58
  • 91

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,078
  • 5
  • 18
  • 34
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,109
  • 4
  • 48
  • 98
jones0610
  • 1,776
  • 1
  • 10
  • 26