From owner-freebsd-questions@FreeBSD.ORG Wed Mar 27 16:43:32 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 0360C5AF for ; Wed, 27 Mar 2013 16:43:32 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-x22c.google.com (mail-bk0-x22c.google.com [IPv6:2a00:1450:4008:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 90269CEA for ; Wed, 27 Mar 2013 16:43:31 +0000 (UTC) Received: by mail-bk0-f44.google.com with SMTP id jk13so1195946bkc.31 for ; Wed, 27 Mar 2013 09:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=8NuiNCXlPDXOcWXkZHAA3SJ7zYoZXWVaOgfTXRniEMY=; b=k37dKl1tS/Z9Tz6ZmZUJZOx1ns81qO0guZ5bFOB/tynLw5h2ZJDSZCBWTcuXrpzMsh gIvoTY3Y5bupI7HqsnBALypmG3H2oOfY0qSTTLr1J5CdApPNVmj1tvFnlBYvTpYbSHxu wWa3RcY7C5XJoJ1eanRcykR2oYTXLKCG1zvl/bXMchyGKB5QUjvvt+2mg+KnExArMBPp xReywsB1FCjLgA26Y1kDNfVv8CXr8fG8DDqyzVc5ikHVjmzEYN5lPwo9++5crvy851ly 7N9qh2MMZu4ZMcMmGCqUfqsTXTpuBcgH2c0pd/FYVA99a/RKEihfdAagvjgR6hH3Ps/c 39Cg== X-Received: by 10.204.184.193 with SMTP id cl1mr10496428bkb.17.1364402610744; Wed, 27 Mar 2013 09:43:30 -0700 (PDT) Received: from [192.168.1.128] ([91.196.229.122]) by mx.google.com with ESMTPS id ge12sm5419142bkc.19.2013.03.27.09.43.29 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 09:43:29 -0700 (PDT) Message-ID: <515321B0.4020900@gmail.com> Date: Wed, 27 Mar 2013 18:43:28 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:19.0) Gecko/20100101 Firefox/19.0 SeaMonkey/2.16.1 MIME-Version: 1.0 To: Loic Capdeville 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> In-Reply-To: <5153204C.6080905@lolox.net> Content-Type: text/plain; charset=UTF-8; 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: Wed, 27 Mar 2013 16:43:32 -0000 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.. -- Sphinx of black quartz, judge my vow.