You should not simply remove files which have been installed by packages. You should remove the package which wrote the file. And only remove files which have been left behind or abandoned.
If you have removed all mailman3 packages and then you should run
# apt autoremove
to remove all packages which have been installed as dependency before.
That should clean it up. However, it depends on what you have installed directly with apt and what you have installed as dependencies only.
You should also run
# apt list '~c'
to check for residual configuration files from packages which have been removed.
And it often helps a lot for reference if you copy the exact commands and the full output of those commands into your response.
Cheers.
On 07.11.25 17:47, dap1--- via Mailman-users wrote:
Now that I THINK all the other issues are resolved I can get back to this. I can't answer your questions. I can't explain it unless django came already already installed with Ubuntu server.There is 'python3-django' installed outside of the venv. Can I simply remove it?