You can get rid of the pantry moths. All it takes is a little persistence.
1. Check all boxes in your pantry and cupboards for signs of infestation. Pantry moths love starch and sugars. Check anything starchy...flour, pancake mix, pudding mix, etc. Throw away any and all items that look even remotely suspect.
2. Store any starchy items you decide to keep in the freezer. Pantry moths can get through Ziploc bags, so using these will not work.
3. Remove everything from the shelves and wipe all shelves with either Windex or undiluted White Vinegar.
4. Buy some pheromone moth traps, such as these:
http://www.google.com/products?hl=en&q=pantry+moth+traps+pheromone&lnk=pruser&price1=&price2=9
You can buy these at most hardware stores.
Use the traps as directed on the package.
5. Vacuum up any moths you see.
We had pantry moths once and got rid of them for good using these methods. We dented the population very quickly, but it took a year to completely eliminate the moths.
It takes patience, but you can completely eliminate the moths.
-