Re: easy patch management tools

2006-09-10 Thread RJ
Suggestions from another rookie(me):

   I use the ports tree and portsnap,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html, and
when it's time to update the following one liner works great for me:

  cd /boot/ ; cp -Rp kernel kernel.good ; cd /usr/src ; cvsup -gL2
/usr/share/examples/cvsup/standard-supfile ; make -j4 buildworld ; make
buildkernel ; make installkernel ; make installworld; mergermaster ; reboot

- Original Message - 
From: Aaron Bliss [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, September 05, 2006 8:44 PM
Subject: easy patch management tools


 Hi everyone, first let me say that I'm pretty new to bsd, so please
forgive
 the newbie questions; I've been using linux (redhat, suse, centos) for
many
 years, and so learning bsd was a bit of a learning curve, but not bad (I
 almost never use gui's for administration); I was wondering if there are
any
 packagement tools for freebsd/pcbsd that offer simular functionality to
 up2date or yum; I take care of installing and updating complete rpm based
 systems using yum, and have not found a tool simular to yum for freebds
(I'm
 also trying to stay away from pbi's, since they are specific to pcbsd);
I've
 used the pkg_add, pkg_delete, portupgrade tools, but am just looking for
an
 easy way to ensure my entire bsd box is updated; Also, as I understand it,
 bsd makes use of ports, by using tools such as cvsup, however I have never
 had much success compiling my own software, as such much prefer to use
 binary packages, which I understand that the freebsd authors provide; for
 example, if I wanted to install pine, I would much rather install it by
 running pkg_add -r pine ; I'm just looking for a simple way to update
 currently installed binaries, simular to installing new binaries with
 pkg_add ; thanks very much for your help with this.

 Aaron
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easy patch management tools

2006-09-10 Thread ajm
On Sun, Sep 10, 2006 at 02:06:14PM -0400, RJ wrote:
 Suggestions from another rookie(me):
 
I use the ports tree and portsnap,
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html, and
 when it's time to update the following one liner works great for me:
 
   cd /boot/ ; cp -Rp kernel kernel.good ; cd /usr/src ; cvsup -gL2
 /usr/share/examples/cvsup/standard-supfile ; make -j4 buildworld ; make
 buildkernel ; make installkernel ; make installworld; mergermaster ; reboot
 
 - Original Message - 
 From: Aaron Bliss [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Tuesday, September 05, 2006 8:44 PM
 Subject: easy patch management tools
 
 
  Hi everyone, first let me say that I'm pretty new to bsd, so please
 forgive
  the newbie questions; I've been using linux (redhat, suse, centos) for
 many
  years, and so learning bsd was a bit of a learning curve, but not bad (I
  almost never use gui's for administration); I was wondering if there are
 any
  packagement tools for freebsd/pcbsd that offer simular functionality to
  up2date or yum; I take care of installing and updating complete rpm based
  systems using yum, and have not found a tool simular to yum for freebds
 (I'm
  also trying to stay away from pbi's, since they are specific to pcbsd);
 I've
  used the pkg_add, pkg_delete, portupgrade tools, but am just looking for
 an
  easy way to ensure my entire bsd box is updated; Also, as I understand it,
  bsd makes use of ports, by using tools such as cvsup, however I have never
  had much success compiling my own software, as such much prefer to use
  binary packages, which I understand that the freebsd authors provide; for
  example, if I wanted to install pine, I would much rather install it by
  running pkg_add -r pine ; I'm just looking for a simple way to update
  currently installed binaries, simular to installing new binaries with
  pkg_add ; thanks very much for your help with this.
 
  Aaron
  ___


I perfer to use portsnap with portupgrade.  Others use portsnap with 
portmanager.  Yet others will suggest portsnap with portmaster.

I am not very familiar with portmaster, but I have used the other two 
to upgrade my system.  Read the man pages for information on installing 
packages.

-- 
FreeBSD 6.0-RELEASE i386 GENERIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easy patch management tools

2006-09-06 Thread Toomas Aas

Aaron Bliss wrote:

I was wondering if there are 
any

packagement tools for freebsd/pcbsd that offer simular functionality to
up2date or yum; I take care of installing and updating complete rpm based
systems using yum, and have not found a tool simular to yum for freebds 
(I'm
also trying to stay away from pbi's, since they are specific to pcbsd); 
I've

used the pkg_add, pkg_delete, portupgrade tools, but am just looking for an
easy way to ensure my entire bsd box is updated; 


Having never used yum or up2date myself, I wonder - how does it differ 
from using portupgrade? Is the only difference in that portupgrade 
builds the software locally whereas yum and up2date install binaries, or 
is there more to it? If binaries vs source is the only difference then 
portupgrade does offer a way to update all installed ports.



Also, as I understand it,
bsd makes use of ports, by using tools such as cvsup, however I have never
had much success compiling my own software, as such much prefer to use
binary packages, which I understand that the freebsd authors provide; 


Using ports is not the same as building/installing software yourself 
from source. All the complications are handled by port maintainers and 
we happy users only need to type 'make install'. So there's really no 
need to be scared. The only downside of ports (as far as I can see) is 
that building them takes more time than installing from binaries.



for
example, if I wanted to install pine, I would much rather install it by
running pkg_add -r pine ; I'm just looking for a simple way to update
currently installed binaries, simular to installing new binaries with
pkg_add ; thanks very much for your help with this.


I still recommend using ports and portupgrade. Actually, I don't use 
portupgrade myself, because I am a masochist. But from the comments on 
this list it seems to be pretty good.


--
Toomas Aas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easy patch management tools

2006-09-06 Thread Gerard Seibert
Aaron Bliss wrote:

 Hi everyone, first let me say that I'm pretty new to bsd, so please forgive
 the newbie questions; I've been using linux (redhat, suse, centos) for many
 years, and so learning bsd was a bit of a learning curve, but not bad (I
 almost never use gui's for administration); I was wondering if there are any
 packagement tools for freebsd/pcbsd that offer simular functionality to
 up2date or yum; I take care of installing and updating complete rpm based
 systems using yum, and have not found a tool simular to yum for freebds (I'm
 also trying to stay away from pbi's, since they are specific to pcbsd); I've
 used the pkg_add, pkg_delete, portupgrade tools, but am just looking for an
 easy way to ensure my entire bsd box is updated; Also, as I understand it,
 bsd makes use of ports, by using tools such as cvsup, however I have never
 had much success compiling my own software, as such much prefer to use
 binary packages, which I understand that the freebsd authors provide; for
 example, if I wanted to install pine, I would much rather install it by
 running pkg_add -r pine ; I'm just looking for a simple way to update
 currently installed binaries, simular to installing new binaries with
 pkg_add ; thanks very much for your help with this.

I am assuming you have FreeBSD 6.1 installed.

Using the ports system is really quite easy. It is rather imperative
however that you read the /usr/ports/UPDATING test prior to updating
your ports. It has tips, etc that you might require. An important one is
the switch to Fedora Core 4 as the linux base. You can locate it under:
20060616 in the UPDATING document.

I would recommend that you run portsnap to update your ports. Read the
man for documentation. Then follow the directions in UPDATING to get the
linux base port updated. You might need to install 'portupgrade' unless
you installed it during your original installation process.

Now, there are several options for updating you entire system.
Personally, I prefer 'portmanager' for handling the task. You will have
to install it as it is not part of the base system. After installing it,
just run:
 
 portmanager -f -l -y

That will rebuild your program base and insure that the dependencies are
correct.

HTH

-- 
Gerard Seibert
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easy patch management tools

2006-09-06 Thread David Stanford

On 9/5/06, Aaron Bliss [EMAIL PROTECTED] wrote:


Hi everyone, first let me say that I'm pretty new to bsd, so please
forgive
the newbie questions; I've been using linux (redhat, suse, centos) for
many
years, and so learning bsd was a bit of a learning curve, but not bad (I
almost never use gui's for administration); I was wondering if there are
any
packagement tools for freebsd/pcbsd that offer simular functionality to
up2date or yum; I take care of installing and updating complete rpm based
systems using yum, and have not found a tool simular to yum for freebds
(I'm
also trying to stay away from pbi's, since they are specific to pcbsd);
I've
used the pkg_add, pkg_delete, portupgrade tools, but am just looking for
an
easy way to ensure my entire bsd box is updated;



I personally use portupgrade and portaudit to manage my installed ports and
have no complaints. I find portupgrade  to be extremely easy to use (after
your first mistake or two ;) and use portaudit to determine if any of my
critical ports actually *need* upgrading. Though, I should mention that I've
heard others on this list who prefer portmaster over portupgrade for various
reasons. You should probably look into both and see which one suits you
best.

You can also you security/freebsd-update to keep your base system updated
with errata fixes.

Also, as I understand it,

bsd makes use of ports, by using tools such as cvsup,



I would suggest using portsnap as is much more newb-friendly than cvsup.

-David
--
[EMAIL PROTECTED] ~]# fortune
Happiness is just an illusion, filled with sadness and confusion.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: easy patch management tools

2006-09-06 Thread Vince Hoffman

Aaron Bliss wrote:
Hi everyone, first let me say that I'm pretty new to bsd, so please 
forgive
the newbie questions; I've been using linux (redhat, suse, centos) for 
many

years, and so learning bsd was a bit of a learning curve, but not bad (I
almost never use gui's for administration); I was wondering if there 
are any

packagement tools for freebsd/pcbsd that offer simular functionality to
up2date or yum; I take care of installing and updating complete rpm based
systems using yum, and have not found a tool simular to yum for 
freebds (I'm
also trying to stay away from pbi's, since they are specific to 
pcbsd); I've
used the pkg_add, pkg_delete, portupgrade tools, but am just looking 
for an
easy way to ensure my entire bsd box is updated; Also, as I understand 
it,
bsd makes use of ports, by using tools such as cvsup, however I have 
never

had much success compiling my own software, as such much prefer to use
binary packages, which I understand that the freebsd authors provide; for
example, if I wanted to install pine, I would much rather install it by
running pkg_add -r pine ; I'm just looking for a simple way to update
currently installed binaries, simular to installing new binaries with
pkg_add ; thanks very much for your help with this.

Aaron
portupgrade has an option in /usr/local/etc/pktools.conf which sounds 
like what you want.

# USE_PKGS: array
 # USE_PKGS_ONLY: array
 #
 # These are lists of ports that you prefer to use packages to
 # upgrade or install.  They apply -P/--use-packages and
 # -PP/--use-packages-only to specific ports, respectively.
 #
 # cf. -P/--use-packages and -PP/--use-packages-only of
 # portupgrade(1) and portinstall(1)
 #
 # e.g.:
 #   USE_PKGS = [
 # 'perl',
 # 'ruby',
 # 'python',
 #   ]
 #
 #   USE_PKGS_ONLY = [
 # 'x11*/XFree86*',
 # '*openoffice*',
 #   ]

 USE_PKGS = [
 ]

 USE_PKGS_ONLY = [
 ]

use portversion -l  to see whats not at the latest version, and use 
portaudit to see which (if any) have security issues.


I use
USE_PKGS = [
*/*,
]

on machines what are slow or low on disk space but let portupgrade build 
from source otherwise as I like to fine tune the compile options from 
time to time


hope this helps.
Vince

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


easy patch management tools

2006-09-05 Thread Aaron Bliss

Hi everyone, first let me say that I'm pretty new to bsd, so please forgive
the newbie questions; I've been using linux (redhat, suse, centos) for many
years, and so learning bsd was a bit of a learning curve, but not bad (I
almost never use gui's for administration); I was wondering if there are any
packagement tools for freebsd/pcbsd that offer simular functionality to
up2date or yum; I take care of installing and updating complete rpm based
systems using yum, and have not found a tool simular to yum for freebds (I'm
also trying to stay away from pbi's, since they are specific to pcbsd); I've
used the pkg_add, pkg_delete, portupgrade tools, but am just looking for an
easy way to ensure my entire bsd box is updated; Also, as I understand it,
bsd makes use of ports, by using tools such as cvsup, however I have never
had much success compiling my own software, as such much prefer to use
binary packages, which I understand that the freebsd authors provide; for
example, if I wanted to install pine, I would much rather install it by
running pkg_add -r pine ; I'm just looking for a simple way to update
currently installed binaries, simular to installing new binaries with
pkg_add ; thanks very much for your help with this.

Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]