Date: Mon, 25 Jul 2011 07:13:31 +0700 From: Toan Le <toanhuyle.vn@gmail.com> To: bf1783@gmail.com Cc: "b. f." <bf1783@googlemail.com>, freebsd-questions@freebsd.org Subject: Re: pkg_delete yields 'no such package' Message-ID: <4E2CB52B.2010802@gmail.com> In-Reply-To: <CAGFTUwPoSuhZcXU%2BeGEANXrqhaPy5Q4Skz5mP4y6j4qcyd3gCw@mail.gmail.com> References: <CAGFTUwPoSuhZcXU%2BeGEANXrqhaPy5Q4Skz5mP4y6j4qcyd3gCw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It's great by correcting package name. Thanks for your tips of '-x' option !!! Regards, Toan Le On 7/25/2011 6:28 AM, b. f. wrote: >> Matthew Seaman wrote: >> On 24/07/2011 08:48, Toan H. Le wrote: >>> Either I use 'pkg_delete xorg-docs' or 'pkg_delete xorg-docs-1.4.1', >>> pkg_delete yields the error of 'no such package'. Checking via 'pkg_info' >>> and 'pkg_version' confirms the packages xorg-docs-1.4.1 installed. I think I >>> did not use the wrong command. >> Hmmm... That's a typo. The package name is: >> >> lucid-nonsense:...ports/x11/xorg-docs:% make -V PKGNAME >> xorg-docs-1.4,1 >> >> Note the comma -- that's part of the version number, and needs to be >> copied down verbatim for pkg_delete(1) > It is often convenient to use the -x or -X switches with these > utilities, or to use a glob, so that you only have to type part of the > full PKGNAME, e.g.: > > pkg_delete xorg-docs\* > pkg_delete -x xorg-docs > > Just make sure that the glob or regex that you use only applies to the > packages that you want the utilities to act upon, e.g.: > > pkg_info -I xorg-docs\* > pkg_info -Ix xorg-docs > > See the manpages of the utilities for details. > > b.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E2CB52B.2010802>