deb http://http.debian.net/debian testing main
Then I created another file called debian-repositories.pref under /etc/apt/preferences.d and placed in it:
Pin: release o=Debian,a=testing
Pin: origin http.debian.net
The way I hoped this would work was only packages not available from the LMDE repositories would be installed from the debian repositories regardless of package versions. The way it is actually working is if the package version in the debian repository is higher than the package version in the LMDE repositories then the debian testing version is installed. This is backed up by the information provied on the debian wiki:
I do realize that I can just enable the debian testing repository while I install a package and then disable it, but I'm looking for a more elegant solution.
So my question is: Is there any way to only install a package from the debian testing repository if there does not exist any version of this package in the LMDE repositories? Thanks.