thufir

Untitled

Feb 16th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. thufir@mordor:~$
  2. thufir@mordor:~$ Acquire::http::Proxy "http://hostname:3142/";' > /etc/apt/apt.conf.d/01proxy
  3. >
  4. >
  5. > ^C
  6. thufir@mordor:~$
  7. thufir@mordor:~$
  8. thufir@mordor:~$ nl /etc/apt/apt.conf.d/
  9. 00aptitude 01autoremove-kernels 15update-stamp 20dbus 99update-notifier
  10. 00trustcdrom 01-vendor-ubuntu 20archive 50unattended-upgrades
  11. 01autoremove 10periodic 20changelog 70debconf
  12. thufir@mordor:~$ nl /etc/apt/apt.conf.d/
  13. 00aptitude 01autoremove-kernels 15update-stamp 20dbus 99update-notifier
  14. 00trustcdrom 01-vendor-ubuntu 20archive 50unattended-upgrades
  15. 01autoremove 10periodic 20changelog 70debconf
  16. thufir@mordor:~$ nl /etc/apt/apt.conf.d/01
  17. 01autoremove 01autoremove-kernels 01-vendor-ubuntu
  18. thufir@mordor:~$ nl /etc/apt/apt.conf.d/01autoremove
  19. 1 APT
  20. 2 {
  21. 3 NeverAutoRemove
  22. 4 {
  23. 5 "^firmware-linux.*";
  24. 6 "^linux-firmware$";
  25. 7 };
  26.  
  27. 8 VersionedKernelPackages
  28. 9 {
  29. 10 # linux kernels
  30. 11 "linux-image";
  31. 12 "linux-headers";
  32. 13 "linux-image-extra";
  33. 14 "linux-signed-image";
  34. 15 # kfreebsd kernels
  35. 16 "kfreebsd-image";
  36. 17 "kfreebsd-headers";
  37. 18 # hurd kernels
  38. 19 "gnumach-image";
  39. 20 # (out-of-tree) modules
  40. 21 ".*-modules";
  41. 22 ".*-kernel";
  42. 23 "linux-backports-modules-.*";
  43. 24 # tools
  44. 25 "linux-tools";
  45. 26 };
  46.  
  47. 27 Never-MarkAuto-Sections
  48. 28 {
  49. 29 "metapackages";
  50. 30 "restricted/metapackages";
  51. 31 "universe/metapackages";
  52. 32 "multiverse/metapackages";
  53. 33 "oldlibs";
  54. 34 "restricted/oldlibs";
  55. 35 "universe/oldlibs";
  56. 36 "multiverse/oldlibs";
  57. 37 };
  58. 38 };
  59. thufir@mordor:~$
  60. thufir@mordor:~$
  61. thufir@mordor:~$ ls /etc/apt/apt.conf.d/
  62. 00aptitude 01autoremove 01-vendor-ubuntu 15update-stamp 20changelog 50unattended-upgrades 99update-notifier
  63. 00trustcdrom 01autoremove-kernels 10periodic 20archive 20dbus 70debconf
  64. thufir@mordor:~$
Advertisement
Add Comment
Please, Sign In to add comment