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