Bug 227276 - ports-mgmt/portmaster --clean-packages ignore FLAVOR
Summary: ports-mgmt/portmaster --clean-packages ignore FLAVOR
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Stefan Eßer
Depends on:
Reported: 2018-04-04 01:32 UTC by hashiz
Modified: 2018-04-13 00:37 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (se)

fix abobe and more (2.38 KB, patch)
2018-04-04 01:32 UTC, hashiz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hashiz 2018-04-04 01:32:31 UTC
Created attachment 192193 [details]
fix abobe and more

Build, install and create package editors/emacs@nox
$ portmaster --packagebuild editors/emacs@nox

Run package cleanup
$ portmaster -y --clean-packages

Then, the latest package file was deleted.
Comment 1 Serge 2018-04-13 00:37:33 UTC
I confirm that this is exactly what happens. For example, I have both 

py27-certifi-2018.1.18 and 

installed and the corresponding packages saved. When I try running 

$ portmaster --clean-packages

I get this prompt:

===>>> Package version: py36-certifi-2018.1.18
       Latest version:  py27-certifi-2018.1.18
	===>>> py36-certifi-2018.1.18.txz matches the installed version
	===>>> Path: /var/ports/packages/All/py36-certifi-2018.1.18.txz

	===>>> Delete stale package: py36-certifi-2018.1.18.txz? y/n [n]

This type of prompt is generated for any flavoured ports that I happen to have installed.