package title is used instead of package name when returning search results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to install the lxd package, I get the following failure
(RaspberryPi2)
Installing lxd
lxd failed to install: snappy package not found
(RaspberryPi2)
Name Version Summary
lxd 0.15-2 lxd
(RaspberryPi2)
If instead I use full package name, I can successfully install the package
(RaspberryPi2)
Installing lxd.stgraber
Starting download of lxd.stgraber
19.70 MB / 19.70 MB [======
Done
Checking the package data it looks like the package doesn't have an alias set, so I think snappy should return the package name as lxd.stgraber and not as lxd in search results. From the returned data it would seem snappy is using the title field instead of the name field, which would produce more accurate results.
$ curl -X GET \
--url "https:/
--header "Accept: application/
--header "X-Ubuntu-
--header "X-Ubuntu-
--header "X-Ubuntu-Store: ubuntu"
produces
{
"_embedded": {
{
},
],
}
]
},
"_links": {
"curies": [
{
}
],
"self": {
"href": "https:/
}
}
}
description: | updated |
This is fixed in snappy 16 - all snaps in the store can be installed via the short name now.