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

Re: inteligently downgrade packages?



Rob Weir <rweir@ertius.org> writes:

> On Mon, Feb 03, 2003 at 10:24:31PM -0600, Jason Pepas wrote:
> > I recently wanted to install perlmagick, which depends on an older version of 
> > perl-api than the one currently on my system.
> > 
> > This can be remedied by specifying which branch of perl I want (ie, 
> > perl/testing), however, this causes all the packages which depend on my 
> > current version of perl-spi to be removed.
> > 
> > My question is, does there exist a way to tell apt to downgrade a package, and 
> > attempt to downgrade dependant packages instead of removing them?
> 
> I think it's possible to do this using apt's pinning feature.  The real
> solution is to use a single Debian distribution, so that you don't get
> dependency breakage like this (aside from during transitions, of
> course).


I know dpkg, with --force-downgrade or something like that, has a
downgrade feature if you have the package on your system (I've used it
before. Run man dpkg for more details). I don't know if apt has taken
advantage of this feature or not, though. If so, it's in the apt man
page.



Reply to: