Bug#362864: apt: apt-get dist-upgrade should reject extra cmd line arguments
On Sun, Apr 16, 2006 at 08:11:52PM +0200, Goswin von Brederlow wrote:
> Justin Pryzby <email@example.com> writes:
> > pryzbyj@andromeda:~$ sudo apt-get dist-upgrade sed
> > It would be *nice* if extra "to be upgraded to the lastest possible
> > version", as in apt-get install packages could be given on the
> > dist-upgrade command line, but if not, then apt-get should exit
> > indicating error when extra cruft is there.
Hmm I take this back. I think I was of the impression that apt-get install foo
didn't take pinning into account, but of course it does..
> How should apt-get take those extra args?
> Install the latest sed no matter what the cost in removal of other
> packages? Don't remove sed but possibly keep it kept back?
It would still be useful to be able to specify extra arguments for conflict
resolution, as in apt-get dist-upgrade [package-with-broken-dependencies]-.
This could be used to avoid removing the "wrong" packages.
It could also allow apt-get dist-upgrade sed/experimental.