Can't install hello-dbus-fwk & mir: snappy package not found

Bug #1474658 reported by Leo Arias on 2015-07-15
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Snappy
Undecided
Unassigned

Bug Description

Tested in kvm, rolling edge #107.

hello-dbus-fwk appears on the search result, but when I try to install it I get an error saying that it's not found.

(amd64)ubuntu@localhost:~$ snappy search hello-dbus-fwk
Name Version Summary
hello-dbus-fwk 1.0.1 hello-dbus-fwk
hello-world 1.0.18 hello-world (forks not shown: 1)
Use --show-all to see all available forks.
(amd64)ubuntu@localhost:~$ sudo snappy install hello-dbus-fwk
Installing hello-dbus-fwk
hello-dbus-fwk failed to install: snappy package not found

Leo Arias (elopio) on 2015-07-15
description: updated
Federico Gimenez (fgimenez) wrote :

If you specify the origin it seems to work:

$ sudo snappy install hello-dbus-fwk
Installing hello-dbus-fwk
hello-dbus-fwk failed to install: snappy package not found
(amd64)ubuntu@localhost:~$ sudo snappy install hello-dbus-fwk.canonical
Installing hello-dbus-fwk.canonical
Starting download of hello-dbus-fwk
52.05 KB / 52.05 KB [============================================================================================================================] 100.00 % 247.60 KB/s
Done
Starting download of icon for package
33.77 KB / 33.77 KB [==========================================================================================================================>_] 100.00 % 163.33 KB/s
Done
Name Date Version Developer
ubuntu-core 2015-07-15 108 ubuntu
hello-dbus-fwk 2015-07-15 1.0.1 canonical
generic-amd64 2015-07-15 1.4 canonical

Leo Arias (elopio) on 2015-07-15
summary: - Can't install hello-world-fwk: snappy package not found
+ Can't install hello-dbus-fwk: snappy package not found
description: updated
Changed in snappy:
status: New → Confirmed
kevin gunn (kgunn72) wrote :

so for mir one needs to currently call install mir.mvp-demo

summary: - Can't install hello-dbus-fwk: snappy package not found
+ Can't install hello-dbus-fwk & mir: snappy package not found
Leo Arias (elopio) wrote :

<kgunn> hey so, on a rolling core image, i do snappy search mir, i see it...then sudo snappy install mir fails to install "snappy package not found"
<sergiusens> kgunn: there is no 'mir' package https://search.apps.ubuntu.com/api/v1/package/mir
<sergiusens> kgunn: https://search.apps.ubuntu.com/api/v1/search?q=mir does say there isa mir.mvp-demo with no alias
<sergiusens> which is not ok for a framework
<sergiusens> kgunn: I'd ask the store guys
<elopio> sergiusens: how do you add an alias ?
-*- sergiusens pokes at nessita and beuno
<kgunn> all news to me
<sergiusens> elopio: by being a store admin
<elopio> https://bugs.launchpad.net/snappy/+bug/1474658
<ubottu> Launchpad bug 1474658 in Snappy "Can't install hello-dbus-fwk: snappy package not found" [Undecided,Confirmed]
<kgunn> all i know is search returns "mir" and you can't install it
<elopio> kgunn: sergiusens: so it's the same bug ^
<sergiusens> elopio: so someone must of fiddled with the store database :-/
<elopio> either the search should return the origin, or it should be installed without an origin.
<sergiusens> elopio: yeah, https://search.apps.ubuntu.com/api/v1/search?q=hello-dbus-fwk no alias there
<sergiusens> elopio: no, frameworks without origin aren't allowed
<sergiusens> elopio: so the proper client solution is to not show them in the search results until they have an alias
<elopio> sergiusens: I mean that snappy install could append the origin to the name you pass. Just a suggestion, not saying it's good.
<elopio> sergiusens: ok, I like that too.

Michael Vogt (mvo) wrote :

This is fixed in 16, all snaps work with the short names now.

Changed in snappy:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers