APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS














(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



IPU's vs. Fresh Installs




In-Place OS Upgrades can ruin your day. I'm not talking about complete failures that trash your system: obviously you made backups and can start over in that case.

No, what I'm talking about is upgrades that appear to be succesful, but have introduced subtle (or not so subtle) problems that can be devilishly hard to resolve.

IPU's of course attempt to preserve previous configuration information. That's the whole point. But sometimes you don't WANT the previous setup. Driver information may be incorrect, configuration file settings may not apply and so on. Some of that will be caught by the IPU, but no amount of engineering foresight will ever catch everything.

Actually, if an IPU produced a list of files it preserved from the old system, I could work from that direction. I'd want a diff listing of all system directories so I could see files that would NOT have been there with a fresh install, and a diff for any system file that would have been put down new but was preserved or merged. If I had that, IPU's would be neat.

Maybe what I want IS there: see /Bofcusm/2287.html

But they don't give me that, so my approach is always to install new, and then to restore everything from the old system to a separate directory where files can be examined. It's not hard to write scripts to find what is different, and you can then quickly put in place the old settings that you really do want.

This is actually often quicker than doing an IPU. The fresh install is very much quicker, and it takes very little time to identify changes needed.

You'll want to look for:

  • Directories that don't exist in the new hierarchy. Usually you can just move these over. The only time you need to be careful is when they are in system directories. Those need to be examined. In other instances, this finds things you don't need or want any more. Good time to get rid of them.
  • After looking at directories, and moving what is appropriate, you need to look for files that aren't in the new hierarchy. These can be a source of trouble, so look at these carefully before moving them over.
  • Files that do exist in the new system but have different contents. Sometimes you can just copy these over, but do a diff first: there may be new configuration information in the new files that shouldn't be overwritten, or in some cases you don't want to do anything.

Document and archive anything you do not entirely understand. If you are merging or copying files from the old system, save a diff of what you are doing against the virgin file put down by the fresh install if you have any doubts about why you are making the changes. This lets you go back to the (hopefully) stable fresh install configuration if it becomes necessary or if you suspect a problem.

References:


Upgrades
IPU vs. Fresh Install
IPU vs. Fresh Install
IPU vs. Fresh Install Opinion Poll




Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


ad


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!



 I sell and support
 Kerio Mail server




pavatar.jpg
More:
       - Administration
       - Linux
       - Unix
       - OSR5


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress