DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th June 2008
chill's Avatar
chill chill is offline
Fdisk Soldier
 
Join Date: Jun 2008
Location: Federal Republic of the US
Posts: 74
Default Upgrading and rebuilding ALL packages/ports

Hi I wanted to:
Code:
#portmaster -af
to rebuild and upgrade everything on my 7.0 system. Is this generally an ok thing to do or am I likely going to face some dependency/instability issues by doing so? All feedback welcome.

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 16th June 2008
ninjatux's Avatar
ninjatux ninjatux is offline
Real Name: Baqir Majlisi
Spam Deminer
 
Join Date: May 2008
Location: Antarctica
Posts: 293
Default

Why do you want to rebuild everything? Upgrading is fine.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE)
Reply With Quote
  #3   (View Single Post)  
Old 16th June 2008
chill's Avatar
chill chill is offline
Fdisk Soldier
 
Join Date: Jun 2008
Location: Federal Republic of the US
Posts: 74
Default

Quote:
Originally Posted by ninjatux View Post
Why do you want to rebuild everything?
Why not? I just started using FreeBSD so its not like I'm rebuilding 4 gigs of software, plus you get cool compile options from the ncurses menus that you dont get from the binary packages you already have installed.
Reply With Quote
  #4   (View Single Post)  
Old 16th June 2008
ninjatux's Avatar
ninjatux ninjatux is offline
Real Name: Baqir Majlisi
Spam Deminer
 
Join Date: May 2008
Location: Antarctica
Posts: 293
Default

The compile options allow you to enable or disable certain bits of functionality. You should be careful of what you're doing. Also, if you're using portmaster, then you won't get the menu. You will need to set per-package options by hand in your make.conf. Either that or manually cd into every ports directory and compile manually.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE)
Reply With Quote
  #5   (View Single Post)  
Old 16th June 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

I thought that I'd clarify that a bit: An increasing number of ports display options when the ports build. This is part of the port infrastructure, and these options will be shown when you build a port for the first time using portmaster or portupgrade. portmaster even goes through the ports you are going to build and displays any config options for any unconfigured ports up front, so you don't have to baby-sit the build.

But there are other options in ports that have not or cannot be moved to this system. These ones must be set in /etc/make.conf, or by using portsconf or portmaster's config file. (One of the admins recently posted a complicated make.conf file that sets options depending on what port you are building. portsconf does a similar thing, but is less messy.)

Port options set can be changed by running make config, and can be cleared by running make rmconfig in the port directory. The values are stored in files located in /var/db/ports, but directly editing them is not recommended.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #6   (View Single Post)  
Old 16th June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

be sure to read/usr/ports/UPDATING before hand, it can save some headaches from time to time ;-)
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #7   (View Single Post)  
Old 16th June 2008
chill's Avatar
chill chill is offline
Fdisk Soldier
 
Join Date: Jun 2008
Location: Federal Republic of the US
Posts: 74
Default

Quote:
Originally Posted by TerryP View Post
be sure to read/usr/ports/UPDATING before hand, it can save some headaches from time to time ;-)
lol I tried earlier today. Its a fairly exhaustive list, I was running down the list trying to match my ports that had available upgrades against the UPDATING file, it was all a bit much for me. The upgrading process seems a lot easier to me to let portmaster upgrade whatever it wants to upgrade and if something breaks I can deal with it when it happens. I'm only using FreeBSD as a desktop replacement on one of my laptops so if something happens to go wrong I'm not in an environment where it matters that much.
Reply With Quote
  #8   (View Single Post)  
Old 16th June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

The entries in updating are sorted by date ;-)


20080601: -> year 2008, morh 06, day 01 of month (ISO format w/o separators).

It's always been on my to do list to write a small perl snip it to grep that file and only report entries for installed programs within a range of dates. I've never written it because I've always felt it such a typical thing that it must be in ports some where waiting for me to find it ;-)
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #9   (View Single Post)  
Old 16th June 2008
chill's Avatar
chill chill is offline
Fdisk Soldier
 
Join Date: Jun 2008
Location: Federal Republic of the US
Posts: 74
Default

Quote:
It's always been on my to do list to write a small perl snip it to grep that file and only report entries for installed programs within a range of dates.
That would be real sweet. The first time I checked the UPDATING file I thought that somehow it would only relate to what I had on my system.

Security updates are really the only thing I'm worried about. Besides http://www.vuxml.org/freebsd/ is there any other good way of finding the latest security issues?

EDIT: ignore my last question

Last edited by chill; 16th June 2008 at 04:58 AM. Reason: because im an idiot
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
packages vs ports zelut FreeBSD Ports and Packages 17 28th October 2009 08:19 AM
Packages vs. Ports guitarscn OpenBSD Packages and Ports 3 1st October 2008 04:43 AM
cvsup upgrading/updating ports tree Ofloo FreeBSD Ports and Packages 6 25th May 2008 01:32 AM
Upgrading /usr/ports ClaptonOrient FreeBSD Installation and Upgrading 11 12th May 2008 10:17 AM
FAQ: FreeBSD Ports and Packages Carpetsmoker FreeBSD Ports and Packages 0 1st May 2008 03:38 PM


All times are GMT. The time now is 03:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick