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


Groups > linux.debian.user > #178681

prevent "dpkg -l" from showing nonexisting packages

From kamaraju kusumanchi <raju.mailinglists@gmail.com>
Newsgroups linux.debian.user
Subject prevent "dpkg -l" from showing nonexisting packages
Date 2017-03-11 16:30 +0100
Message-ID <tjR7X-4Eb-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The output from "dpkg -l" is showing some packages that are not
present in the repositories I track. How to change this behaviour so
it only shows packages that are available in repositories?

Consider for example

 % dpkg -l \*flash\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version         Architecture    Description
+++-====================-===============-===============-==============================================
un  flashplayer-mozilla  <none>          <none>          (no
description available)
un  flashplugin          <none>          <none>          (no
description available)
rc  flashplugin-nonfree  1:3.7           amd64           Adobe Flash
Player - browser plugin
un  hal-flash            <none>          <none>          (no
description available)
un  libflash-mozplugin   <none>          <none>          (no
description available)

which shows flashplayer-mozilla in the output. But that package does
not exist in the repositories.

% rmadison flashplayer-mozilla
<returns no output>

My repositories are
% inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://httpredir.debian.org/debian/ stretch main contrib non-free
           deb-src http://httpredir.debian.org/debian/ stretch main
contrib non-free
           deb http://httpredir.debian.org/debian/ stretch-updates
main contrib non-free
           deb-src http://httpredir.debian.org/debian/ stretch-updates
main contrib non-free
           deb http://security.debian.org/ stretch/updates main contrib non-free
           deb-src http://security.debian.org/ stretch/updates main
contrib non-free
           deb http://debug.mirrors.debian.org/debian-debug/
stretch-debug main contrib non-free

 % uname -a
Linux hogwarts 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27)
x86_64 GNU/Linux


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

Back to linux.debian.user | Previous | Next — 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