Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 20:28:13 +0300
From:      Rozhuk Ivan <rozhuk.im@gmail.com>
To:        obx2un1@oldach.net (Helge Oldach)
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Python update 3.7->3.8
Message-ID:  <20210427202813.703d2b80@rimwks.local>
In-Reply-To: <202104270529.13R5T1uO008705@nuc.oldach.net>
References:  <20210427054324.14930117@rimwks.local> <202104270529.13R5T1uO008705@nuc.oldach.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Apr 2021 07:29:01 +0200 (CEST)
obx2un1@oldach.net (Helge Oldach) wrote:

> > This long command hanle files that requires shebang:
> > portmaster -BvD -y --no-confirm --delete-build-only `grep -rsp
> > "\/python3\.7" /usr/local/ | grep -v '/usr/local/man/' | grep -v
> > '/usr/local/lib/python3' | sed -e 's|:.*||' -e 's|Binary file ||'
> > -e 's| matches||' | xargs pkg which -oq | sort -u`  
> 
> I am afraid this is botching up things. For instance, tinkering with
> pkg installed files will break proper removal of packages in the
> future because of md5 mismatch. Also please note that you are not
> just changing shebang but unrelated documentation files as well which
> may be overly excessive.


This long command find all files that contain "/python3.7", then find
package name that own this file and reinstall it.
It does not shange file content.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210427202813.703d2b80>