Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64168

Re: python2.6 needed as an aptitude package as dependency

References <3a9aa7d1-7eb6-422c-99d6-4585a661e8bd@googlegroups.com>
Date 2014-01-18 01:43 +1100
Subject Re: python2.6 needed as an aptitude package as dependency
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5643.1389970228.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Jan 18, 2014 at 1:24 AM, Jan Hapala <jan@hapala.cz> wrote:
> I need to install a program (MACS: http://liulab.dfci.harvard.edu/MACS/) for which I need to have Python2.6 installed.
>
> I do have two other Pythons installed but not this version.

Is one of those Pythons a 2.7? If so, MACS will probably run with
that. The only problem is that the dpkg installer doesn't know that
you have the right dependencies. This isn't a Python question, it's a
Debian packaging one, but I happen to know one of the ways to deal
with this: the 'equivs' system. Since you've now installed Python 2.6
from source, you do have it, so all you need to do is make a dummy
package called (or providing) python2.6.

http://www.debian.org/doc/manuals/apt-howto/ch-helpers.en.html

I used this system at work for several packages where I wanted to run
a newer version of something than the repos provided. Saved us a lot
of hassle.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python2.6 needed as an aptitude package as dependency Jan Hapala <jan@hapala.cz> - 2014-01-17 06:24 -0800
  Re: python2.6 needed as an aptitude package as dependency Chris Angelico <rosuav@gmail.com> - 2014-01-18 01:43 +1100
  Re: python2.6 needed as an aptitude package as dependency Asaf Las <roegltd@gmail.com> - 2014-01-17 10:02 -0800

csiph-web