Lets say there are n homogeneous equations of order n.
$$a_{11}x_1 + a_{12}x_2 +\ldots +a_{1n}x_n=0$$
$$a_{21}x_1 + a_{22}x_2 +\ldots +a_{2n}x_n=0$$
$$\vdots $$
$$a_{n1}x_1 + a_{n2}x_2 +\ldots +a_{nn}x_n=0$$
and lets say that $2$ of these equations are linearly dependent(eq(i) and eq(j))
then when we try to get if the system has non-trivial solution or not we find the determinant of the coefficients. And if the determinant is zero we say that it has infinite non-trivial solution.
But in this case the determinant will be zero because $2$ rows are same [row $i$ and row $j$ will be same after some row operation]. But the system will not have any other solution apart from the trivial solution. Then how can we say that the determinant being zero says that system has infinite solutions?