There were boars/sows a' plenty in Hohenfels, Germany and they've ruined my day more than once. On one occasion, I had to climb a tree to get away from them as they ripped our patrol's rucks apart. The boobytraps we were carrying came wrapped in a plasticy foil wrapper. I guess they must of thought they were pop tarts or something because we found a few of them not too far away from out patrol base where they opened it and decided it wasn't worth eating.
This was a training mission so all we had were blanks. Fired a few off without success. Finally threw a smoke grenade which has a pop then hiss noise. That worked. Maybe carry some black cat fire cracker and then hiss really loud as a solution?
One of the largest inconveniences is that when they open up the MRE peanut butter packet, it gets all over their snout and then you end up with peanut butter on all of your gear as they root through it.
My roommate, Gilbert, had a piglet trip over him when he was sleeping in a old-school canvas Army sleeping bag. Momma wasn't too pleased that her child was grievously assaulted by this large green earthworm. Gilbert started to wake up when the piglet tripped over him but really woke up when he was getting lifted off of the ground when she put her snout under him and let him have it. He just rode it out, screaming the whole time, but survived the ordeal uninjured. I suspect there was some bowel evacuation though.
We had one attack a M113 armored personnel carrier.
This will probably start a flame war, and I really don't care or pander to those who come emotionally unhinged over stupid $#!+, so here it goes. I don't worry about carrying a pistol in black bear country (bear spray sometimes). I might carry a pistol in mountain lion country when I'm backpacking with small children. I absolutely will carry a pistol in wild boar/sow country. I've had enough experience with them to know how unpredictable and dangerous they can be. If that tusk rips your femoral open miles away from a trailhead, well your chances aren't good, even with a CAT tourniquet.