Perhaps there's a way you could make it a 2-way conversation and help this senior dev give you more relevant advice. They've seen a lot of different things during their career I'm sure, so there is going to be plenty of generic advice not related to any specific tech stack that they can offer.
I've felt this way in the past when working places, but now what I'm self employed and working on my own I realize what a treasure it can be to have access to a senior dev like this. Try to make the most of the chances you have to talk to them, not everybody has somebody they can get advice from, or ask when they get stuck! Find a way to use it to your advantage!
(On the flip side, telling your boss you don't want advice could hurt or entirely kill your chances for advancement. Managers care about ambition and your desire to learn and improve a lot more than your present capabilities. If what you can do today is all you desire to do, there's not much growth opportunity for you. Even if you never ever want to hear advice, you can't ever let your manager know this. You must always be showing your manager that you are wanting to grow, learn, and improve)