Please allow snap recipes to pin a source archive

Bug #1646139 reported by Michael Terry on 2016-11-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Łukasz Zemczak
Launchpad itself

Bug Description

In the recipe used for unity8 snaps [1], we specify the stable-phone-overlay PPA as a source archive. And much like the Touch image builders, we'd like to be able to pin it above the base xenial archive.

Some packages from the overlay get overridden by xenial-updates [2]. This causes subtle bugs and subtle differences based on whether a developer builds locally with a pin vs the launchpad build without a pin.


[2] An example at the time of this writing is libgstreamer-plugins-bad1.0-0. 1.8.2-1ubuntu0.2 in xenial-updates, 1.8.1-1ubuntu0.2~overlay1 in the overlay. [3]

[3] Actually, we get overridden by 1.8.3 in xenial-proposed. Which we separately don't want enabled for snap builds. (bug 1646145)

Michael Terry (mterry) on 2016-11-30
Changed in canonical-devices-system-image:
milestone: none → p1
Michael Terry (mterry) on 2016-11-30
description: updated
Michael Terry (mterry) on 2016-11-30
description: updated
Changed in canonical-devices-system-image:
assignee: nobody → Łukasz Zemczak (sil2100)
importance: Undecided → High
status: New → Confirmed
Mattia Rizzolo (mapreri) wrote :

possibly unrelated, but IMHO if packages from xenial-updates are causing bugs not present in xenial (release), then those packages are at fault and shouldn't probably be there (they are regressing).

Michael Terry (mterry) wrote :

@Mattia, it's not always so simple. Sometimes packages in Touch expect the Touch-version of another package and things don't work right when they aren't both in the repository.

Michael Terry (mterry) wrote :

Colin and I talked on IRC a bit about this. Colin suggested I try seeing if snapcraft wanted to add direct support for pinning instead. So I filed bug 1654304 about that.

Pat McGowan (pat-mcgowan) wrote :

mark incomplete pending results via snapcraft

Changed in canonical-devices-system-image:
milestone: p1 → p2
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers