uninstalling Pihole Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
manilx
Posts: 133
Joined: Mon Dec 07, 2020 11:02 am

Re: uninstalling Pihole

Post by manilx »

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bind9-host libbind9-161 libdns1104 libgeoip1 libirs161 libisc1100 libisccc161 libisccfg163 liblmdb0 liblwres161
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  dhcpcd5* dnsutils*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1044 kB disk space will be freed.
Do you want to continue? [Y/n]
What about those: bind9-host libbind9-161 libdns1104 libgeoip1 libirs161 libisc1100 libisccc161 libisccfg163 liblmdb0 liblwres161
manilx
Posts: 133
Joined: Mon Dec 07, 2020 11:02 am

Re: uninstalling Pihole

Post by manilx »

OK. "apt autopurge "is the same as "apt autoremove" I guess.
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: uninstalling Pihole

Post by MichaIng »

No it's not the same. apt autoremove will leave config files in place, apt autopurge removes packages more cleanly.

Ah in case you run a Stretch image, the "autopurge" shortcut does not yet exist and it is apt --purge autoremove instead.
manilx
Posts: 133
Joined: Mon Dec 07, 2020 11:02 am

Re: uninstalling Pihole

Post by manilx »

Used apt autopurge as suggested. All clean now. Thanks a lot!!
Post Reply