pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gobject-introspection compilation error

On Wed, Nov 25, 2020 at 06:36:37PM +0530, Mayuresh wrote:
> PS: Also, one question is how it happens, the second is, is there any way
> / tool to get rid of orphaned files?

sdiff -s <(pkg_admin dump | awk '{print $2}' | sort) <(find /usr/pkg/ -type f | grep -v -e '^\/usr\/pkg\/\(etc\|pkgdb\)' | sort)

I can probably improve the above bash line, but it did a quick job or may
be a tool already exists?

Surprisingly I found too many files orphaned (probably the 'can't delete'
issue) and a few absent.


Home | Main Index | Thread Index | Old Index