I have Debian stable disribution installed on my computer. Once I installed some packages from testing but now it causes some troubles so I would like to downgrade them. I've tried next commands:
apt-get --reinstall install `apt-show-versions | grep newer | cut -d ' ' -f 1 | tr '\n' ' '`
this doesn't work because apt tries to retrieve the same versions of packages and complains that it can't download them because I now have no sources for testing packages in
apt-get -t squeeze install `apt-show-versions | grep newer | cut -d ' ' -f 1 | tr '\n' ' '`
doesn't work either. Writes that the newest versions of packages have already installed.
-t sqeeze forces apt to install packages from stable.
Anyway how can I solve this task?