Can't download snap revision without exported creds (docs)

Bug #1947874 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Expired
Undecided
Unassigned

Bug Description

I cannot download a specified revision of a snap even though I am the Publisher and it is in the global store unless I set UBUNTU_STORE_AUTH_DATA_FILENAME to a file created by snapcraft --export-login.

$ snap download learnit --revision=18
Fetching snap "learnit"
error: cannot download snap "learnit": Access by specifying a revision is not allowed for this Snap.

But the snap CLI help says the following:

      --revision= Download the given revision of a snap, to which you must have developer access

I would have thought being the Publisher would give me developer access.

$ UBUNTU_STORE_AUTH_DATA_FILENAME=../creds snap download learnit --revision=18
Fetching snap "learnit"
Fetching assertions for "learnit"
Install the snap with:
   snap ack learnit_18.assert
   snap install learnit_18.snap
$

Tags: docs
tags: added: docs
Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :

Hi Kyle,

It is working for me.

$ snap download learnit --revision=18
Fetching snap "learnit"
Fetching assertions for "learnit"
Install the snap with:
   snap ack learnit_18.assert
   snap install learnit_18.snap

Could you please retry that using the new snapd?

Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :

Could you please retry and in case it fails again please run the script https://github.com/snapcore/snapd/blob/master/debug-tools/snap-debug-info.sh and attach the output.
Thanks

Changed in snapd:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for snapd because there has been no activity for 60 days.]

Changed in snapd:
status: Incomplete → Expired
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.