This is in continuation to the question, Finite morphism of varieties - morphism of sheaves .
Suppose $f:X\rightarrow Y$ is a double cover of non-singular surfaces where $E\subset Y$ is the branch locus. Then by the answer https://math.stackexchange.com/a/2107414/52991, $f_*O_X=O_Y\oplus L$ where $L$ is a line bundle such that $L^{\otimes 2}=O_Y(-E)$.
Does the above mean that the line bundle $O_Y(−E)$ admits a square root? If we start with a line bundle $L′$ the Picard group which does not admit a root , can we not construct a double cover branched along some $E'$ where $O_Y(E')=L′$? For example consider $O(1)$ on $\mathbb{P}^2$, there is no line bundle $L$ on $\mathbb{P}^2$ such that $L^{\otimes 2}=O(1)$. Then can we not have a double cover of the projective plane branched along a hyperplane? Lazarsfeld's book on Positivity mentions "Bloch Gieseker's theorem" and "Kawamata theorem" which seem to say that this is possible?
Also since $E\subset Y$ is the branch locus, $f^*E$ is a non-reduced divisor of the form $2D\subset X$. Then $D=(2D)_{red}$ is isomorphic to E. Then it looks like $π^∗L^{−1}$ is $O_Y(D)$? Is this true?
I am trying to understand what this really means. I looked up the section on cyclic covers from Lazarsfeld's book and Robert Freidman's book on Algebraic surfaces. But I am still not very clear.