[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

prevent "dpkg -l" from showing nonexisting packages



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


Reply to: