Expression for 'beating or stopping a hole in ground and another one appears?

I have seen this in many cartoons, where the farmer tries to shut one hole in garden so his veggies are not stolen but another one appears and so on and so forth. One of the most obvious example of these are bugs bunny animation movies, where bugs after eating all the veggies asks the farmer 'What's up doc. ?


Solution 1:

whack-a-mole macmillan

fig. a situation in which repeated efforts to resolve a problem are frustrated by the problem reappearing in a different form

As in:

“If you are on the back end, you are kind of playing whack-a-mole trying to pick this up,” one bank source told me. Submitted from United Kingdom on 03/01/2018