Web lists-archives.com

messed up release in apt

I mistakenly added an etc/apt/sources.list line for "jessie"(backports)
instead of "stretch", which is my current release. I proceded to update
apt and installed Wine (along with many packages, some i386) from the
jessie-backports source (i.e. apt install wine/jessie-backports).
Please tell me how I can locate all wrongly installed packages and
remove them, and install correct packages from stretch-backports,
thank you,