trouble uploading on ubuntu 12.04

Gotta ask. Who is whoopsie, and why is that device locked? My IDE does not lock the arduino and leave it like that.

$ ls /var/lock
LCK..ttyACM0 multiload-icons-PwgnzL whoopsie

Did you go back and check that the device is not locked again?