We have uninstalled an application on several Solaris servers manually by deleting folders and files only to realize afterwards that it had been installed with a package through pkgadd.
The command pkginfo -l, still shows the package even though its files are gone. Is there a way to simply “de-register” the package so it doesn’t show up anymore with pkginfo?
As well as
/var/sadm/pkgyou should also check/var/sadm/install/contents, and the man pagecontents(4)for the same (man -s4 contents).