We know that a dice have six possible outcomes, which are 1,2,3,4,5,6.
The event not rolling two means that the number of events is 5, because there are five numbers different than two. So, the probability is

Therefore, the probability of not rolling a two is 5/6.