1.6.7 problems with Mint 15.

Problems with 1.6.7 on Linux Mint 15, I hope this is an OK place to post this.

Everything goes fine then it goes bonkers. I can compile but it cannot upload the code. These are known good sketches. The problem has occurred on 4 different uno's and one mega2650 with different sketches. The errors i typically get are as follows:

Sketch uses 24,642 bytes (9%) of program storage space. Maximum is 253,952 bytes.
Global variables use 5,051 bytes (61%) of dynamic memory, leaving 3,141 bytes for local variables. Maximum is 8,192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

In most cases the serial monitor is still operating. The messages from the above sketch are confusing to me. The sketch is working without any problems including the serial monitor. The first time I compiled it all went well and worked. The second time through 38th I get the above errors. I have power cycled several times, changed usb ports etc. The board selected etc is correct. In earlier versions this was never a problem, the serial was rock solid.

Also if I have a backup copy "sketchnam(160321).ino it will automatically insert it into the sketchmane.ino file when compiling and I get tons of duplicate errors.

There are other problems with 1.6.7 on min715 but these are the ones currently bothering me.

Thanks

Thread split. @gilshultz, please do not hijack.

gilshultz:
Also if I have a backup copy "sketchnam(160321).ino it will automatically insert it into the sketchmane.ino file when compiling and I get tons of duplicate errors.

Well you didn't explain your problem very clearly but if you have multiple source files in a sketch folder then of course they will all be combined into the same project, that's how the tabs work. You could fix the problem by saving it to a subfolder of your sketch folder though:

sketchmane
|_sketchmane.ino
|_sketchnam(160321)
|_sketchnam(160321).ino

Of course sketchnam(160321).ino is an invalid sketch name so better to use something more sensible.

An even better aproach is to start using version tracking like git. It takes a bit to figure it out but once you do you'll be very glad.