ae69 remove pkg and install ports - 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 September 11th, 2009, 20:19
lodore lodore is offline
Junior Member
 
Join Date: Jul 2009
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default remove pkg and install ports

Hello,
what is the easiest way of removing all the packages i installed using pkg_add -r and install the ports instead?
Reply With Quote
  #2  
Old September 11th, 2009, 20:29
Beastie Beastie is offline
Senior Member
 
Join Date: Mar 2009
Location: /dev/earth0
Posts: 1,699
Thanks: 0
Thanked 301 Times in 245 Posts
Default

# pkg_delete -a. Then read this.
__________________
May the source be with you!
Reply With Quote
  #3  
Old September 11th, 2009, 20:53
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,140
Thanks: 43
Thanked 700 Times in 578 Posts
Default

Or, just install ports-mgmt/portmaster and use it to either upgrade or reinstall your ports. No need to uninstall them all first.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
The Following 2 Users Say Thank You to phoenix For This Useful Post:
jjthomas (December 29th, 2009), VictorM (December 29th, 2009)
  #4  
Old December 29th, 2009, 02:35
VictorM VictorM is offline
Junior Member
 
Join Date: Dec 2009
Location: Leprechauns' Nest
Posts: 39
Thanks: 8
Thanked 1 Time in 1 Post
Default

tnx, phoenix - this was easier than we were doing it.
__________________
iSCSI problems on FreeBSD?
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
recreate /var/db/pkg/ Ghirai Installation and Maintenance of FreeBSD Ports or Packages 3 August 22nd, 2009 12:12
Ports install - not from local ports collection Stamps Installation and Maintenance of FreeBSD Ports or Packages 7 May 15th, 2009 15:19
Am I really lost if I've just deleted /var/db/pkg/* by mistake? toomadd Installation and Maintenance of FreeBSD Ports or Packages 3 March 9th, 2009 23:01
[Solved] after run pkg_delete -rf pkg-config\* kde4.2 can not install mfaridi Installation and Maintenance of FreeBSD Ports or Packages 6 February 21st, 2009 08:03
What do pkg_delete -rf pkg-config\* mfaridi Installation and Maintenance of FreeBSD Ports or Packages 4 February 8th, 2009 22:14


All times are GMT +1. The time now is 06:35.


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