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

Bug#94164: A wish for 'apt-get fallback <package> [<package> ...]'



Package: apt
Version: 0.5.3
Severity: wishlist

Hello,

I wish there was an option to fall back to an earlier version of packages...

It should be simple to implment and I could imagine one way for achieving it:
(of course there could be more)

1. Optionally, at every upgrade, the package(s) to be upgraded are repackaged
before removed including any temporary or newly created file(s) that they need
(and use) for a proper functionality (the functionality before the upgrade)
and are put in a temporary place (cache) under a special name (like one letter
added, or something similar).
When 'apt-get fallback package' is issued, first that temporary repository
is looked up, and if found, the backed up package reinstalled. If not found,
first the testing, then the stable tree is looked up if possible and the version
there would be installed if posssible. If both fail,
'Fallback for package is not possible' message and exit is performed.

It's been a long time since I'd been thinking of asking for such a feature.
The actuality for this wish being posted is the latest ssh breakage

('OpenSSL version mismatch. Built against 90600f, you have 90601f')

which isolated my machine from the outside and my X for days.
With such a fallback feature, it wouldn't have been such a big deal.

I know unstable is unstable and things break, but those who like the
bleeding edge I believe would loose less blood with such a feature.

BR,

Csani

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pelikan 2.4.3-cs1 #1 Sun Apr 1 14:13:23 CEST 2001 i686

Versions of packages apt depends on:
ii  libc6                  2.2.2-4           GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2 1:2.95.4-0.010407 The GNU stdc++ library            



Reply to: