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

Bug#485520: apt-cache policy should not assume single directory1



Package: apt
Version: 0.7.14
Severity: minor
File: /usr/bin/apt-cache

In
https://sourceforge.net/tracker/?func=detail&atid=350290&aid=1988553&group_id=290
we see me doing

$ apt-cache policy lame
lame:
  Installed: 3.97-0.3
  Candidate: 3.97-0.3
  Version table:
 *** 3.97-0.3 0
        500 http://ftp.tw.debian.org unstable/main Packages
        100 /var/lib/dpkg/status

To which the reply is
> Which kind of repository is this?
> 
> Are you using a mirror of Christian Marillat's repository? Debian doesn't
> allow lame on the distribution for the same reasons that the lame project
> doesn't provide binaries...

That's all because the vital
  $ grep ^deb /etc/apt/sources.list
  deb http://linux.cdpa.nsysu.edu.tw/debian sid main contrib non-free
  deb http://ftp.tw.debian.org/debian-multimedia/ unstable main
directory here                 ^^^^^^^^^^^^^^^^^ is stripped.
One cannot tell between multiple repositories on the same machine too
that way.



Reply to: