1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

Add a tip about pkg_info and checking for multiple installed versions

of a package/port.
This commit is contained in:
Giorgos Keramidas 2002-02-11 03:45:29 +00:00
parent d2f22d707a
commit 505e7511bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90516

View File

@ -469,3 +469,9 @@ write
This won't work if you don't have write permissions to the directory
and probably won't be suitable if you're editing through a symbolic link.
%
If you want to quickly check for duplicate package/port installations,
try the following pkg_info command.
pkg_info | sort | sed -e 's/-[0-9].*$//' | \
uniq -c | grep -v '^[[:space:]]*1'