There are $k$ packages, each with $m$ items. One of the $k \cdot m$ items is a defect. To find the defect, $n$ items are randomly selected from each package. I wish to determine the probabilities that (a) the defect is in the first package ($B_1$), given that it is not found in the first package ($F_1^c$), and (b) the defect is in the second package ($B_2$), given that it is not found in the first package ($F_1^c$).
To do so, I have determined the following:
(a) Intuitively, $P(B_1) = 1/k$ (because each box has an equal probability of containing the defect), $P(F_1|B_1) = n/m$ (because we're sampling $n$ out of $m$ items) and $P(F_1) = n/(mk)$ (from the law of total probability). Thus, Bayes' Rule leads to \begin{align} P(B_1|F_1^c) = \frac{P(F_1^c|B_1)P(B_1)}{P(F_1^c)} = \frac{(1-n/m)(1/k)}{1-n/mk}. \end{align} (b) Intuitively, $P(B_2) = 1/k$ and $P(F_1^c|B_2) = 1$, because, if the object is located in package 2, then it will not be found in package 1. Again, Bayes' Rule leads to, \begin{align} P(B_2|F_1^c) = \frac{P(F_2^c|B_1)P(B_2)}{P(F_1^c)} = \frac{1/k}{1-n/mk}, \end{align} both of which final expressions can be simplified a little. Is this reasoning to determine the conditional probabilities correct?