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://wc1.worldcrossing.com/WebX/.1de609f8 nokia ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=350 alprazolam online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=139 viagra online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2874 ultracet online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=91 cheap hoodia]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=175 cheap cyclobenzaprine]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=201 free free ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=153 phentermine online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2848 cheap soma]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30337 real ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=94 jazz ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a0a vicodin]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2896 zyban online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=178 free ericsson ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a01 free sagem ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1346 cheap diazepam]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=222 free sharp ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a1d free cingular ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 adipex]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=138 verizon ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609fe qwest ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609e4 clonazepam online]] [[http://wc1.worldcrossing.com/WebX/.1de60a31 buy zanaflex]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=106 free mtv ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a1a mtv ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a15 kyocera ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=218 sony ericsson ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=132 tenuate online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2904 real ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=137 valium online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=168 paxil online]] [[http://library.cshl.edu/wp/vb/member.php?u=1367 cheap didrex]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30295 cheap sildenafil]] [[http://wc1.worldcrossing.com/WebX/.1de609f7 free nextel ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609f3 midi ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1348 ativan online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=337 xanax online]] [[http://wc1.worldcrossing.com/WebX/.1de609e6 cyclobenzaprine online]] [[http://library.cshl.edu/wp/vb/member.php?u=1360 lorazepam online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=162 free alltel ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=176 cheap didrex]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=204 mp3 ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2911 free cingular ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a07 tracfone ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30241 xanax online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=356 free tracfone ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=111 cheap norco]] [[http://wc1.worldcrossing.com/WebX/.1de60a13 fioricet online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=191 lorazepam online]] [[http://library.cshl.edu/wp/vb/member.php?u=1369 free free ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2858 cheap viagra]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=224 wwe ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2852 buy xanax]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30307 zoloft online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30331 free ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a27 cheap sildenafil]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=145 cheap xenical]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30339 free samsung ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30294 prozac online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=176 buy ultracet]] [[http://library.cshl.edu/wp/vb/member.php?u=1352 buy norco]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=189 lipitor]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=362 free motorola ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=224 sagem ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=101 buy meridia]] [[http://wc1.worldcrossing.com/WebX/.1de609ee but hydrocodone]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30244 diazepam online]] [[http://wc1.worldcrossing.com/WebX/.1de609e0 cheap ativan]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2861 norco online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2877 cheap prozac]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=216 free sonyericsson ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=360 qwest ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=190 cheap lisinopril]] [[http://wc1.worldcrossing.com/WebX/.1de60a10 didrex online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=228 cheap ultram]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=76 online cialis]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30259 alprazolam online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=359 nextel ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609e5 cool ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2888 cheap lortab]] [[http://library.cshl.edu/wp/vb/member.php?u=1373 nextel ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=216 zyban online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=206 cheap pharmacy online]] [[http://library.cshl.edu/wp/vb/member.php?u=1344 cheap xanax]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=344 ativan online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30345 sprint ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30248 ativan online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=131 free sprint ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2871 cheap wellbutrin]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=146 zanaflex online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=154 buy carisoprodol]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30280 cheap propecia]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=118 prozac online]] [[http://library.cshl.edu/wp/vb/member.php?u=1341 valium online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=144 xanax online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2905 free motorola ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=112 but ortho]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=223 cheap wellbutrin]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=169 cheap levitra]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=156 fioricet]] [[http://library.cshl.edu/wp/vb/member.php?u=1377 free samsung ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30312 ortho online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30356 cool ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609f0 cheap lorazepam]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=187 celexa online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 tramadol online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=211 free polyphonic ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=214 zanaflex online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=110 nokia ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=189 cheap ortho]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=237 samsung ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=151 soma online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=99 lorazepam online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2912 free sagem ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2907 free sprint ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a17 buy lipitor]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30334 free mp3 ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=234 sprint ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=141 buy vigrx]] [[http://wc1.worldcrossing.com/WebX/.1de60a23 free polyphonic ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a1f lisinopril online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=197 mp3 ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1349 order viagra]] [[http://library.cshl.edu/wp/vb/member.php?u=1382 free cingular ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30310 cheap tenuate]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2922 free kyocera ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=206 free qwest ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609f9 norco online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=351 buy clonazepam]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2878 cheap sildenafil]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2902 free nextel ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=357 free funny ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1347 but cialis]] [[http://library.cshl.edu/wp/vb/member.php?u=1365 ultracet online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=210 free sprint ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=158 cheap diazepam]] [[http://wc1.worldcrossing.com/WebX/.1de609ea free ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a25 samsung ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=88 free free ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1358 cheap hydrocodone]] [[http://library.cshl.edu/wp/vb/member.php?u=1339 order tramadol]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2868 cheap ambien]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=228 mtv ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=104 free motorola ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=89 free funny ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=211 free music ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=80 cool ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1388 fioricet online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=361 real ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=172 online lorazepam]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=333 cheap soma]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=182 cheap clomid]] [[http://library.cshl.edu/wp/vb/member.php?u=1355 but clonazepam]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=205 paxil online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=184 cheap lisinopril]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=124 free samsung ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a04 free sonyericsson ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=115 phentermine online]] [[http://library.cshl.edu/wp/vb/member.php?u=1387 alltel ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a05 sprint ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=167 clonazepam online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30283 buy didrex]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=157 ultram online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=230 verizon ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30309 celexa online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=348 but norco]] [[http://wc1.worldcrossing.com/WebX/.1de60a11 diethylpropion online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=188 cheap tenuate]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=212 verizon ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30308 cheap lipitor]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=82 diazepam online]] [[http://library.cshl.edu/wp/vb/member.php?u=1380 free verizon ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=163 adipex online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2859 cheap meridia]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=209 free samsung ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=170 free cingular ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=78 online clomid]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30298 order lisinopril]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=74 cheap carisoprodol]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=352 paxil online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=227 free ericsson ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1386 mono ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=69 albuterol online]] [[http://wc1.worldcrossing.com/WebX/.1de60a12 ericsson ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=171 ambien online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=188 cheap levitra]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=83 didrex online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30358 free midi ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2879 cheap clomid]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=186 cheap lipitor]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=215 free sagem ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=346 meridia online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2923 sony ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30237 cheap valium]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=171 clomid online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=184 online hoodia]] [[http://wc1.worldcrossing.com/WebX/.1de60a1b music ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30264 hydrocodone]] [[http://wc1.worldcrossing.com/WebX/.1de609db cheap adipex]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30321 cheap hgh]] 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.

Latest revision as of 05:55, 16 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.