225
248
release = lsb_release()['DISTRIB_CODENAME']
226
249
with open('/etc/apt/sources.list.d/proposed.list', 'w') as apt:
227
250
apt.write(PROPOSED_POCKET.format(release))
229
subprocess.check_call(['apt-key', 'adv', '--keyserver',
260
subprocess.check_call(['apt-key', 'add', '-'], stdin=key_file)
265
subprocess.check_call(['apt-key', 'adv', '--keyserver',
234
270
def configure_sources(update=False,