Comment 11 for bug 1582469

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

More on the topic: snapcraft is warning about cleaning up in situations that it should just do it:

    $ snapcraft snap
    Loaded local plugin for dump
    Loaded local plugin for dump
    The 'pull' step of 'content' is out of date. Please clean that part's
    'pull' step in order to rebuild

Also, there's apparently a bug around this area. Right after the above command, if I actually do what it asks for, it then breaks:

    $ snapcraft clean --step=pull content
    Loaded local plugin for dump
    Loaded local plugin for dump
    Cleaning priming area for content
    Cleaning staging area for content
    Cleaning build for content
    Cleaning pulled source for content

    $ snapcraft snap
    Loaded local plugin for dump
    Loaded local plugin for dump
    Skipping pull mongodb (already ran)
    [Errno 17] File exists:
    '/home/niemeyer/src/snaps/mongodb/mongo22/parts/content/src'