Bug 194981 - ports-mgmt/pkg pkg-delete(8) man page incorrectly describes behaviour if unfulfilled dependencies
Summary: ports-mgmt/pkg pkg-delete(8) man page incorrectly describes behaviour if unfu...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-pkg (Nobody)
URL: https://www.freebsd.org/cgi/man.cgi?q...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 05:19 UTC by Ben Woods
Modified: 2015-04-06 00:03 UTC (History)
1 user (show)

See Also:
woodsb02: maintainer-feedback? (pkg)


Attachments
Patch pkg-delete(8) to correct explanation of behaviour if it would leave other packages with unresolved dependencies (278 bytes, patch)
2015-03-08 01:46 UTC, Ben Woods
no flags Details | Diff
Patch pkg-delete(8) to correct explanation of behaviour if it would leave other packages with unresolved dependencies (531 bytes, patch)
2015-03-08 01:49 UTC, Ben Woods
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Woods freebsd_committer freebsd_triage 2014-11-13 05:19:10 UTC
The pkg-delete(8) man page currently states:
"If the set of packages to be deleted would leave installed packages with unfulfilled dependencies, pkg delete will emit an error message and quit without deleting anything unless forced to proceed by the -f option."

This is no longer the case with the new solver. The behaviour of pkg-delete(8) has now changed to automatically recommend removing the leftover packages that would otherwise have unfulfilled dependencies.

The pkg-delete(8) man page needs to be updated to reflect this change in behaviour.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-13 05:19:10 UTC
Auto-assigned to maintainer portmgr@FreeBSD.org
Comment 2 Ben Woods freebsd_committer freebsd_triage 2015-03-08 01:46:44 UTC
Created attachment 153988 [details]
Patch pkg-delete(8) to correct explanation of behaviour if it would leave other packages with unresolved dependencies
Comment 3 Ben Woods freebsd_committer freebsd_triage 2015-03-08 01:49:17 UTC
Created attachment 153989 [details]
Patch pkg-delete(8) to correct explanation of behaviour if it would leave other packages with unresolved dependencies

Convert patch to unified diff format
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2015-03-31 22:35:27 UTC
Merged in git master will be in pkg 1.5.0 thanks
Comment 5 Ben Woods freebsd_committer freebsd_triage 2015-04-06 00:03:54 UTC
Patch had been committed upstream and will be included in the next pkg 1.5.0 release.