You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
damz
changed the title
Add a Conflict: line with nodejs-legacy
Add a Conflicts: line with nodejs-legacy
Oct 27, 2014
The
nodejs
packages in Debian are split intonodejs
andnodejs-legacy
to avoid conflicting with a pre-existingnode
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:The text was updated successfully, but these errors were encountered: