it might have been as simple as just getting dpkg to back out whatever weird state APT got itself into