Let $X$ be the random variable which denotes the number of times a die has been rolled till each side has appeared. The order does not matter. We are trying to find $E[X]$.
Let $X_i$ be a random variable which denotes how many times a die has to be rolled till side i has appeared.
So,
$$E[X]= E[X1+X2+X3+X4+X5+X6] = E[X1]+E[X2]+E[X3]+E[X4]+E[X5]+E[X6]$$
$$E[X1]=E[X2]=E[X3]=E[X4]=E[X5]=E[X6]=6$$
$$E[X]=36$$?
Why is this solution wrong?