I am using Trisquel 7, a variant of Ubuntu 16.04, that uses a custom version of Mate as its desktop environment.
I added a https://deb.nodesource.com/node_8.x repository to install some npm stuff we were using at a hackathon. I no longer need any of that stuff, and I'd like to purge all packages installed from those repos and remove them. But I can't remember which packages I installed.
I tried using the "Origin" tab in Synaptic, which shows a list of packages installed from each repo on the system. But for some reason the deb.nodesource repo doesn't show up there (all my other default and added repos are there).
So my questions are: 1) If I just remove a repo, will that automatically remove all packages installed from that repo? 2) If not, how do I purge all packages installed from a repo and remove it?
I'd prefer command line answers, since the Mate GUI in Trisquel is quite different from the default desktop GUI in Ubuntu.
ppa-purge
– muru May 21 '20 at 03:17nodejs
andnodejs-dbg
. Isn't it easier to simply purge these 2 manually and remove the repo? I don't think that a reference is kept for each package on where it was "installed from". The solution I thought wouldn't be safe for any repository and system, so, in your case it seems better to me to just do it manually... – Zip May 21 '20 at 03:45