* Dennis Clarke <[EMAIL PROTECTED]> [2008-06-17 17:18]: > I like this "dumb question" trend. > > How do I remove a package from the system ? > > -bash-3.2# pkginfo -l SUNWsmbau > PKGINST: SUNWsmbau > NAME: samba - A Windows SMB/CIFS fileserver for UNIX (Usr) > CATEGORY: system > ARCH: i386 > VERSION: 11.11.0,REV=2008.03.19.13.46 > VENDOR: Sun Microsystems, Inc. > DESC: samba - A Windows SMB/CIFS fileserver for UNIX (Usr) > HOTLINE: Please contact your local service provider > STATUS: completely installed > > -bash-3.2# pkgchk -l SUNWsmbau | grep Pathname > WARNING: Package <SUNWsmbau> is installed but empty > > okay .. I want to remove that ... how ? $ pkg search -r SUNWsmbau
shows that pkg:/SUNWsmba and pkg:/SUNWlibsmbclient deliver a legacy action for SUNWsmbau. We could use the HOTLINE field to identify this as a pkg(5) legacy action, I suppose. $ pfexec pkg uninstall SUNWsmba SUNWlibsmbclient will uninstall those two packages. > Also .. I went looking for smbd and it doesn't exist anywhere that I can see. $ pkg search -r smbd shows that pkg:/SUNWsmba delivers a /usr/sbin/smbd while pkg:/SUNWsmbs delivers /usr/lib/smbsrv/smbd. - Stephen -- [EMAIL PROTECTED] http://blogs.sun.com/sch/ _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
