GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PKG_DELETE(1) FreeBSD General Commands Manual PKG_DELETE(1)

pkg_delete
???󥹥ȡ??뤵???Ƥ??륽?եȥ????????? package ???????????ץ???????

pkg_delete [-dDfGinrvxX] [-p prefix] pkg-name ... pkg_delete -a [flags]

pkg_delete ???ޥ??ɤϡ? pkg_add(1) ???ޥ??ɤˤ??????˥??󥹥ȡ??뤵???Ƥ??? package (????: FreeBSD ?? package system ?ˤ??????ѥå????????ؤ??????ˤ???ɽ?????ޤ?) ?????????뤿???? ?Ѥ??????ޤ???

pkg_delete ???ޥ??ɤ? package ?ե??????ˤ????󶡤????륹?????ץȤ??ץ????????? ?¹Ԥ??뤳?Ȥ??????Τǡ????ʤ??Υ????ƥ??ϡ??????????ۥե??????? ?????˰??ͤ????? “?ȥ?????????” ??¾?ι?̯?ʹ????ʤɤ??????? ??ǽ?????????ޤ???

package ?ե????????󶡤?????ʪ??ǽ?Ϥȿȸ?????ǧ?????Ȥ褤?Ǥ??礦?? ?????ʤ????????Τ????ˤϡ?package ??Ͽ?ǥ??쥯?ȥ? (/var/db/pkg/<pkg-name>/) ?ˤ??뤹?٤Ƥ? package ?????ե?????????ǧ???ޤ??? +INSTALL, +POST-INSTALL, +DEINSTALL, +POST-DEINSTALL, +REQUIRE, +MTREE_DIRS ?γƥե??????ˤ? ?ä????դ?ʧ????+CONTENTS ?ե??????? @cwd, @mode (setuid ???????å?), @dirrm, @exec, @unexec ?ǥ??쥯?ƥ??֤?Ĵ?٤Ƥ????????? ???󥹥ȡ??뤵???Ƥ??? package ?????ե???????Ĵ?٤??Τˤ? pkg_info(1) ???ޥ??ɤ??Ȥ??ޤ???

?ʲ??Υ??ޥ??ɥ饤?󥪥ץ????????󶡤????Ƥ??ޤ?:
pkg-name ...
???ꤵ?줿 package ?????󥤥󥹥ȡ??뤵???ޤ???
̵?????ˡ????ߥ??󥹥ȡ????Ѥ? package ?򤹤٤ƺ??????ޤ???
?? package ?κ??????ˡ???ǧ???????ޤ??? ?????ϡ?ɸ?????ϥǥХ?????ü?????ɤ????˴ط??????ޤ?????
?????ʽ??Ϥ??ڤ??ؤ??ޤ???
package ?˥??󥤥󥹥ȡ????ѥ??????ץȤ?¸?ߤ??Ƥ⡢???????¹Ԥ??ޤ?????
?ºݤˤϥ??󥤥󥹥ȡ????ϹԤ鷺?????󥤥󥹥ȡ??뤷???????˼¹Ԥ??????Ǥ????? ???ƥåפ?ɽ?????ޤ???
prefix
???󥹥ȡ??뤵???Ƥ??? package ??????Ū?˥ǥ??쥯?ȥ??????ꤷ?Ƥ??ʤ? ?????ˡ??????????ե??????????? prefix ???ǥ??쥯?ȥ??Ȥ????դ??ä??ޤ??? ?ۤȤ??ɤ? package ?Ǥϡ????Υǥ??쥯?ȥ??? pkg_add(1) ?ˤ??äƥ??󥹥ȡ??뤵?줿?????˼?ưŪ?????ꤵ???ޤ???
?ե??????????ˤ????????????Υǥ??쥯?ȥ??????????ޤ??? ?ǥե????ȤǤϡ?package ?????ư?????????Ū?????󤵤줿 ?ե?????/?ǥ??쥯?ȥ? (?̾??Υե?????/?ǥ??쥯?ȥ꤫ @dirrm ?ǥ??쥯?ȥ???ȼ?ä?????) ?Τߤ????󥤥󥹥ȡ??????˺????????ޤ??? ???Υ??ץ??????ˤ??? pkg_delete ?? package ?????????뤳?Ȥˤ????????????ǥ??쥯?ȥ????????????褦?? ?ʤ??ޤ???
??¸?ط?????Ͽ?????Ƥ????ꡢ???󥤥󥹥ȡ??륹?????ץȤ? require ???????ץȤ????Ԥ????????Ǥ⡢????Ū?? package ?????????ޤ???
?????оݤ? package ?????????ˡ? pkg-name ???Υ????륰???֥ѥ???????Ÿ???????ߤޤ??? (?ǥե????ȤǤϡ? pkg_delete ?? pkg-name ???Υ????륰???֥ѥ?????????ưŪ??Ÿ?????ޤ?)??
pkg-name ??????ɽ???Ȥ??ư?????̾????????????ɽ???˥ޥå??????? package ?????????ޤ??? ʣ????????ɽ??????????ǽ?Ǥ????? ???ξ??硢?ꥹ?????ξ??ʤ??Ȥ? 1 ?Ĥ?????ɽ???˥ޥå??????? package ?? ?????????ޤ???
??Ʊ?ͤǤ????? pkg-name ????ĥ????ɽ???Ȥ??ư????ޤ???
?Ƶ?Ū?ʺ????? ???ꤷ?? package ?˲ä????????˰?¸???? package ???ޤ????????ޤ???

