software-properties-gtk launches a dbus service /usr/lib/software-properties/software-properties-dbus
This service loads the sources in memory and edits them from there and saves them on a change.
The service keeps running after closing the software properties.
If you change things in /etc/apt/source.list or /etc/apt/source.list.d, these get overwritten by the values when first launched software-properties-gtk + the changes you make there.
If you f.i. remove a source from source.list.d, software-properties-gtk indicates this correctly as deleted. But if you edit something, the file magically reappears from the dbus service.
software- properties- gtk launches a dbus service /usr/lib/ software- properties/ software- properties- dbus source. list or /etc/apt/ source. list.d, these get overwritten by the values when first launched software- properties- gtk + the changes you make there. properties- gtk indicates this correctly as deleted. But if you edit something, the file magically reappears from the dbus service.
This service loads the sources in memory and edits them from there and saves them on a change.
The service keeps running after closing the software properties.
If you change things in /etc/apt/
If you f.i. remove a source from source.list.d, software-