how can i tell which sources.list line corr to a package?

Markus Schönhaber ubuntu-users at
Sun Aug 22 13:51:25 UTC 2010

22.08.2010 15:05, Robert P. J. Day:

>   i'm sure there's a simple answer to this but, for my installed
> package sun-java6-jdk, what command can i use to see that it came
> via the 10.04 /etc/apt/sources.list line:
>   deb lucid partner
> i did "apt-cache show sun-java6-jdk" but that doesn't tell me where
> the package came from.  thanks.

apt-cache policy sun-java6-jdk


More information about the ubuntu-users mailing list