i point you to the history of the various IRS software upgrades, the various attempts to update the patent office software, etc.
that's not even considering the usual govt turf/budget battles, lack of enough GS folks, lobbyists muddying most efforts to clean things up.