[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#95427: apt: It Would Be Nice if apt could downgrade from the command line



Package: apt
Version: 0.5.3
Severity: wishlist

It'd be nice if there were a complement to apt-get -t <release> 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



Reply to: