Uninstalling PiHole

I am trying to uninstall pi-hole. I thought I had already done it. I've uninstalled lighthttpd. When I run "pihole uninstall", and when it asks me " Do you wish to go through each dependency for removal? (Choosing No will leave all dependencies installed) [Y/n]", and I hit y, it quits. I notice that the pihole-FTL process is still running. Is there any way to properly clean this up, along with all of the packages that were installed?

Share the output of going through the uninstall via this command:

sudo bash -x /opt/pihole/uninstall.sh
+ source /opt/pihole/COL_TABLE
++ [[ -t 1 ]]
+++ tput colors
++ [[ 8 -ge 8 ]]
++ COL_BOLD=''
++ COL_ULINE=''
++ COL_NC=''
++ COL_GRAY=''
++ COL_RED=''
++ COL_GREEN=''
++ COL_YELLOW=''
++ COL_BLUE=''
++ COL_PURPLE=''
++ COL_CYAN=''
++ COL_WHITE=''
++ COL_BLACK=''
++ COL_LIGHT_BLUE=''
++ COL_LIGHT_GREEN=''
++ COL_LIGHT_CYAN=''
++ COL_LIGHT_RED=''
++ COL_URG_RED=''
++ COL_LIGHT_PURPLE=''
++ COL_BROWN=''
++ COL_LIGHT_GRAY=''
++ COL_DARK_GRAY=''
++ TICK='[✓]'
++ CROSS='[✗]'
++ INFO='[i]'
++ QST='[?]'
++ DONE=' done!'
++ OVER='\r'
+ true
+ read -rp '  [?] Are you sure you would like to remove Pi-hole? [y/N] ' yn
  [?] Are you sure you would like to remove Pi-hole? [y/N] y
+ case ${yn} in
+ break
+ str='Root user check'
+ [[ 0 -eq 0 ]]
+ echo -e '  [✓] Root user check'
  [✓] Root user check
+ readonly PI_HOLE_FILES_DIR=/etc/.pihole
+ PI_HOLE_FILES_DIR=/etc/.pihole
+ PH_TEST=true
+ source '/etc/.pihole/automated install/basic-install.sh'
++ set -e
++ installLogLoc=/etc/pihole/install.log
++ setupVars=/etc/pihole/setupVars.conf
++ lighttpdConfig=/etc/lighttpd/lighttpd.conf
++ coltable=/opt/pihole/COL_TABLE
++ webInterfaceGitUrl=https://github.com/pi-hole/AdminLTE.git
++ webInterfaceDir=/var/www/html/admin
++ piholeGitUrl=https://github.com/pi-hole/pi-hole.git
++ PI_HOLE_LOCAL_REPO=/etc/.pihole
++ PI_HOLE_FILES=(chronometer list piholeDebug piholeLogFlush setupLCD update version gravity uninstall webpage)
++ PI_HOLE_INSTALL_DIR=/opt/pihole
++ useUpdateVars=false
++ IPV4_ADDRESS=
++ IPV6_ADDRESS=
++ QUERY_LOGGING=true
++ INSTALL_WEB=true
+++ stty size
++ screen_size='65 117'
+++ echo '65 117'
+++ awk '{print $1}'
++ rows=65
+++ echo '65 117'
+++ awk '{print $2}'
++ columns=117
++ r=32
++ c=58
++ r=32
++ c=70
++ skipSpaceCheck=false
++ reconfigure=false
++ runUnattended=false
++ [[ -f /opt/pihole/COL_TABLE ]]
++ source /opt/pihole/COL_TABLE
+++ [[ -t 1 ]]
++++ tput colors
+++ [[ 8 -ge 8 ]]
+++ COL_BOLD=''
+++ COL_ULINE=''
+++ COL_NC=''
+++ COL_GRAY=''
+++ COL_RED=''
+++ COL_GREEN=''
+++ COL_YELLOW=''
+++ COL_BLUE=''
+++ COL_PURPLE=''
+++ COL_CYAN=''
+++ COL_WHITE=''
+++ COL_BLACK=''
+++ COL_LIGHT_BLUE=''
+++ COL_LIGHT_GREEN=''
+++ COL_LIGHT_CYAN=''
+++ COL_LIGHT_RED=''
+++ COL_URG_RED=''
+++ COL_LIGHT_PURPLE=''
+++ COL_BROWN=''
+++ COL_LIGHT_GRAY=''
+++ COL_DARK_GRAY=''
+++ TICK='[✓]'
+++ CROSS='[✗]'
+++ INFO='[i]'
+++ QST='[?]'
+++ DONE=' done!'
+++ OVER='\r'
++ counter=0
++ [[ true != true ]]
+ source /etc/pihole/setupVars.conf
++ WEBPASSWORD=x
++ PIHOLE_INTERFACE=x
++ IPV4_ADDRESS=x
++ IPV6_ADDRESS=
++ PIHOLE_DNS_1=x
++ PIHOLE_DNS_2=x
++ QUERY_LOGGING=true
++ INSTALL_WEB=true
++ LIGHTTPD_ENABLED=1
+ distro_check
+ command -v apt-get
+ PKG_MANAGER=apt-get
+ UPDATE_PKG_CACHE='apt-get update'
+ PKG_INSTALL=(${PKG_MANAGER} --yes --no-install-recommends install)
+ PKG_COUNT='apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst || true'
+ apt-get install --dry-run iproute2
+ iproute_pkg=iproute2
+ apt-get install --dry-run php
+ phpVer=php
+ apt-get install --dry-run php-sqlite3
+ phpSqlite=sqlite3
+ INSTALLER_DEPS=(apt-utils dialog debconf dhcpcd5 git ${iproute_pkg} whiptail)
+ PIHOLE_DEPS=(bc cron curl dnsmasq dnsutils iputils-ping lsof netcat sudo unzip wget idn2)
+ PIHOLE_WEB_DEPS=(lighttpd ${phpVer}-common ${phpVer}-cgi ${phpVer}-${phpSqlite})
+ LIGHTTPD_USER=www-data
+ LIGHTTPD_GROUP=www-data
+ LIGHTTPD_CFG=lighttpd.conf.debian
+ DNSMASQ_USER=dnsmasq
+ [[ true == true ]]
+ DEPS=("${INSTALLER_DEPS[@]}" "${PIHOLE_DEPS[@]}" "${PIHOLE_WEB_DEPS[@]}")
++ command -v rpm
+ '[' -x '' ']'
++ command -v apt-get
+ '[' -x /usr/bin/apt-get ']'
+ PKG_REMOVE='apt-get -y remove --purge'
+ command -v vcgencmd
+ echo -e '  [i] Be sure to confirm if any dependencies should not be removed'
  [i] Be sure to confirm if any dependencies should not be removed
+ true
+ echo -e '  [i] The following dependencies may have been added by the Pi-hole install:'
  [i] The following dependencies may have been added by the Pi-hole install:
+ echo -n '    '
    + for i in '"${DEPS[@]}"'
+ echo -n 'apt-utils '
apt-utils + for i in '"${DEPS[@]}"'
+ echo -n 'dialog '
dialog + for i in '"${DEPS[@]}"'
+ echo -n 'debconf '
debconf + for i in '"${DEPS[@]}"'
+ echo -n 'dhcpcd5 '
dhcpcd5 + for i in '"${DEPS[@]}"'
+ echo -n 'git '
git + for i in '"${DEPS[@]}"'
+ echo -n 'iproute2 '
iproute2 + for i in '"${DEPS[@]}"'
+ echo -n 'whiptail '
whiptail + for i in '"${DEPS[@]}"'
+ echo -n 'bc '
bc + for i in '"${DEPS[@]}"'
+ echo -n 'cron '
cron + for i in '"${DEPS[@]}"'
+ echo -n 'curl '
curl + for i in '"${DEPS[@]}"'
+ echo -n 'dnsmasq '
dnsmasq + for i in '"${DEPS[@]}"'
+ echo -n 'dnsutils '
dnsutils + for i in '"${DEPS[@]}"'
+ echo -n 'iputils-ping '
iputils-ping + for i in '"${DEPS[@]}"'
+ echo -n 'lsof '
lsof + for i in '"${DEPS[@]}"'
+ echo -n 'netcat '
netcat + for i in '"${DEPS[@]}"'
+ echo -n 'sudo '
sudo + for i in '"${DEPS[@]}"'
+ echo -n 'unzip '
unzip + for i in '"${DEPS[@]}"'
+ echo -n 'wget '
wget + for i in '"${DEPS[@]}"'
+ echo -n 'idn2 '
idn2 + for i in '"${DEPS[@]}"'
+ echo -n 'lighttpd '
lighttpd + for i in '"${DEPS[@]}"'
+ echo -n 'php-common '
php-common + for i in '"${DEPS[@]}"'
+ echo -n 'php-cgi '
php-cgi + for i in '"${DEPS[@]}"'
+ echo -n 'php-sqlite3 '
php-sqlite3 + echo ''

+ read -rp '  [?] Do you wish to go through each dependency for removal? (Choosing No will leave all dependencies installed) [Y/n] ' yn
  [?] Do you wish to go through each dependency for removal? (Choosing No will leave all dependencies installed) [Y/n] y
+ case ${yn} in
+ removeAndPurge
+ echo ''

+ for i in '"${DEPS[@]}"'
+ package_check apt-utils
+ dpkg-query -W '-f=${Status}' apt-utils
+ grep -c 'ok installed'

Try choosing n and manually removing the packages through apt-get.