Corruption is a tool of power, it is a way for the people to keep in power. Remember, in any structure of power you have to do literally EVERYTHING that you can to stay in power, otherwise someone else is going to use those means to fuck you over. When you realize this, everything else just becomes null and void. Ideologies are no more than smoke and mirrors for people in power to keep using useful idiots for their power plays. To a certain extent, Libertarianism is the same, but the idea of limiting power that the government can exert over you and decentralizing power to such an extent where structures of power become mostly meaningless over our lifes is the closest we will get to somehow trying to solve that problem. Definitely not perfect, but good enough to create a pretty good world for some time.
Whether putting a libertarian system in place is actually viable power-wise, i.e whether someone can actually get into power and minimize the power that government has over society decentralizing it... is a completely different beast entirely.