The rights and wrongs of installing

Between September 2005 and July 2011 I was a regular contributor to MacFormat in the UK.

Whereas I’m posting the published articles for my MacWarehouse writing with the MacFormat ones I’ve decided to post the text as submitted, including any comments that I included for design. I am, however, allowing myself a few small edits for clarity, in this case that involves removing one dead link and updating another.

The particular one is my fourth column, written in December 2005, and is an expansion of a section from my first submission which was cut for length. This is presented purely as a historical record as much, if not all, of the information contained in it may well have changed in the meantime.


The rights and wrongs of installing

In my first column I mentioned that you should learn the safe way of installing and should always make sure that you can back out of an installation, but how exactly do you do that?

There are seven stages to a successful update, or indeed for installing a new product.

1 – Take an image of your system as it is now

Apple’s Disk Utility enables you to make an exact copy of your hard drive as either a bootable copy on another hard drive or as an image file that can be saved on any volume such as a drive or a server.

Taking an image of your system before you start to work on it means that you can always go back to a known working state if things go wrong with the update. Restoring an image is far faster than wiping the hard drive and installing everything from scratch or trying to undo whatever the update just did.

2 – Repair privileges

Disk Utility can also check that things on your drive are as they should be, making sure that file privileges for certain items are correct. It is important to make sure that things are as they should be before you start to make changes.

3 – Clean caches and run maintenance routines

Delete the folders

~/Library/Caches and /Library/Caches

Run the periodic routines which usually run every night. These give your system a minor “tune-up” before you start the installation. To force them to run when you want them to open Terminal and issue the following commands:

sudo periodic daily

sudo periodic weekly

sudo periodic monthly

Repairing privileges, clearing caches and running maintenance routines will fix any minor problems that you may not have been aware or and will ensure that the caches will be created afresh taking the update into account rather than risk using any old data.

4 – Disconnect all FireWire devices

This is particularly important when installing OS updates and has been known to cause problems if not done.

5 – Install the update or program

6 – Repair privileges again

7 – Leave things where the installer put them

Some programs, particularly Apple ones, will not update properly if they are not in the same place that they were installed, or you may have problems with the application not being able to find required support files. e.g. if you put iTunes into a sub-folder of your Applications folder called Music then there have been reports that Apple installer will not be able to update it. If you want to have your applications in another folder then create an alias of the application and then put that into the folder concerned.

Isn’t there an easier way?

Yes there is, you can do all of the above without having to go into the command line or remember  which cache folders to delete.

Carbon Copy Cloner is a great way of making images of your system and is a lot friendlier than using Disk Utility.

http://www.bombich.com/software/ccc.html

Two utilities, Xupport and Cocktail, enable you to clean out your caches, run maintenance routines, optimise your system and repair privileges without you having to go anywhere near the command line.

Xupport now appears to be dead

http://www.maintain.se/cocktail/

Printing Problems

Between September 2005 and July 2011 I was a regular contributor to MacFormat in the UK.

Whereas I’m posting the published articles for my MacWarehouse writing with the MacFormat ones I’ve decided to post the text as submitted, including any comments that I included for design. I am, however, allowing myself a few small edits for clarity.

The particular one is my third column, written in November 2005. This is presented purely as a historical record as much, if not all, of the information contained in it may well have changed in the meantime.


Printing problems in Mac OS X 10.4

Yesterday your printer was working and today it is not. How do you approach troubleshooting printing problems in Mac OS X 10.4? As with all troubleshooting taking a methodical approach should allow you to narrow down what the cause of the problem is. After each step try seeing if you are able to print.

1 – Check the queue

Open Printer Setup Utility, double-click the printer and ensure that the print queue has not been stopped. If there is an icon that says “Start Jobs” click it to restart the queue.

2 – Did you change anything?

Have you installed anything or made any changes to your Mac since you were last able to print? If you are able to do so undo those changes. If not, for example if you have updated your OS, see if the printer manufacturer has released a more up-to-date driver than the one you are using and try installing that.

3 – Check the application and document

Check to see if the problem occurs with just one application or document

4 – Check the printer

Is the Ready or On-Line light lit? Are any of the other lights lit as well or instead? If so check your printer’s manual to see what the lights mean. If you have a laser printer and you needed to clear a paper jam you will generally have to open and close the toner compartment before the Paper Jam light will go out.

Now try printing a printer test page. By doing this you are checking if the printer is capable of printing. Disconnect the printer from your computer or the network, and then switch it off for a few moments before switching it back on. This will allow the printer’s memory, if it has any, to clear and will put the printer into a known state. Once again check your manual to see how to print a test page.

5 – Check the cables

If you have one try using a different cable to connect the printer to your Mac. If your printer is on a network try connecting it to a known good network point.

6 – Check the ports

Can you use the port on the computer for anything else; can you print to any other printers on the network or connect to a server? If the printer was connected via USB can you use any other USB devices on that port? Also, for USB printers, check to see if the printer is recognized in Apple System Profiler.

7 – Delete and add the printer again

Open Printer Setup Utility select your printer and delete it. Once you have done that click the Add icon and set the printer up again.

8 – Delete and add all printers

Do the same but this time for all of your printers.

9 – Check permissions

Open Disk Utility, select your startup disk on in the left-hand pane and click on the Repair Disk Permissions button.

10 – Reset the printing system

Resetting the printing system will reset all printer settings to their defaults and delete all configuration files. Once you have done this you will have to re-add all printers and faxes that you have set-up. Open Printer Setup Utility and from the Printer Setup Utility select Reset Printing System. If you can’t even open Printer Setup Utility try holding down the Option (or Alt) key whilst trying to open it.