pkg_delete ?桼?ƥ????ƥ???̾?????̤???Ư???ޤ??? pkg_delete ?? /var/db/pkg/<pkg-name> ?˵?Ͽ???줿???󥹥ȡ????Ѥߤ? package ???????å????? package ?????Ƥ??????????Ǹ??? package ?ε?Ͽ?????????ޤ??? ?Ķ??ѿ? PKG_DBDIR ?????ꤵ???Ƥ????????ˤϡ??????ѥ? /var/db/pkg/ ?ˤ??줬ͥ?褷?ޤ???

???? package ??¾?Υ??󥹥ȡ????Ѥߤ? package ????ɬ?פȤ????Ƥ??????硢 pkg_delete ?Ϥ??????ΰ?¸???Ƥ??? package ?ΰ?????ɽ??????package ?κ????? ?Ԥ??ޤ??? (?????? -f ???ץ????󤬻??ꤵ?줿??????????)??

package ?? require ?ե?????( pkg_create(1) ?򻲾?)???ޤ??Ǥ??????硢?ޤ????Υե????????ʲ??ΰ??????դ??Ƽ¹Ԥ??? ???󥤥󥹥ȡ??????Ȥ?³?????٤????ɤ??????Τ????ޤ?:

require <pkg-name> DEINSTALL
(?????? pkg-name ???????Ȥ??Ƥ??? package ??̾???Ǥ??ꡢ DEINSTALL ?Ϥ??줬???󥤥󥹥ȡ????Ǥ??뤳?Ȥ򼨤???????ɤǤ?) ??λ???ơ??????? 0 ?ʳ??ξ????ˤϡ? -f ???ץ????󤬻??ꤵ???Ƥ??ʤ??¤ꥢ?󥤥󥹥ȡ????????Ǥ??ޤ???

package ?? deinstall ???????ץȤ??ޤޤ??Ƥ??????硢 ???Υ??????ץȤϥե????뤬?????????????˼¹Ԥ????ޤ??? pkg_delete ?ϥ??ꥸ?ʥ??? package ?˴ޤޤ??Ƥ????ե??????????????뤳?Ȥ??? ???Τ??ʤ??Τǡ? package ?Υ??󥹥ȡ????ˤޤĤ??뻨¿?ʻ????򤭤줤???ҤŤ????Τ? ???? deinstall ???????ץȤ???Ǥ?Ǥ??? deinstall ???????ץȤϰʲ??ΰ??????դ??Ƽ¹Ԥ????ޤ?:

