On Wednesday 28 December 2005 14:21, Michael C. Shultz wrote:
> On Tuesday 27 December 2005 22:10, Yuan Jue wrote:
> > On Wednesday 28 December 2005 14:00, Dmitry Sidorov wrote:
> > > On Wed, 2005-12-28 at 13:55 +0800, Yuan Jue wrote:
> > > > hello, all
> > > >
> > > > I wanna delete a package that I don't want now. I know that when I
> > > > use portinstall -R xxx to install it, many dependencies have been
> > > > installed too. Now I wanna delete them all if they are not used by
> > > > any other packages.
> > > >
> > > > how can I do it? can I "pkg_delete -r xxx"?
> > > >
> > > > thanks.
> > >
> > > yes you can,
> > > ls -al /var/db/pkg
> > > find your package name, and execute:
> > > pkg_delete -r package_name
> >
> > thanks for your reply.
> > but doesn't "pkg_delete -r xxx" use to delete all packages
> > that depend on the xxx? what I wanna delete are those packages
> > that xxx depend on. any ideas?
>
> To delete ports that none depend on try:
>
> sysutils/portmanager
>
> portmanager -slid

thanks. it works very well :)

-- 
Best Regards.
Yuan Jue
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to