Bug#547788: apt: apt-get install <virtual> gets confused with multiple available versions
Marius Vollmer <marius.vollmer@nokia.com> writes:
> Package: apt
> Version: 0.7.23.1
> Severity: normal
> Tags: patch
>
> When giving a virtual package to "apt-get install", apt-get tries to
> select a real package instead of the virtual package when it is obvious
> which real package to select.
>
> This doesn't work when there is more than one version of a real package
> available. The attached patch fixes this by ignoring package versions
> that are not candidates.
It even gets confused if multiple packages of the same version are
available. This can happen if proposed-updates and security have the
same version but different builds (and therefore checksums) of a
package.
Have you considered what happens then?
MfG
Goswin
Reply to: