You should never edit sources.list in a postinst. If you want to enable
repositories you should drop a corresponding config file in
/etc/apt/sources.list.d.

Furthermore this is rather a (security) political than a technical
decision.

-- 
Disable support for adding repositories
https://bugs.launchpad.net/bugs/139227
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to