UC18 message about unsatisfied assumes is misleading

Bug #1856051 reported by Ian Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Medium
Maciej Borzecki

Bug Description

When trying to install a snap with an `assumes` which specifies a snapd version that is higher than the currently installed snapd, the message says:

ubuntu@meet-drake:~$ sudo snap install my-snap-name_0.1_amd64.snap --dangerous
error: cannot install snap file: snap "my-snap-name" assumes unsupported features: snapd2.41 (try
       to refresh the core snap)

However there is no core snap here:

```
ubuntu@meet-drake:~$ sudo snap refresh core
snap "core" is not installed
```

The message should say to refresh the _snapd_ snap when running on a system that doesn't have snapd from the core snap.

Tags: papercut
tags: added: papercut
Changed in snapd:
status: New → Triaged
importance: Undecided → Medium
Changed in snapd:
status: Triaged → In Progress
assignee: nobody → Maciej Borzecki (maciek-borzecki)
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :
Changed in snapd:
status: In Progress → Fix Committed
Changed in snapd:
milestone: none → 2.44
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This issue was fixed in snapd 2.44 which was released to stable channel a while ago. Marking as released.

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

Other bug subscribers

Remote bug watches

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