if subprocess.call(['which', 'dselect'], stdout=subprocess.PIPE) != 0:
print >> sys.stderr, 'INFO: installing dselect (needed by this script)'
- assert subprocess.call(['apt-get', '-y', 'install', 'dselect']) == 0
+ assert subprocess.call(['apt-get', 'install', 'dselect']) == 0
# now apply the new selections
assert subprocess.call(['dpkg', '--clear-selections']) == 0