The solution is to severely limit the power of the federal government... but at least in the United States, every serious political party is working over time to do the opposite.
Getting rid of qualified immunity for most law enforcement agents would be a good start.