How to install the previous version of a .deb package and pin it?

This is the eventual solution to the problem. The important thing is that the URL for the repository in the sources.list should be the full one containing the repo for the required package, in this case There is a good write up at and also explained in a related question – What is the proper syntax for pinning a debian package to a repository and a version?


# added for subversion 1.9.2 subversion bug #803725
deb unstable main


Package: subversion libsvn1
Pin: version 1.9.2-1
Pin-Priority: 700

apt-cache policy subversion

  Installed: 1.9.2-1
  Candidate: 1.9.2-1
  Package pin: 1.9.2-1
  Version table:
     1.9.2-3+b1 700
        500 unstable/main amd64 Packages
 *** 1.9.2-1 700
        500 unstable/main amd64 Packages
        100 /var/lib/dpkg/status

You may Also Like:

None found

Leave a Comment