[Neurodebian-users] condor package

Yaroslav Halchenko debian at onerussian.com
Wed Jun 20 12:26:39 UTC 2012


On Wed, 20 Jun 2012, Chr. Rossmanith wrote:
>    I'd like to try FSL in combination with condor on ubuntu (natty). But
>    "apt-get install condor" installed condor maintained by "Ubuntu Developers
>    [1]<ubuntu-devel-discuss at lists.ubuntu.com>". I've added the neurodebian
>    repository before installing condor.

>    So my question is: If a package is contained in two repositories, how can
>    I tell which repository shall be used?

apt-cache policy condor

would list all repositories where it is available from.  e.g.

$> apt-cache policy condor
condor:
  Installed: 7.7.5~dfsg.1-2~nd+1
  Candidate: 7.8.0~dfsg.1-2
  Version table:
     7.8.1~dfsg.1-1 0
        600 http://ftp.us.debian.org/debian/ sid/main amd64 Packages
     7.8.1~dfsg.1-1~nd+1 0
        400 http://neuro.debian.net/debian/ sid/main amd64 Packages
     7.8.0~dfsg.1-2 0
        900 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
 *** 7.7.5~dfsg.1-2~nd+1 0
        100 /var/lib/dpkg/status

Preceeding numbers (600, 400, ...) are priorities for the repository
which you could tune in your /etc/apt/preferences* (man apt_preferences).
Highest priority freshiest version would be installed.  I have:

$> cat /etc/apt/preferences.d/neurodebian
Package: *
Pin: release o=NeuroDebian
Pin-Priority: 400

So I am giving preference to Debian wheezy as you see (and haven't upgraded my
laptop as a whole for a while, so the installed version is somewhat aged)


Since Michael Hanke, a NeuroDebian developer, is the maintainer of condor at
the moment, you would always get the freshiest version from NeuroDebian,
and it might take a while for it to appear in Ubuntu.  For versions available
in Debian/Ubuntu/NeuroDebian see

neuro.debian.net/pkgs/condor.html

I hope this helps

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Neurodebian-users mailing list