Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2016 16:07:48 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Stari Karp <starikarp@yandex.com>
Cc:        =?UTF-8?Q?Otac=c3=adlio_de_Ara=c3=bajo_Ramos_Neto?= <otacilio.neto@bsd.com.br>, FreeBSD Ports <ports@freebsd.org>
Subject:   Re: python 3.4.5 update
Message-ID:  <6f10d7ea-45d9-3231-bd46-301506bba753@gwdg.de>
In-Reply-To: <CAFt_gkxRT-5gY_AkqFejsYxMHD%2ByRLwHgvDsmJfrVusOyM8ASw@mail.gmail.com>
References:  <1467242155.22542.4.camel@yandex.com> <CAFt_gkxRT-5gY_AkqFejsYxMHD%2ByRLwHgvDsmJfrVusOyM8ASw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 30.06.16 um 11:02 schrieb Otacílio de Araújo Ramos Neto:
> Em qua, 29 de jun de 2016 20:16, Stari Karp <starikarp@yandex.com> escreveu:
>
>>
>>
>> Hi!
>>
>> I tried to update Python on my
>> 10.3-RELEASE-p5 (akd64) and I got:
>>
>>
>> ....
>> ....
>> ports/lang/python34/work/Python-3.4.5 ./python -E -m
>> ensurepip  $ensurepip --root=/usr/ports/lang/python34/work/stage/ ;  fi
>> /bin/rm -f
>> /usr/ports/lang/python34/work/stage/usr/local/lib/libpython3.so
>> # Upstream Issue: http://bugs.python.org/issue17975
>> for i in
>> /usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/lib-
>> dynload/*.so; do  /usr/bin/strip $i; done
>>                 # Strip shared extensions
>> ====> Compressing man pages (compress-man)
>>
>> ===>>> Creating a backup package for old version python34-3.4.4_3
>> Creating package for python34-3.4.4_3
>> process with pid 2056 still holds the lock
>> process with pid 2056 still holds the lock
>> process with pid 2056 still holds the lock
>> process with pid 2056 still holds the lock
>> process with pid 2056 still holds the lock
>> process with pid 2056 still holds the lock
>> pkg: Cannot get an advisory lock on a database, it is locked by another
>> process
>>
>> ===>>> Starting check for runtime dependencies
>> ===>>> Gathering dependency list for lang/python34 from ports
>> ===>>> Dependency check complete for lang/python34
>>
>> ===>>> All >> python34-3.4.4_3 (1/1)
>>
>> ===>  Installing for python34-3.4.5
>> ===>  Checking if python34 already installed
>> ===>   An older version of python34 is already installed (python34-
>> 3.4.4_3)
>>       You may wish to ``make deinstall'' and install this port again
>>       by ``make reinstall'' to upgrade it properly.
>>       If you really wish to overwrite the old port of python34
>>       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>>       in your environment or the "make install" command line.
>> *** Error code 1
>>
>> Stop.
>> make[1]: stopped in /usr/ports/lang/python34
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/ports/lang/python34
>>
>> ===>>> A backup package for python34-3.4.4_3 should
>>        be located in /usr/ports/packages/portmaster-backup
>>
>> ===>>> Installation of python34-3.4.5 (lang/python34) failed
>> ===>>> Aborting update
>>
>> ===>>> Update for lang/python34 failed
>> ===>>> Aborting update
>>
>> Thank you very much.
>>
>> SK
>>
>
> Are you shure that no other process is handling The ports at the same time?
> Like doing a query.
>
> []'S
> -Otacilio
>
As far as I know, portmaster itself has some not yet solved problems 
with ports, escpecially in a mixed system of ports, installed as a 
package by pkg and build from sources.

For me, there are some possible opportunities, to circumstance this 
behaviour:

1) portmaster -m "FORCE_PKG_REGISTER" lang/python34
    [this also does not work in all situations :( ]

2) portmaster lang/perl5 lang/python34
    [(re)installing something like lang/perl5 before should help always ]

3) cd /usr/ports/lang/python34
    make clean && make install

Please keep in mind, that your failed update already deinstalled the old 
python 3.4.4 port, but failed to install the new version. So, at the 
moment, python 3 is probably not installed on your system. You can get 
back the old version by

    pkg add /usr/ports/packages/portmaster-backup/python34-3.4.4_3

as stated by portmasters message.

HTH,
Rainer Hurling





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6f10d7ea-45d9-3231-bd46-301506bba753>