Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'source,': 0.04; 'installed.': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; '2.7?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'macs': 0.16; 'url:debian': 0.16; 'sat,': 0.16; 'url:)': 0.16; 'wrote:': 0.18; 'version.': 0.19; 'cc:addr:python.org': 0.22; 'install': 0.23; '(or': 0.24; 'cc:2**0': 0.24; 'this:': 0.26; 'url:edu': 0.26; 'header:In-Reply- To:1': 0.27; 'installed': 0.27; 'am,': 0.29; "doesn't": 0.30; 'newer': 0.30; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; 'probably': 0.32; 'run': 0.32; 'packaging': 0.33; 'problem': 0.35; 'something': 0.35; 'one,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; '2.6': 0.36; 'url:org': 0.36; 'so,': 0.37; 'two': 0.37; 'question,': 0.38; 'subject:needed': 0.38; 'system.': 0.39; 'called': 0.40; "you've": 0.63; 'happen': 0.63; 'hassle.': 0.84; 'installer': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=QqctlYwFgrN/Jvna1L1SHiV6G09aQryVgG2VckHiiOM=; b=gbLWMWn5uKjjhYYdSLOHuRH5GHYv8hYhvnQN1dH94W7sKBRozho05VhWxllvskvPua ILukRNEehDFbjy/VsXkvEdD4VMpxBMy7IhrL9mzPeOUKVFiZ/MwBGdgfuyxOOjJSqd2O bKQ68xbLRQrph840znryKtUOaplLzThMQOdZJjSpXaKr/j4tBvQWf0qGzYzn35leLBcT z08gcAE9Gaw/SgiRQFGWnNpbMMu3XdoNAMoK2sXd9mwUMW5a7OJm3Smd4aNaRyhyrCmd aHg7dJ7eSDI1VVAKn7qQi/jz/z+58V3LJqxRFS26kplPDck0iMt+VSI2BTLnMTdauEDw H+Pw== MIME-Version: 1.0 X-Received: by 10.66.102.39 with SMTP id fl7mr2432458pab.43.1389969791979; Fri, 17 Jan 2014 06:43:11 -0800 (PST) In-Reply-To: <3a9aa7d1-7eb6-422c-99d6-4585a661e8bd@googlegroups.com> References: <3a9aa7d1-7eb6-422c-99d6-4585a661e8bd@googlegroups.com> Date: Sat, 18 Jan 2014 01:43:11 +1100 Subject: Re: python2.6 needed as an aptitude package as dependency From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389970228 news.xs4all.nl 2933 [2001:888:2000:d::a6]:50848 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64168 On Sat, Jan 18, 2014 at 1:24 AM, Jan Hapala 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