I've built a Debian package from source with dpkg-buildpackage according to helpful instructions found here to fix an issue that bugged me. I used dch -n to increase the version by a non-maintainer sub version to have my custom package "beat" the standard one. Then I installed the produced .deb packages from my file system using apt-get install. Everything worked fine!
But is there also a way to restore the original package from the official Debian repository after having tested my changes?
I don't really want to apt-get remove/purge ... as this is about a library and half the system depends on that.
Can I "downgrade" the package to the official one without removing every package that depends on it?