Closed Ishayahu closed 1 year ago
This is still the case with the latest portmaster 3.19_8. For any port with py27 and py36 flavours installed I get something like this:
Package version: py36-cffi-1.11.5
Latest version: py27-cffi-1.11.5
===>>> py36-cffi-1.11.5.txz matches the installed version
===>>> Path: /var/ports/packages/All/py36-cffi-1.11.5.txz
===>>> Delete stale package: py36-cffi-1.11.5.txz? y/n [n]
Last two month all upgrades with portmaster were without errors, I thougt it was done allready...
I am not sure where it breaks. Right now, I see this problem when running portmaster --clean-packages
. Whenever there are more than one flavour of a package installed, I see this type of messages. I've just run it to check and here's a sample output:
# portmaster --clean-packages
...
===>>> protobuf-3.5.2,1.txz is up to date
===>>> psutils-1.17_5.txz is up to date
===>>> Package version: py27-Babel-2.5.3
Latest version: py36-Babel-2.5.3
===>>> py27-Babel-2.5.3.txz matches the installed version
===>>> Path: /var/ports/packages/All/py27-Babel-2.5.3.txz
===>>> Delete stale package: py27-Babel-2.5.3.txz? y/n [n]
When there are many py27+py36 packages, it becomes quite bothersome.
The port has been updated to version 3.26, which should fix this issue for ports with flavors. The fix does only apply to flavored ports (some have the issue due to an interpreter version prefix in the package name despite not using flavors) and it does not support the combination of --clean-packages with --index or --index-only, since the index does not contain any information about package flavors.
===>>> The accessibility/py3-atspi port moved to accessibility/py-atspi@py36 ===>>> Reason: Moved to a flavored, generic, version
Now it doesn't works with ports moved to a flavored version