From owner-freebsd-questions@FreeBSD.ORG Thu Mar 28 12:30:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CB8DD80D for ; Thu, 28 Mar 2013 12:30:29 +0000 (UTC) (envelope-from lolox-freebsd@lolox.net) Received: from altenberg.lolox.net (unknown [IPv6:2001:41d0:2:17c5::]) by mx1.freebsd.org (Postfix) with ESMTP id 8C3B3351 for ; Thu, 28 Mar 2013 12:30:29 +0000 (UTC) Received: from altenberg.lolox.net (localhost [127.0.0.1]) by altenberg.lolox.net (Postfix) with ESMTP id 3E7AC7F5AF; Thu, 28 Mar 2013 13:31:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lolox.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=lolox; t=1364473908; bh=YokwrTP65/aGTwQs0lzz6aYAfPEXUc9rO/zr96VJ7tU=; b=VZLcYROGv84M GJ8uQnGWW6bfXlHhS8rSPyAHyTQiOsO6Hji2d35kDjNtl9L8g3YZ8fRKjrG/nwzV k+GpDOLItXsFGQMH/aN/8rLD8E4U3btPrNcUjvbMgzrk2wgzXbby1e7BPiyAdPlW 41Py7bQG/nyQ9KEqFb7+7zk8pyXTjfc= X-Virus-Scanned: Mailstorm at lolox.net Received: from altenberg.lolox.net ([127.0.0.1]) by altenberg.lolox.net (altenberg.lolox.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id SUvQsnS8Fnby; Thu, 28 Mar 2013 13:31:48 +0100 (CET) Received: from orkher.lolox.net (ANancy-555-1-130-211.w92-161.abo.wanadoo.fr [92.161.202.211]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lolox@lolox.net) by altenberg.lolox.net (Postfix) with ESMTPSA id 1D5787F52E; Thu, 28 Mar 2013 13:31:48 +0100 (CET) Message-ID: <515437ED.7030204@lolox.net> Date: Thu, 28 Mar 2013 13:30:37 +0100 From: Loic Capdeville User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: Volodymyr Kostyrko Subject: Re: Upgrade devel/py-setuptools References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> <5152EEBC.20805@lolox.net> <5152F3AE.3010604@gmail.com> <5152F513.3040205@lolox.net> <51531E91.7000306@gmail.com> <5153204C.6080905@lolox.net> <515321B0.4020900@gmail.com> In-Reply-To: <515321B0.4020900@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 12:30:29 -0000 On 27/03/2013 17:43, Volodymyr Kostyrko wrote: > 2013-03-27 18:37, Loic Capdeville wrote: >>>>>> import sys; sys.__plen = len(sys.path) >>>>>> ../setuptools-0.6c11-py2.7.egg >>>>>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >>>>>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >>>>>> p+len(new) >>>>> >>>>> Looks like py-distribute is not installed at all. >>>>> >>>>> what was the outcome of "portupgrade -fo devel/py-distribute >>>>> devel/py-setuptools"? Can you try running that again? >>>>> >>>> >>>> It hasn't printed anything since the first time I tried to run it... >>>> and still print nothing. >>> >>> So here is a main problem. If it prints nothing it doesn't work. >>> >>> Do you have portupgrade or portmaster installed? Did it yield at least >>> one line? Some errors? If it doesn't that's surely a sign that something >>> is going wrong. >>> >> I use portupgrade regularly to upgrade my ports, and usually everything >> goes right. >> If fails only with that particular operation (or these portupgrade >> options) >> Do I have to install "devel/py-distribute" separately, or should the >> "portupgrade -fo" command do everything itself (uninstall py-setuptools >> and install py-distribute) ? > > This command should forcefully deintsall second package and replace it > with first one. I'm not using portupgrade, I switched to portmaster long > time ago so I can't help you with it. > > If you want to make the switch by hand I think you should: > > pkg_delete -f py27-setuptools-0.6c11_3 > # now write down the whole list of dependent packages > > cd /usr/ports/devel/py-distribute ; make install clean > portupgrade -f ..list of packages that require setuptools.. > If finally did it by hand. Note: upgrading packages that require setuptools isn't necessary, since py-distribute is backward compatible with py-setuptools. Thanks for your help. Loic