Patching: Difference between revisions

From Hackepedia
Jump to navigationJump to search
QkeZ75 (talk | contribs)
mNo edit summary
m Reverted edits by QkeZ75 (Talk); changed back to last version by Hawson
Line 1: Line 1:
[[http://news.engin.brown.edu/forums/thread-view.asp?tid=225 free kyocera ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=174 cheap cyclobenzaprine]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=186 jazz ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=171 order clomid]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=144 xanax online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=236 tracfone ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=180 flexeril]] [[http://wc1.worldcrossing.com/WebX/.1de609f3 free midi ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a2c but ultram]] [[http://wc1.worldcrossing.com/WebX/.1de60a34 free sony ericsson ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a0d wwe ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=207 free real ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=110 nokia ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=220 free punk ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=203 free funny ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=173 free cool ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609eb funny ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=83 cheap didrex]] [[http://wc1.worldcrossing.com/WebX/.1de60a21 buy paxil]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=172 online lorazepam]] [[http://wc1.worldcrossing.com/WebX/.1de60a1a free mtv ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=71 buy alprazolam]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=190 cheap pharmacy online]] [[http://wc1.worldcrossing.com/WebX/.1de60a03 sony ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=201 free ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a0b vigrx online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=211 free polyphonic ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=358 mp3 ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a23 free polyphonic ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=213 polyphonic ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=150 tramadol online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=163 adipex online]] [[http://wc1.worldcrossing.com/WebX/.1de60a2b ultracet]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=219 cheap viagra]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=82 buy diazepam]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=185 cheap zoloft]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=192 vigrx]] [[http://wc1.worldcrossing.com/WebX/.1de60a1f lisinopril online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=114 cheap pharmacy online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=75 celexa online]] [[http://wc1.worldcrossing.com/WebX/.1de60a05 free sprint ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609e4 cheap clonazepam]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=353 levitra]] [[http://wc1.worldcrossing.com/WebX/.1de60a27 cheap sildenafil]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=140 cheap vicodin]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=337 xanax]] [[http://wc1.worldcrossing.com/WebX/.1de60a2d cheap valium]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=206 cheap pharmacy online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=126 cheap sildenafil]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=174 cheap wellbutrin]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=160 adipex online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=221 vicodin online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=143 free wwe ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=70 alltel ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=230 free verizon ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=102 midi ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=118 buy prozac]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=189 lipitor]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=218 free sony ericsson ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=232 sony ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=161 albuterol online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=161 viagra online]] [[http://wc1.worldcrossing.com/WebX/.1de609e1 cheap carisoprodol]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=128 sony ericsson ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a24 cheap propecia]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=200 nexium]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=191 cheap lorazepam]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=197 cheap flexeril]] [[http://wc1.worldcrossing.com/WebX/.1de60a07 tracfone ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=182 clomid online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=205 order paxil]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=208 free motorola ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=216 zyban online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=120 free qwest ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=109 free nextel ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=79 cheap clonazepam]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=211 free music ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=226 cheap tramadol]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=333 soma online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=81 buy cyclobenzaprine]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=332 tramadol online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=160 ativan online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=68 adipex online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=108 cheap nexium]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=167 cheap clonazepam]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=90 cheap hgh]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=132 cheap tenuate]] [[http://wc1.worldcrossing.com/WebX/.1de60a32 online zoloft]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=223 free midi ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=166 cheap alprazolam]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=72 cheap ambien]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=241 sony ericsson ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=184 cheap lisinopril]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=194 midi ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=74 cheap carisoprodol]] [[http://wc1.worldcrossing.com/WebX/.1de609f8 free nokia ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=182 free funny ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=176 didrex online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=196 buy hgh]] [[http://wc1.worldcrossing.com/WebX/.1de60a10 cheap didrex]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=129 sony ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=339 order ultram]] [[http://wc1.worldcrossing.com/WebX/.1de609ec buy hgh]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=85 ericsson ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=156 online fioricet]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=76 cialis]] [[http://wc1.worldcrossing.com/WebX/.1de60a1e cheap flexeril]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=336 cheap carisoprodol]] [[http://wc1.worldcrossing.com/WebX/.1de609ff free real ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=198 cheap hoodia]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=165 cheap ambien]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=186 cheap lipitor]] [[http://wc1.worldcrossing.com/WebX/.1de609fa free online pharmacy]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=88 free free ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=146 buy zanaflex]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=153 phentermine online]] [[http://wc1.worldcrossing.com/WebX/.1de60a11 buy diethylpropion]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=240 buy soma]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=210 free sprint ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609e7 diazepam online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=125 free sharp ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=170 hydrocodone online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=347 adipex]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=155 buy xanax]] [[http://wc1.worldcrossing.com/WebX/.1de609e3 clomid online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=356 tracfone ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=222 sharp ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=98 lisinopril online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=223 cheap wellbutrin]] [[http://wc1.worldcrossing.com/WebX/.1de60a15 kyocera ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=362 free motorola ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=115 cheap phentermine]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=215 buy zoloft]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=167 carisoprodol online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=164 buy alprazolam]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=177 cheap diethylpropion]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=200 nokia ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=69 albuterol online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=357 free funny ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=334 valium online]] [[http://wc1.worldcrossing.com/WebX/.1de60a29 tramadol online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=338 fioricet]] [[http://wc1.worldcrossing.com/WebX/.1de60a09 cheap viagra]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=124 samsung ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=198 free mtv ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=164 norco online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=199 music ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=166 buy ativan]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=188 cheap tenuate]] [[http://wc1.worldcrossing.com/WebX/.1de60a17 lipitor online]] [[http://wc1.worldcrossing.com/WebX/.1de60a12 free ericsson ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=151 order soma]] [[http://wc1.worldcrossing.com/WebX/.1de609df ambien online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=231 rivotril online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=343 cialis]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=134 tramadol online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=227 free ericsson ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=228 free mtv ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=177 cheap propecia]] [[http://wc1.worldcrossing.com/WebX/.1de60a14 jazz ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=187 free kyocera ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=345 cheap viagra]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=348 cheap norco]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=162 alltel ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=193 buy zanaflex]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=196 motorola ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=139 cheap viagra]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=191 lortab online]] [[http://wc1.worldcrossing.com/WebX/.1de60a1b music ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a19 mp3 ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609dc buy albuterol]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=351 clonazepam online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=171 ambien online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=173 xenical online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=121 free real ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a20 cheap nexium]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=142 wellbutrin]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=130 sonyericsson ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a0e cheap celexa]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=158 diazepam online]] [[http://wc1.worldcrossing.com/WebX/.1de609f7 nextel ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a28 cheap soma]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=197 mp3 ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=184 hoodia online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=359 free nextel ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=165 vicodin online]] [[http://wc1.worldcrossing.com/WebX/.1de60a01 free sagem ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=217 free punk ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=117 order propecia]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=195 free mono ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=116 polyphonic ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=96 levitra online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=224 wwe ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609f0 cheap lorazepam]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=209 samsung ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a31 buy zanaflex]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=203 norco online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=178 nexium online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=157 ultram online]] [[http://wc1.worldcrossing.com/WebX/.1de609ed buy hoodia]] There are very few Operating Systems that have an adequate patching process for applications. The only two [[UBO]]s we recommend to someone who is too busy to track all of their installed applications is [[FreeBSD]] and [http://www.debian.org Debian GNU/Linux]. Apparently you can do this with [[RedhatDependencies|RedHat]] and its offspring, but I've heard about a lot of issues with "dependancy hell."
There are very few Operating Systems that have an adequate patching process for applications. The only two [[UBO]]s we recommend to someone who is too busy to track all of their installed applications is [[FreeBSD]] and [http://www.debian.org Debian GNU/Linux]. Apparently you can do this with [[RedhatDependencies|RedHat]] and its offspring, but I've heard about a lot of issues with "dependancy hell."


It should be noted that "dependancy hell" is usually because the SysAdmin has installed packages from different distributions.  For example, installing SuSE packages on a RedHat system is <i>asking</i> for trouble.  Packages built for a specific RedHat version almost always work, as do packages rebuilt from .src.rpm files. (RedHat and other RPM-based systems are quite a bit nicer once you learn to roll your own RPM .spec files)
It should be noted that "dependancy hell" is usually because the SysAdmin has installed packages from different distributions.  For example, installing SuSE packages on a RedHat system is <i>asking</i> for trouble.  Packages built for a specific RedHat version almost always work, as do packages rebuilt from .src.rpm files. (RedHat and other RPM-based systems are quite a bit nicer once you learn to roll your own RPM .spec files)
Line 17: Line 17:
   #!/bin/sh
   #!/bin/sh
   # update
   # update
   /usr/local/sbin/portsnap fetch
   /usr/local/sbin/portsnap fetch && /usr/local/sbin/portsnap update && pkg_version  -v -l < #EOF
 
 
  #!/bin/sh
  # upgrade
  portaudit -F && portaudit
  portupgrade -a
  #EOF
 
 
== [[OpenBSD]] ==
 
In OpenBSD patching the operating system can be done in a few
different ways.  1. OpenBSD offers a CVS tree that allows updating at any time to any revision including the latest changes made up to the minute.  2.  OpenBSD allows snapshot updates which are install packages and can be installed with the install floppy or CD.  3.  The OpenBSD ports can be updated with the pkg_add -u option.
 
* With CVS you'd set the CVSROOT and CVS_RSH environment variable, go to the /usr/src tree and type cvs update -PAd (and -r for any revisions other than HEAD), then 'make build' to create userland and then cd /usr/src/arch/{ARCHITECTURE}/config and configure the kernel (GENERIC), then cd ../compile/GENERIC and make dep && make and after that cp /bsd /bsd.old; cp bsd /bsd and reboot.  Userland and kernel "must" be built together as changes to structures can 'desync' programs that read out of kernel memory (various stats, vmstat, pstat, iostat, top)
 
* With snapshot updates I usually download the entire architectures that I require and burn them to CD with mkisofs and cdrecord, the el-torito bootsector is written with the "CD" image found.  When including multiple-boot platforms such as macppc I use mkhybrid instead of mkisofs.  Once the CD is completed one can always restore binaries from it at any time.  Anyhow one then boots the CD and when the OpenBSD installer boots it offers you 3 choices at the beginning:  (I)nstall, (U)pgrade and (S)hell.  I chose 'U' for upgrade and the process is straight forward and usually just a bunch of 'yes' answers for questions asked by the installer.  After that reboot into the updated/patched operating system (after removing the CD).  It's always wise to have made a 'final' backup of the previous system before (just plain common sense).
 
* Updating packages with pkg_add(1) seems to work alright for me I set my PKG_PATH environment variable to the place (ftp server) where the packages are held and cd /var/db/pkg and then type pkg_add -u *, this seemed to work almost flawless last time I did this.  It's good to also set PKG_CACHE to /usr/ports/packages/{ARCHITECTURE}/all, that way all the packages that are pulled from somewhere remote get copied there as well.  Alternativly you can also cvs update the ports tree and build the new port yourself, make it a package and then use pkg_add -u to install the new package.
 
== [[Windows]] ==
Use internet explorer to go to  [http://update.microsoft.com. Microsoft update]. Let it scan your computer and install all of the high-priority/recommended updates. If you have an issue installing a patch, say for example KB913580, take a look for the log file in C:\Windows for patchname.log. i.e.
 
C:\WINDOWS\KB913580.log
 
open the file in notepad.exe, at the bottom of the file you will hopefully find a searchable error message or error code.

Revision as of 10:49, 13 July 2007

There are very few Operating Systems that have an adequate patching process for applications. The only two UBOs we recommend to someone who is too busy to track all of their installed applications is FreeBSD and Debian GNU/Linux. Apparently you can do this with RedHat and its offspring, but I've heard about a lot of issues with "dependancy hell."

It should be noted that "dependancy hell" is usually because the SysAdmin has installed packages from different distributions. For example, installing SuSE packages on a RedHat system is asking for trouble. Packages built for a specific RedHat version almost always work, as do packages rebuilt from .src.rpm files. (RedHat and other RPM-based systems are quite a bit nicer once you learn to roll your own RPM .spec files)


Debian

Using Debian GNU/Linux or any of the ubuntu variants, it's as simple as

apt-get update
apt-get dist-upgrade

and all of your installed applications will now be up to date. You can modify where you get your updates from the /etc/apt/sources.list file.

FreeBSD

I've created two shell scripts which I've named update, and upgrade. You will need portsnap, portaudit and portupgrade installed to use these:

 #!/bin/sh
 # update
 /usr/local/sbin/portsnap fetch && /usr/local/sbin/portsnap update && pkg_version  -v -l < #EOF
 
 
 #!/bin/sh
 # upgrade
 portaudit -F && portaudit
 portupgrade -a
 #EOF


OpenBSD

In OpenBSD patching the operating system can be done in a few different ways. 1. OpenBSD offers a CVS tree that allows updating at any time to any revision including the latest changes made up to the minute. 2. OpenBSD allows snapshot updates which are install packages and can be installed with the install floppy or CD. 3. The OpenBSD ports can be updated with the pkg_add -u option.

  • With CVS you'd set the CVSROOT and CVS_RSH environment variable, go to the /usr/src tree and type cvs update -PAd (and -r for any revisions other than HEAD), then 'make build' to create userland and then cd /usr/src/arch/{ARCHITECTURE}/config and configure the kernel (GENERIC), then cd ../compile/GENERIC and make dep && make and after that cp /bsd /bsd.old; cp bsd /bsd and reboot. Userland and kernel "must" be built together as changes to structures can 'desync' programs that read out of kernel memory (various stats, vmstat, pstat, iostat, top)
  • With snapshot updates I usually download the entire architectures that I require and burn them to CD with mkisofs and cdrecord, the el-torito bootsector is written with the "CD" image found. When including multiple-boot platforms such as macppc I use mkhybrid instead of mkisofs. Once the CD is completed one can always restore binaries from it at any time. Anyhow one then boots the CD and when the OpenBSD installer boots it offers you 3 choices at the beginning: (I)nstall, (U)pgrade and (S)hell. I chose 'U' for upgrade and the process is straight forward and usually just a bunch of 'yes' answers for questions asked by the installer. After that reboot into the updated/patched operating system (after removing the CD). It's always wise to have made a 'final' backup of the previous system before (just plain common sense).
  • Updating packages with pkg_add(1) seems to work alright for me I set my PKG_PATH environment variable to the place (ftp server) where the packages are held and cd /var/db/pkg and then type pkg_add -u *, this seemed to work almost flawless last time I did this. It's good to also set PKG_CACHE to /usr/ports/packages/{ARCHITECTURE}/all, that way all the packages that are pulled from somewhere remote get copied there as well. Alternativly you can also cvs update the ports tree and build the new port yourself, make it a package and then use pkg_add -u to install the new package.

Windows

Use internet explorer to go to Microsoft update. Let it scan your computer and install all of the high-priority/recommended updates. If you have an issue installing a patch, say for example KB913580, take a look for the log file in C:\Windows for patchname.log. i.e.

C:\WINDOWS\KB913580.log

open the file in notepad.exe, at the bottom of the file you will hopefully find a searchable error message or error code.