If they plan to hire internal for a position, they often already have that person picked out and have been doing some work for a while and just post the position to comply with legalities. So if you never tell your supervisors you're interested in a spot until one suddenly opens, the odds become slim.