apt-cache policy does not show the paths of local repositories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
New
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: apt
Version: 0.6.45ubuntu14 on Edgy
Currently, as has been referred to at debian bug 372818, apt-cache policy gives the paths of the remote repositories which provide a particular package. However, I am working here with many local repositories for various reasons, and apt-cache does not list their addresses at all. (Should be easy enough to pull those addresses from sources.list.)
For example:
$ apt-cache policy basket
basket:
Installed: 1.0-1
Candidate: 1.0-1
Version table:
*** 1.0-1 0
500 file: Packages
100 /var/lib/
0.5.0-6 0
500 file: edgy/universe Packages
500 http://
The local sources of the package:
file://
file://
are not displayed at all. It just says: "file:" which is not at all helpful. Please fix this as the field is intended to be shown to users for the very purpose of knowing the repositories which provide the file.
Changed in apt: | |
importance: | Undecided → Wishlist |
Changed in apt: | |
status: | Unknown → Fix Released |
Changed in apt (Ubuntu): | |
status: | New → Fix Released |
This bug reported here is not the same as the upstream invalid bug. That bug asks for apt-cache *show* to show paths of servers and the reporter of that bug was satisfied by apt-cache *policy* showing those paths instead. The reporter of that bug was only concerned with non-local repositories. Here however I have specifically asked for showing the paths of local repositories.