portmaster --packages* and recording dependencies

Doug Barton dougb at FreeBSD.org
Mon May 2 07:53:15 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Howdy,

If you are a portmaster user and you use one of the --packages* options
I would like to encourage you to upgrade to portmaster version 3.9. It
fixes a (rather embarrassing) omission in the dependency-updating code,
updating the +REQUIRED_BY files for the packages that a newly-installed
package depends on. Usually pkg_add does this automatically, however in
the course of developing the --packages* options for portmaster I found
that it was necessary to add the --no-deps option to pkg_add.
Unfortunately I did not re-test the +REQUIRED_BY updating after that,
and I discovered this week that the --no-deps option suppresses this
feature.

The good news is that it's quite easy to fix. Update to portmaster 3.9
(which in addition to this bug fix has some nice new features), and then
run 'portmaster --check-depends'. Actually it never hurts to run that
occasionally anyway, especially if you sometimes use pkg_delete directly.

I hope that this issue has not caused anyone inconvenience, and as
always if you have any questions or comments feel free to send them
along, in reply here or privately.


Best regards,

Doug

- -- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBCAAGBQJNvmLpAAoJEFzGhvEaGryEB64IALQ2pz1qw5DC8FZrjndEdenF
0JW8/O1fhYEey6NPSewc7oAXq+MuSGRPvVAIOCMGXk0ZGmhTedPF5zSOlgbwR+16
NC1xZdSEvHApQpnFBdWnWNFlBO7mnFF5xUYYW7+iXXB4XsZGFKl1pbnRR2JOMM/X
xH3JumcFTQ8hnmDIkrYlgRyAWHvP+q7/682dS6PD98k2PvJsh65Y+o+vkuG20B7W
Pqg/Hl0hIydFZGgRUAeZDG4pvu3w+oIq8aCf/GJGdsT4vAZ0yTcF3G4ZUr79aboT
dXng7DSKTx+NxUNWEpZ4hFFblC4C7ESTf+jW+k3QHH6tR+GFvh6FQNT5O+eJUHU=
=LGSW
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list