display the offending ubuntu package issue this in a terminal
dpkg -l | grep nodejs
to remove nodejs issue
sudo apt-get remove --purge nodejs
Now you are left with your node v7.4.0
... the most typical way to install node does give you its matching npm ... personally I compile the source code and issue all npm install commands as myself not using sudo for anything node related
You say LTS which currently is v6.9.5 yet you have the latest version v7.4.0 so lets also remove it ... issue this to see where it lives
type node
... my output says
node is hashed (/home/stens/node-v7.5.0/bin/node) # YMMV
to remove that release just zap its dir
rm -r /home/stens/node-v7.5.0
Done - now we are starting from a clean slate
Depending on what you want the easy instructions are at https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
... to give yourself node LTS issue
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs # this will mean issue npm as sudo going forward
lets verify what version we have
stens@bodhisattva ~ $ node --version v6.9.5 stens@bodhisattva ~ $ nodejs --version v6.9.5 stens@bodhisattva ~ $ npm --version 3.10.10
Boom ;-)