Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. $ apt-get install nginx
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. nginx is already the newest version.a
  6. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  7.  
  8. $ apt-cache policy nginx
  9. nginx:
  10. Installed: 1.2.1-2.2+wheezy3
  11. Candidate: 1.2.1-2.2+wheezy3
  12. Version table:
  13. 1.6.2-2 0
  14. 300 http://ftp.nl.debian.org/debian/ sid/main amd64 Packages
  15. 1.6.2-1 0
  16. 300 http://ftp.nl.debian.org/debian/ sid/main amd64 Packages
  17. 400 http://ftp.nl.debian.org/debian/ testing/main amd64 Packages
  18. 1.6.2-1~wheezy 0 ## <<-- WANT THIS ONE
  19. 800 http://nginx.org/packages/debian/ wheezy/nginx amd64 Packages
  20. *** 1.2.1-2.2+wheezy3 0
  21. 900 http://security.debian.org/ wheezy/updates/main amd64 Packages
  22. 100 /var/lib/dpkg/status
  23. 1.2.1-2.2+wheezy2 0
  24. 900 http://ftp.nl.debian.org/debian/ wheezy/main amd64 Packages
  25.  
  26. deb http://nginx.org/packages/debian/ wheezy nginx
  27. deb-src http://nginx.org/packages/debian/ wheezy nginx
  28.  
  29. # Install stable unless installed version is more recent.
  30. Package: *
  31. Pin: release o=Debian,a=stable
  32. Pin-Priority: 900
  33.  
  34. # Allow to install testing, unless there is a stable release.
  35. Package: *
  36. Pin: release o=Debian,a=testing
  37. Pin-Priority: 400
  38.  
  39. # Allow to install unstable, unless there is a stable release
  40. Package: *
  41. Pin: release o=Debian,a=unstable
  42. Pin-Priority: 300
  43.  
  44. # Never install other packages from Debian
  45. Package: *
  46. Pin: release o=Debian
  47. Pin-Priority: -1
  48.  
  49. # Install Nginx unless installed version is more recent.
  50. Package: *
  51. Pin: release o=nginx
  52. Pin-Priority: 800
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement