Please help me, removed iproute2 now can't access Pi

@Joulinar bumping this because I’ve installed pi-hole again and now I need to uninstall and won’t fall again in the same trap. Because of that, these are the dependencies it suggests to remove:

  [i] The following dependencies may have been added by the Pi-hole install:
    git iproute2 dialog ca-certificates cron curl iputils-ping psmisc sudo unzip idn2 libcap2-bin dns-root-data libcap2 netcat-openbsd procps jq grep dnsutils 

Since I’m going to say “no”, which of these are the leftovers I should manually remove?