For years, I've been creating pure *buntu tutorials with commands to remove metapackage dependencies with almost every new Ubuntu release.
I figured I should probably script it to save myself some trouble. It's a Python script that just needs apt-rdepends and then will generate the list of packages to remove. Check it out!