Overlapping files error message is terse and not instructive

Bug #1617390 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

'/cwd/parts/rocketchat-server/install/bin/npm' and '/cwd/stage/bin/npm' are the same file

Pretend I don't know anything. Tell me why this happened and what I might do to resolve it. For example:

> Tried to copy install/bin/npm into stage/bin, but a file with this name > already exists there.
>
> If you have two parts trying to install files to the same location, you
> can use 'organize'
> (http://snapcraft.io/docs/reference/plugins/common#organize) to write
> them to different directories.

Tags: eco-team
Revision history for this message
Evan (ev) wrote :

The snapcraft.yaml that led to this:

name: rocketchat-server
version: 0.37.1
summary: Temp
description: Have your own Slack like online chat, built with Meteor. https://rocket.chat/
confinement: strict
apps:
    rocketchat-server:
        command: node main.js
        daemon: simple
parts:
    rocketchat-server:
        plugin: nodejs
        node-engine: 0.10.44
        after: [mongodb]
        source: https://cdn-download.rocket.chat/build/rocket.chat-0.37.1.tgz
    mongodb:
        source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.2.7.tgz
        plugin: dump
        stage-packages:
            - libssl1.0.0

description: updated
description: updated
Evan (ev)
description: updated
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

thanks for this! So thankful it might get into the next release

Changed in snapcraft:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Sergio Schvezov (sergiusens)
milestone: none → 2.16
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: Triaged → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
Evan (ev)
tags: added: eco-team
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.