3.0.1 removes `snapcraft search`, breaks tutorial

Remote parts tutorial is broken, because there is no snapcraft update and snapcraft search commands to search for remote parts.

Is there any replacement for that functionality?

You can force snapcraft down the old code path like this.

Make a scratch directory. In it, run snapcraft init to generate a base snap/snapcraft.yaml and then edit that file to remove the base: core18 line. Save the yaml and then you can run snapcraft search and snapcraft update from within that directory.

1 Like

Sorry, it doesn’t work for me :frowning: