snappy update downloads non-namespaced package when fork is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Unassigned | ||
15.04 |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
I had hello-world.
$ sudo snappy install hello-world.
Installing hello-world.
Starting download of hello-world.
31.66 KB / 31.66 KB [======
Done
Name Date Version Developer
ubuntu-core 2015-04-29 47 ubuntu
hello-world 2015-04-29 1.5 jdstrand
generic-amd64 2015-04-27 1.1
I then uploaded hello-world 1.5.1 to the store and then ran snappy update:
$ sudo snappy update
Installing hello-world (1.0.14)
Starting download of hello-world
32.73 KB / 32.73 KB [======
Done
a package by that name is already installed
(amd64)
Name Date Version Developer
ubuntu-core 2015-04-29 47 ubuntu
hello-world 2015-04-29 1.5 jdstrand
generic-amd64 2015-04-27 1.1
hello-world 1.0.14 is hello-world.
This also downloads the wrong package:
$ sudo snappy update hello-world.
And this fails too:
$ sudo snappy install hello-world.
Installing hello-world.
hello-world.
Currently the only way to upgrade a fork is to remove then install.
Related branches
- Michael Vogt (community): Approve
-
Diff: 210 lines (+115/-22)3 files modifiedsnappy/parts.go (+6/-2)
snappy/snapp.go (+29/-3)
snappy/snapp_test.go (+80/-17)
description: | updated |
summary: |
- snappy update downloaded the non-namespaced package when I have a fork - installed + snappy update downloads non-namespaced package when fork is installed |
Changed in snappy-ubuntu: | |
importance: | Undecided → High |
description: | updated |
affects: | snappy-ubuntu → snappy |
Changed in snappy: | |
status: | New → Triaged |
Changed in snappy: | |
status: | Triaged → Fix Released |