Comment 5 for bug 1509702

Revision history for this message
moma (osmoma) wrote :

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