[indiana-discuss] Another dumb question du jour
Stephen Hahn
sch at sun.com
Tue Jun 17 10:26:37 PDT 2008
* Dennis Clarke <blastwave at gmail.com> [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
--
sch at sun.com http://blogs.sun.com/sch/
More information about the indiana-discuss
mailing list