becf What do pkg_delete -rf pkg-config\* - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old February 8th, 2009, 07:30
mfaridi's Avatar
mfaridi mfaridi is offline
Member
 
Join Date: Nov 2008
Location: Afghanistan
Posts: 622
Thanks: 161
Thanked 12 Times in 12 Posts
Default What do pkg_delete -rf pkg-config\*

What do this command

Code:
pkg_delete -rf pkg-config\*
This command delete all thing ???
Delete all packages ???
or Delete special packages ?
Is this command danger and can break my systems ?
Can I use this command for delete all gnome package or KDE packages ?
Reply With Quote
  #2  
Old February 8th, 2009, 09:55
hydra hydra is offline
Member
 
Join Date: Nov 2008
Location: Slovakia
Posts: 272
Thanks: 18
Thanked 24 Times in 21 Posts
Default

Code:
     -f, --force
             Force removal of the package, even if a dependency is recorded or
             the deinstall or require script fails.

     -r, --recursive
             Recursive removal.  In addition to specified packages, delete all
             packages that depend on those packages as well.
Seems it will delete all ports that depend of pkg-config, but not all ports depend on it. If you want to delete all ports, pkg_delete -a.

Yes it's safe to use if you know what you are doing. You as the admin must know which packages are necessary for you and which are not. Take a look what will be deleted:
pkg_info -R `pkg_info | grep pkg-config | awk '{print $1}'`
Reply With Quote
  #3  
Old February 8th, 2009, 18:32
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,838
Thanks: 30
Thanked 1,888 Times in 1,333 Posts
Default

Quote:
Originally Posted by hydra View Post
Yes it's safe to use if you know what you are doing.
Oops.
Reply With Quote
  #4  
Old February 8th, 2009, 20:12
hydra hydra is offline
Member
 
Join Date: Nov 2008
Location: Slovakia
Posts: 272
Thanks: 18
Thanked 24 Times in 21 Posts
Default

UNIX does what you want, you know what you are typing in, you are the master, isn't it so DutchDaemon
Reply With Quote
  #5  
Old February 8th, 2009, 22:14
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,838
Thanks: 30
Thanked 1,888 Times in 1,333 Posts
Default

I think I am, yeah ..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Initial Server Config File bamcis Installing & Upgrading 0 February 3rd, 2009 18:13
Advice needed: logserver layout, config, ... uisge Web & Network Services 1 December 31st, 2008 16:24
Change Config Options After Failed Install ter2007 Installing & Upgrading 9 December 23rd, 2008 14:59
[XFCE] Xorg config not held francach Other Window Managers 4 December 20th, 2008 16:39


All times are GMT +1. The time now is 02:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0