The dput command conflicts with the dput package

Bug #1598434 reported by Free Ekanayaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jenkins-launchpad-plugin
New
Undecided
Unassigned

Bug Description

Currently jlp/commands/dput.py is listed as entry point in setup.py, which means that it ends up in /usr/bin/dput when building the jenkins-launchpad-plugin debian package (using the debian/ directory from trunk itself).

When trying to install the actual dput debian package, dpkg raises an error because of conflicting files.

I'm attaching a possible trivial fix that worked for me, although it might break anybody relaying on dput.py being an entry point in setup.py.

Perhaps a better solution would be to change the name of the entry point, so it doesn't conflict with the "regular" /usr/bin/dput. Consumers of jlp's /usr/bin/dput would have to be updated to point to the new entry point (e.g. /usr/bin/dput-jlp-wrapper or something).

Revision history for this message
Free Ekanayaka (free.ekanayaka) wrote :
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.