BTW:
The --remove option empties both the repository file and its backup copy.
But the empty files remains in /etc/apt/sources.list.d/ folder. Is this correct?
# Our repository files.
$ ls -l /etc/apt/sources.list.d/
-rw-r--r-- 1 root root 207 Out 26 15:41 audio-recorder-ubuntu-ppa-wily.list
-rw-r--r-- 1 root root 136 Out 26 15:41 audio-recorder-ubuntu-ppa-wily.list.save
-------
# Remove a repository. The empty files remain in the system.
$ sudo add-apt-repository --remove ppa:audio-recorder/ppa
$ ls -l /etc/apt/sources.list.d/
-rw-r--r-- 1 root root 0 Out 26 15:41 audio-recorder-ubuntu-ppa-wily.list
-rw-r--r-- 1 root root 0 Out 26 15:41 audio-recorder-ubuntu-ppa-wily.list.save
BTW: sources. list.d/ folder. Is this correct?
The --remove option empties both the repository file and its backup copy.
But the empty files remains in /etc/apt/
# Our repository files. sources. list.d/ ubuntu- ppa-wily. list ubuntu- ppa-wily. list.save
$ ls -l /etc/apt/
-rw-r--r-- 1 root root 207 Out 26 15:41 audio-recorder-
-rw-r--r-- 1 root root 136 Out 26 15:41 audio-recorder-
-------
# Remove a repository. The empty files remain in the system. recorder/ ppa
$ sudo add-apt-repository --remove ppa:audio-
$ ls -l /etc/apt/ sources. list.d/ ubuntu- ppa-wily. list ubuntu- ppa-wily. list.save
-rw-r--r-- 1 root root 0 Out 26 15:41 audio-recorder-
-rw-r--r-- 1 root root 0 Out 26 15:41 audio-recorder-