Updating the FreeBSD ports


 
Thread Tools Search this Thread
Operating Systems BSD Updating the FreeBSD ports
# 1  
Old 07-25-2010
Updating the FreeBSD ports

When updating the ports, I normally do the following:
Code:
rm -r /usr/ports
csup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile

This however takes rather long, about 20 mins on stock hardware. Is there a way to exclude certain ports from being updated, such as games and print?
# 2  
Old 07-25-2010
If you're concerned about speed, use portsnap. It's now in the default installation and is the suggested way to update your tree. In saying that, csup and cvsup still essentially do the same thing and there's nothing wrong with using either method.

It's covered in the manual if you're interested:

Using Portsnap
# 3  
Old 07-27-2010
Thank you for the response and the suggestion. So even the performance issue may be solved, still, can some ports be excluded from being upgraded in a relatively trivial way?
# 4  
Old 09-05-2010
Hello. portsnap can have something called a refuse directive. Though it is not recommended as some ports require other ports as dependencies.

portsnap is more secure and faster than the old way of cvsup. It also works with timestamp and only downloads ports that have changed since last usage.
# 5  
Old 09-05-2010
I had found out that portsnap is indeed quite a bit faster than cvsup. Thanks for the update.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Ubuntu

16.04 not updating

Just installed the latest version on my hp stream, was tired of windows. Of the few times I've used Linux, this is the first time it won't update. Im connected to the net the updater recognizes that the OS needs 21 updates. But it won't download/install the updates. It also won't load the... (1 Reply)
Discussion started by: DabblingMadman
1 Replies

2. Shell Programming and Scripting

updating LD_LIBRARY_PATH

Inside my csh script, I have the following command: source ${HOME}/.login When I execute my csh script, why do I get the following error message: /cygdrive/c/WINDOWS/system32/export: Permission denied This is what I have inside my .login #!/bin/bash export... (9 Replies)
Discussion started by: casau
9 Replies

3. BSD

Installing ports upon FreeBSD install

I use DesktopBSD (FreeBSD + KDE) and regularly install this on our machines. Currently I go to the package manager to install the ports, but what shell command can I enter instead right after BSD install to install the ports? Thanks in advance (3 Replies)
Discussion started by: figaro
3 Replies

4. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

5. UNIX and Linux Applications

[FreeBSD] / ports / textproc / htmlise - how to

/ ports / textproc / htmlisehttp://cvsweb.freebsd.org/ports/textproc/htmlise I've installed this but I can't find any documentation -anywhere- on how to use it. There is no man or help switch available for this. Can anybody give me some insight on what syntax it requires or a simple example on... (3 Replies)
Discussion started by: phpfreak
3 Replies

6. Shell Programming and Scripting

awk updating one file with another, comparing, updating

Hello, I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^ Here is what I'm trying to achieve : file1: test filea 3495; test fileb 4578; test filec 7689; test filey 9978; test filez 12300; file2: test filea... (11 Replies)
Discussion started by: mecano
11 Replies

7. UNIX for Advanced & Expert Users

FreeBSD 5.00 /ports

Download FreeBSD 5.0 mini_install.ISO i was trying to do a post-installation , trying to install the ports but doesn't install it gives me could not find index error ?!any ideas..?? as the index file is on the cd and I checked it the file is not corrupt.!! A guy made me an offer i can't... (9 Replies)
Discussion started by: wizardofid
9 Replies

8. UNIX for Dummies Questions & Answers

FreeBSD ports

working with FreeBSD 4.5 learning the hang of it i must say but still few probs i want to install some packages from my freebsd cdrom read lot of docs but still don't understand the commands first tried to install it by copying the tgz file and the let tar xzf on it. It worked fine and had... (1 Reply)
Discussion started by: termiEEE
1 Replies
Login or Register to Ask a Question