#335920 please provide 'apt-cache srcpolicy'

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
LI Daobing
Date:
2015-08-18 12:09:04 UTC
Severity:
wishlist
Blocked By:
Bug Title
590088

  3

apt: source package handling is slow and cumbersome

wishlist stable testing unstable about 11 years ago

#335920#5
Date:
2005-10-26 18:22:48 UTC
From:
To:
Please provide 'apt-cache srcpolicy'.

I like the output of the apt-cache policy, but it does not work on
source packges, how about provide one?

for example, I use a deb-src source from mentors.debian.net, there isn't
a easy way to print the aviable source versions cleanly.

Thanks.


$ apt-cache policy xpdf
xpdf:
  Installed: 3.01-2
  Candidate: 3.01-2
  Version table:
 *** 3.01-2 0
        500 http://debian.ustc.edu.cn sid/main Packages
        500 ftp://mirror.dlut.edu.cn sid/main Packages
        100 /var/lib/dpkg/status
     3.00-10acura 0
        500 http://debian.ustc.edu.cn sid/ustc Packages
     3.00-8acura 0
        500 http://debian.ustc.edu.cn sid/ustc Packages

#335920#10
Date:
2015-08-18 12:04:15 UTC
From:
To:
Control: block -1 by 590088

There *is no* policy for source packages, so there's nothing we can
print. If might get some cache for source packages, we could have
that, but currently, it does not exist.