Eso apesta! yes, it's OK... however is just a adoption from english a tranliteration. In spanish, well, it depends on the situation but most commonly you will say
i know that sucks! = si, odio cuando pasa eso! (kind of i hate when that happen)
man, that sucks! = hombre, eso es terrible or hombre, que gacho!
OK, i hope it helps!