Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Conflicts: line with nodejs-legacy #34

Closed
damz opened this issue Oct 27, 2014 · 3 comments
Closed

Add a Conflicts: line with nodejs-legacy #34

damz opened this issue Oct 27, 2014 · 3 comments

Comments

@damz
Copy link

damz commented Oct 27, 2014

The nodejs packages in Debian are split into nodejs and nodejs-legacy to avoid conflicting with a pre-existing node tool.

I think it's fine not to do that in your packages, but could you add a Conflicts: nodejs-legacy line so that the upstream package gets automatically uninstalled on installing yours?

If you don't manually remove the nodejs-legacy package right now you get an extremely unhelpful error message like:

dpkg: error processing /vagrant/repository/pool/main/n/nodejs/nodejs_0.10.33-1nodesource1~wheezy1_amd64.deb (--unpack):
  trying to overwrite '/usr/share/man/man1/node.1.gz', which is also in package nodejs-legacy 0.10.2~dfsg1-1
@damz damz changed the title Add a Conflict: line with nodejs-legacy Add a Conflicts: line with nodejs-legacy Oct 27, 2014
@GuGuss
Copy link

GuGuss commented Oct 30, 2014

Indeed, this issue is painful and should hopefully get fixed.

@chrislea
Copy link
Contributor

Good call. Stay tuned.

@chrislea
Copy link
Contributor

This is done now in the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants