Web lists-archives.com

Re: prevent "dpkg -l" from showing nonexisting packages




On Sat 11 Mar 2017 at 10:21:13 -0500, kamaraju kusumanchi wrote:

> The output from "dpkg -l" is showing some packages that are not
> present in the repositories I track.

You are referring to the repositories you track now. What about those
repositories you no longer track. (Does deb-multimedia ring any bells?)

> 				       How to change this behaviour so
> it only shows packages that are available in repositories?

Impossible. 'dpkg -l' only shows packages which have files on the system.

Perhaps you would like to reframe your query?