script <pkg-name> DEINSTALL
?????ǡ? pkg-name ???оݤ? package ̾?Ǥ??ꡢ DEINSTALL ?Ϥ??줬???󥤥󥹥ȡ??????Υե??????Ǥ??뤳?Ȥ򼨤???????ɤǤ???

??: ( -k ?????? -K ?Υե饰?? pkg_create(1) ?˻??Ѥ??뤳?Ȥˤ???) package ???????? deinstall ?? post-deinstall ?Υ??????ץȤ??̡???Ϳ?????????????ˤϡ? DEINSTALL ??????ɤ??о줷?ޤ?????

post-deinstall ???????ץȤ? package ???Ф???¸?ߤ??????硢 ???ե????뤬???????줿 ?? ?Ǽ¹Ԥ????ޤ??? package ?Υ??󥹥ȡ????˺ݤ??빹?ʤ??١??Ȥ??????Ȥ??ҤŤ??? (???勞??) package ???󥹥ȡ???????Ʊ???????ƥ????֤??᤹???Ȥϡ? ???Υ??????ץȤ???Ǥ?Ǥ???

post-deinstall ?ϼ??Τ褦?˸ƤӽФ????ޤ?:

script <pkg-name> POST-DEINSTALL
?????? pkg-name ???оݤ? package ̾?Ǥ??ꡢ POST-DEINSTALL ?Ϥ??줬???󥤥󥹥ȡ??????Υե??????Ǥ??뤳?Ȥ򼨤???????ɤǤ???

??: ( -k ?????? -K ?Υե饰?? pkg_create(1) ?˻??Ѥ??뤳?Ȥˤ???) package ???????? deinstall ?? post-deinstall ?Υ??????ץȤ??̡???Ϳ?????????????ˤϡ? POST-DEINSTALL ??????ɤ??о줷?ޤ?????

POST-DEINSTALL ?????? PRE-DEINSTALL ?Υ?????ɤ??Ϥ??طʤˤϡ? ???󥹥ȡ????Ⱥ????Τ??٤Ƥ򰷤????Ȥ??Ǥ???ñ???Υץ???????/???????ץ? ?򵭽Ҳ?ǽ?ˤ??뤳?Ȥ??????ޤ???

???????ʤ??顢??????ˡ?ϥ????ƥʥ󥹤????ʤ??񤷤??? ???󥹥ȡ??뤪???ӥ??󥤥󥹥ȡ????γƶ??̤򰷤??̡??Υ??????ץȤ???????ˡ ?ˤϵڤФʤ????Ȥ????и??ˤ???ʬ?????ޤ?????

???٤ƤΥ??????ץȤϴĶ??ѿ? PKG_PREFIX ?˥??󥹥ȡ??????? prefix ?????ꤵ?줿???֤Ǽ¹Ԥ????ޤ? (?嵭?? -p ???ץ??????򻲾?)?? ???Τ??Ȥˤ??ꡢpackage ?κ??Ԥ? pkg_delete ?? pkg_add ?? -p ?ե饰?ˤ??? package ?????󥹥ȡ??뤵?????ǥ??쥯?ȥ꤬ ?ѹ??????Ƥ⡢???????Ȥդ??ޤ????????ץȤ??񤯤??Ȥ???ǽ?ˤʤ??ޤ???

?Ķ??ѿ? PKG_DBDIR ?ϡ????󥹥ȡ????Ѥ? package ?????إǡ????١????????ꤷ?ޤ???

/var/db/pkg
???󥹥ȡ????Ѥ? package ?Υǡ????١????Υǥե????Ȥΰ??֡?

pkg_add(1), pkg_create(1), pkg_info(1), pkg_version(1), mktemp(3), mtree(8)

Jordan Hubbard

John Kohl ⟨jtk@rational.com⟩, Oliver Eikemeier ⟨eik@FreeBSD.org⟩

?ޤ??????Ϥ??Ǥ???
June 29, 2004 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.