Remove a repository in source list using terminal

List

You can remove the repository from the sources list using terminal.

Scoutapp needed to be removed.
Scoutapp needed to be removed.

Find

First you need to find your lists:

sudo ls /etc/apt/sources.list.d

Source List view
Source List view

Command

Look for your desire PPA here and then remove the PPA using the following command:

sudo rm -i /etc/apt/sources.list.d/PPA_Name.list

Isaac Adams-Hands

Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.

Follow @ twitter

Related posts

Staying off mailing lists

Just saw an article I would like to read, but I noticed it was set up that you had to give all of your information to the business. Normally, I don’t mind, but this time I found how much I had to give away (personal information) wasn’t worth the skimming I’d most likely do when… Read More

Backup VestaCP with Restic [Ubuntu]

Now that my VestaCP install is north of 100GB, backups are becoming more challenging. To achieve an extra level of security, I started backing up my server to S3 using Restic. Here are the steps I took to achieve this. 1. SSH into your box.ssh root@IP 2. Install Resticapt install restic *if you don’t have… Read More