From 290d4a65a7878c43370470a51e00ba22d8164a59 Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Wed, 26 May 2010 11:06:22 +0200 Subject: [PATCH] install-manifest: remove usage of dselect --- install-manifest | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install-manifest b/install-manifest index 1fd337c..5339ba8 100755 --- a/install-manifest +++ b/install-manifest @@ -54,10 +54,6 @@ for l in dpkg.stdout: if no_remove_re.search(pkg): selection += '%s\tinstall\n' % pkg -if subprocess.call(['which', 'dselect'], stdout=subprocess.PIPE) != 0: - print >> sys.stderr, 'INFO: installing dselect (needed by this script)' - assert subprocess.call(['apt-get', 'install', 'dselect']) == 0 - # now apply the new selections assert subprocess.call(['dpkg', '--clear-selections']) == 0 dpkg = subprocess.Popen(['dpkg', '--set-selections'], stdin=subprocess.PIPE) @@ -65,4 +61,4 @@ dpkg.communicate(selection) assert dpkg.returncode == 0 # commit! -subprocess.call(['dselect', 'install']) +subprocess.call(['apt-get', 'dselect-upgrade']) -- 2.39.5