It isn't a nice job to have to do and can be smelly also.
My Jack had a bad case of this (RIP Jack) and I had to help him everyday. It was messy and smelly and I used to use a cotton bud (not for poking in but just for tidying up, if you know what I mean) as his poos were not firm and I couldn't squeeze it out. All I used to think as I was doing it, was just how uncomfortable it would have been for him if I hadn't have done it!
My Shaun is now showing signs of this. I don't think he helps himself as he just lies around alot of the day. He is neutered, big and lazy!
However, at this stage I can just squeeze his pellets out. But it is not pleasant when the "sac" gets smelly.
Unfortunately, it can be an old boars problem ... apparently something to do with the muscles of the back passage that get slack!