And there's no way that an iMac would spend that much time in the shop. If a computer has that many problems, Apple's policy is generally to replace it (less cost and hassle for Apple and the consumer).
Well, apparently you don't know the iMac G5 rev. A and rev. B systems. They were notorious for their many problems. Specifically a bad batch of power supplies that took the rest of the machine down with them. Then, video issues, and capacitors, and so on.
I had hoped that it was all resolved with the revision B. But, unfortunately, my revision B was worse (though it didn't have the dud power supply).
The rev. A, had a keyboard who's plastic cracked on it. Apple replaced that since it was obviously a stress crack from molding. So, that was a minor issue.
But, then the power supply died and smoked-up the computer. So, then they ordered a replacement power supply. But, the power supply had damaged the logic board.
So, it needed a new logic board.
Then, the LCD screen failed. So, they got me a new screen.
Sure, that doesn't sound like a lot of problems. But, when you factor in that it took them about 3 or 4 months to repair it all. That adds-up to a lot of down-time.
Basically, they had so many of them failing at the time, that there was about a 2-month wait for the power supply. Finally get that in, and then I had to wait in line for them to find a replacement logic board which was in even higher demand.
Finally get it back, and then the LCD screen died. So, back to waiting again. Finally got a new LCD screen, and then decided it was no-longer worth the hassle.
I just brought it home and put it up for sale before something else could die.
About a year later, I got the rev. B. I figured they were likely to have had their issues resolved.
It arrived with 3 defects. A pretty big chip in the bezel, a mouse with a stuck button / clicking mechanism, and the Ethernet port didn't work.
I called Apple immediately after taking it out of the box. But, they told me that all their computers were down (as in not working). So, she said she couldn't do anything and sent me to my local service center (which they couldn't even look-up).
So, within an hour of opening my new computer, I'm in the service center. He says I need a new logic board after diagnosing the machine. So, I wait for that.
I discussed the chip in the computer's case with him, and he says that Apple won't cover it since it's only cosmetic. I explain to him that it was like that coming out of the box, and show him the slips that show I just received it. He says they won't cover it. So, I left my machine there to await the new logic board.
He says they can only open one case number at a time, so my mouse will have to wait.
I get the machine back. It works fine.
I talk with Apple and him about the chip in the case, and they agree to replace it since it was like that out of the box.
Wait for that. It arrives, and they install it.
Then, they can finally process the claim for the mouse. So, I have to use another one while I'm still waiting for that to be resolved. The new mouse finally arrives.
So, now I'm finally done dealing with the defects that the machine arrived with. That took about a month.
Then, the LCD screen dies. So, wait for that. He tells me they can't do anything about it now because they are backed-up with a recent rush of machines that have come in. So, he advises me to just call back in a couple of weeks and see if they can get to it (only shop in town).
So, get that resolved.
Then, the backlight starts flickering. Again, wait until they have time to get around to it.
Finally, get everything fixed. Decide not to push my luck any further, and sell it before it can die again.
I went back to using my reliable Mac Mini G4 (which I'm still using).
Sorry to have to tell you the truth. But, Macs do have trouble. Not all of them. But, some do. And, after being bit by two right in a row that I couldn't use because I was always waiting for service or parts, it just left a very bad taste.
Combine that with the fact that I have absolutely never had to take any other computer from any other manufacturer to the shop in the 20+ years I've been using computers, and it really doesn't make them look good.
As for them replacing duds, that's something you have to get them to agree to. They wouldn't for me. I mentioned it, but they wanted to just keep pushing through with repairs.