Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178741

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

From kamaraju kusumanchi <raju.mailinglists@gmail.com>
Newsgroups linux.debian.user
Subject Re: prevent "dpkg -l" from showing nonexisting packages
Date 2017-03-13 05:30 +0100
Message-ID <tkpMm-3kA-3@gated-at.bofh.it> (permalink)
References <tjR7X-4Eb-19@gated-at.bofh.it> <tjSGK-5RQ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Mar 11, 2017 at 12:08 PM, Brian <ad44@cityscape.co.uk> wrote:
> 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?)
>

You are right. I did add deb-multimedia at some point and then
commented it out now. Those packages may be lying around in my system
now.

>>                                      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?
>

Let me rephrase my question. If "dpkg -l" cannot do it, is there some
other command that will only show packages from the current
repositories?

If "dpkg -l" only shows packages which files on the system, what files
should I remove, so that packages such as flashplayer-mozilla will not
show up in its output? If there is no generic way of doing it, can I
do it just for just flashplayer-mozilla package?

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

prevent "dpkg -l" from showing nonexisting packages kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-03-11 16:30 +0100
  Re: prevent "dpkg -l" from showing nonexisting packages Brian <ad44@cityscape.co.uk> - 2017-03-11 18:10 +0100
    Re: prevent "dpkg -l" from showing nonexisting packages kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-03-13 05:30 +0100
      Re: prevent "dpkg -l" from showing nonexisting packages Vincent Lefevre <vincent@vinc17.net> - 2017-03-13 16:00 +0100
        Re: prevent "dpkg -l" from showing nonexisting packages Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-03-13 20:50 +0100

csiph-web