Web lists-archives.com

Re: messed up release in apt

On Mon 30 Apr 2018 at 11:49:33 -0500, Anil Duggirala wrote:

> hello,
> 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,

Take a look at apt's log in /var/log.

Or let apt sort it out with the correct line in sources.list and then
update and upgrade.

Or, both.