Probability of a number to appear once after every number appear once in rolling die

To have failed means that: At least two $1$'s have occurred before the first $2$ or At least two $1$'s have occurred before the first $3$ or At least two $1$'s have occurred before the first $4$ etc...

We continue with inclusion-exclusion over these events.

So, what is the probability that at least two $1$'s have occurred before the first $2$? Well, we can conveniently forget about all other possibilities of the dice and all rolls which resulted in a result other than these. At least two $1$'s before the first $2$ when considering only $1$'s and $2$'s as possibilities occurs when the first two results which were $1$'s or $2$'s were both $1$'s and occurs with probability $\frac{1}{4}$. Similarly so had it been at least two $1$'s before the first $3$ and so on...

What is the probability that at least two $1$'s have occurred before the first $2$ and before the first $3$? Well, again, the first two rolls will both need to be $1$'s (again, remembering that we are considering the only possible rolls as being $1$'s, $2$'s, and $3$'s at the moment) and occurs with probability $\frac{1}{9}$. Similarly for other combinations of two numbers.

The pattern continues, the probability of at least two $1$'s occurring before any of a group of $k$ other results occurs with probability $\frac{1}{(k+1)^2}$ as again the first two rolls must both be $1$'s.

Remembering how many choices there are for each collection of other results of various sizes, we are now ready to put all of this together to the probability of failure as being:

$$5\times \frac{1}{4} - \binom{5}{2}\frac{1}{9}+\binom{5}{3}\frac{1}{16}-\binom{5}{4}\frac{1}{25}+\frac{1}{36} = \frac{71}{120}$$

Giving a final answer to your original question of:

$$\frac{49}{120} = 0.408\overline{3}$$