Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2013 14:35:40 +0200
From:      "Julian H. Stacey" <>
To:        "Ronald F. Guilmette" <>
Subject:   Re: WANTED: Tool to verify installed package/port consistancy 
Message-ID:  <>
In-Reply-To: Your message "Thu, 09 May 2013 15:00:23 PDT." <> 

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
"Ronald F. Guilmette" wrote:
> The subject line pretty much says it all.

Additional to other ideas so far,
You could also make a chroot, install normal bins from src,
install all your ports, ^D to exit chroot, then do a compare & strip with eg:
cd chroot ; 
find . -type f -exec cmpd -d {} / \;
	# compare & delete
find . -type l | xargs rm
find . -type d -depth -exec rmdir {} \; 
find . -type f -print | sort | more

then consider what got trashed, where, & maybe why,
& then reinstall from ports, or crudely
 cd /chroot/var/db/pkg ; tar cf - */+CONTENTS| (cd /var/db/pkg && tar xf -)

PS I find /usr/ports/textproc/mgdiff nice for a visual diff of 2 files.
( if theres lots of small changes in a file )

Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich
 Reply below not above, like a play script.  Indent old text with "> ".
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.

Want to link to this message? Use this URL: <>