Received: (at submit) by bugs.debian.org; 27 Apr 2001 07:08:04 +0000 From zackw@stanford.edu Fri Apr 27 02:08:04 2001 Return-path: Received: from smtp2.stanford.edu [171.64.14.116] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14t2MG-00010k-00; Fri, 27 Apr 2001 02:08:04 -0500 Received: from wolery.stanford.edu (wolery.Stanford.EDU [128.12.196.30]) by smtp2.Stanford.EDU (8.11.3/8.11.3) with SMTP id f3R782Z24885 for ; Fri, 27 Apr 2001 00:08:03 -0700 (PDT) Message-Id: <200104270708.f3R782Z24885@smtp2.Stanford.EDU> Received: by wolery.stanford.edu (sSMTP sendmail emulation); Fri, 27 Apr 2001 00:08:02 -0700 Date: Fri, 27 Apr 2001 00:08:02 -0700 From: "Zack Weinberg" Subject: apt: It Would Be Nice if apt could downgrade from the command line To: submit@bugs.debian.org X-Mailer: bug 3.3.9 Delivered-To: submit@bugs.debian.org Package: apt Version: 0.5.3 Severity: wishlist It'd be nice if there were a complement to apt-get -t that set its pin above 1000, so it could be used to forcibly downgrade. Right now I have to do this by manually editing /etc/apt/preferences. Example use: Right now (2001-04-26) the version of ash in testing is 0.3.7-16; in unstable, 0.3.8-1. 0.3.8-1 is broken. I update a machine which normally tracks unstable, and get the broken version. I file a bug. Now I want a working /bin/sh until the bug is fixed, so I want to drop back to the version in testing. apt-get -t testing install ash won't do it, because -t won't downgrade. Simplest implementation would be, say, apt-get -T testing install ash, where -T is just like -t but pins at 1010. More flexible but also more complicated for the user, apt-get -t testing --priority 1010 install ash, or something like that. TIA. zw -- System Information Debian Release: testing/unstable Kernel Version: Linux wolery 2.2.19 #4 Sat Apr 21 10:41:32 PDT 2001 i686 unknown Versions of the packages apt depends on: ii libc6 2.2.2-4 GNU C Library: Shared libraries and Timezone ii libstdc++2.10- 2.95.4-0.01042 The GNU stdc++ library