7.04 Server or 6.06 LTS Server?
Tim Frost
timfrost at xtra.co.nz
Tue May 8 06:33:42 UTC 2007
On Tue, 2007-05-08 at 00:45 -0500, Avi Schwartz wrote:
>
> Is there a way to find out from which repository did a package get
> installed from or from which repository it will be installed from? If
> there is a way then I guess I can check the list of programs I am
> interested in installing and see if there are any that are not in main.
apt-cache policy <package>. This command searches the apt databases
that you have loaded, which means that it will only search enabled
repositories. The following shows that clamav for edgy is in universe,
and that a security update has found its way into the repositories (and
it also tells you that I have the latest version installed):
tim at marvin:~$ apt-cache policy clamav
clamav:
Installed: 0.88.4-1ubuntu2.1
Candidate: 0.88.4-1ubuntu2.1
Version table:
0.88.4-1ubuntu2.1 0
500 http://security.ubuntu.com edgy-security/universe Packages
100 /var/lib/dpkg/status
0.88.4-1ubuntu2 0
500 http://nz.archive.ubuntu.com edgy/universe Packages
tim at marvin:~$
Tim
More information about the ubuntu-users
mailing list