virtual (build) packages are resolved by first match

Bug #1758895 reported by Mina Galić on 2018-03-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kyle Fazzari

Bug Description

this can lead to problems when a package such as `tclsh` is provided by `tcl:386` or `tcl:amd64` and the amd64 package is already installed.

for inexplicable reasons, those two packages conflict, so rather than

 the [following line](

        if apt_cache.is_virtual_package(name):
            name = apt_cache.get_providing_packages(name)[0].name

a better safer approach might be to first filter by `architecture`.

Changed in snapcraft:
assignee: nobody → Kyle Fazzari (kyrofa)
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.