Advertisement
Guest User

Untitled

a guest
Jun 11th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.90 KB | None | 0 0
  1. pi@Raspi1:~ $ sudo nano /etc/apt/apt.conf
  2.   GNU nano 2.2.6                               Fichier : /etc/apt/apt.conf
  3.  
  4. APT::Default-Release "jessie";
  5.  
  6. pi@Raspi1:~ $ cat /etc/apt/apt.conf.d/*
  7. APT
  8. {
  9.   NeverAutoRemove
  10.   {
  11.         "^firmware-linux.*";
  12.         "^linux-firmware$";
  13.   };
  14.  
  15.   VersionedKernelPackages
  16.   {
  17.         # linux kernels
  18.         "linux-image";
  19.         "linux-headers";
  20.         "linux-image-extra";
  21.         "linux-signed-image";
  22.         # kfreebsd kernels
  23.         "kfreebsd-image";
  24.         "kfreebsd-headers";
  25.         # hurd kernels
  26.         "gnumach-image";
  27.         # (out-of-tree) modules
  28.         ".*-modules";
  29.         ".*-kernel";
  30.         "linux-backports-modules-.*";
  31.         # tools
  32.         "linux-tools";
  33.   };
  34.  
  35.   Never-MarkAuto-Sections
  36.   {
  37.         "metapackages";
  38.         "restricted/metapackages";
  39.         "universe/metapackages";
  40.         "multiverse/metapackages";
  41.         "oldlibs";
  42.         "restricted/oldlibs";
  43.         "universe/oldlibs";
  44.         "multiverse/oldlibs";
  45.   };
  46. };
  47. // DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal
  48. APT::NeverAutoRemove
  49. {
  50.    "^linux-image-3\.16\.0-4-amd64$";
  51.    "^linux-image-4\.4\.50-v7+$";
  52.    "^linux-headers-3\.16\.0-4-amd64$";
  53.    "^linux-headers-4\.4\.50-v7+$";
  54.    "^linux-image-extra-3\.16\.0-4-amd64$";
  55.    "^linux-image-extra-4\.4\.50-v7+$";
  56.    "^linux-signed-image-3\.16\.0-4-amd64$";
  57.    "^linux-signed-image-4\.4\.50-v7+$";
  58.    "^kfreebsd-image-3\.16\.0-4-amd64$";
  59.    "^kfreebsd-image-4\.4\.50-v7+$";
  60.    "^kfreebsd-headers-3\.16\.0-4-amd64$";
  61.    "^kfreebsd-headers-4\.4\.50-v7+$";
  62.    "^gnumach-image-3\.16\.0-4-amd64$";
  63.    "^gnumach-image-4\.4\.50-v7+$";
  64.    "^.*-modules-3\.16\.0-4-amd64$";
  65.    "^.*-modules-4\.4\.50-v7+$";
  66.    "^.*-kernel-3\.16\.0-4-amd64$";
  67.    "^.*-kernel-4\.4\.50-v7+$";
  68.    "^linux-backports-modules-.*-3\.16\.0-4-amd64$";
  69.    "^linux-backports-modules-.*-4\.4\.50-v7+$";
  70.    "^linux-tools-3\.16\.0-4-amd64$";
  71.    "^linux-tools-4\.4\.50-v7+$";
  72. };
  73. DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt || test $? -ne 10"; };
  74. DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
  75. // THIS FILE IS USED TO INFORM PACKAGEKIT
  76. // THAT THE UPDATE-INFO MIGHT HAVE CHANGED
  77.  
  78. // Whenever dpkg is called we might have different updates
  79. // i.e. if an user removes a package that had an update
  80. DPkg::Post-Invoke {
  81. "/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null";
  82. };
  83.  
  84. // When Apt's cache is updated (i.e. apt-cache update)
  85. APT::Update::Post-Invoke-Success {
  86. "/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null";
  87. };
  88. # never use pdiffs. Current implementation is very slow on low-powered devices
  89. Acquire::PDiffs "0";
  90.  
  91. # download up to 5 pdiffs:
  92. #Acquire::PDiffs::FileLimit "5";
  93. // Pre-configure all packages with debconf before they are installed.
  94. // If you don't like it, comment it out.
  95. DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
  96.  
  97. pi@Raspi1:~ $ sudo apt-get install certbot -s
  98. Lecture des listes de paquets... Fait
  99. Construction de l'arbre des dépendances
  100. Lecture des informations d'état... Fait
  101. Les paquets supplémentaires suivants seront installés :
  102.   python-acme python-certbot python-configargparse python-configobj python-dnspython python-funcsigs python-mock python-openssl
  103.   python-parsedatetime python-pbr python-pyicu python-rfc3339 python-tz python-zope.component python-zope.event python-zope.interface
  104. Paquets suggérés :
  105.   python-certbot-apache python-certbot-doc python-acme-doc python-configobj-doc python-funcsigs-doc python-mock-doc python-openssl-doc
  106.   python-openssl-dbg
  107. Les NOUVEAUX paquets suivants seront installés :
  108.   certbot python-acme python-certbot python-configargparse python-configobj python-dnspython python-funcsigs python-mock
  109.   python-parsedatetime python-pbr python-pyicu python-rfc3339 python-tz python-zope.component python-zope.event python-zope.interface
  110. Les paquets suivants seront mis à jour :
  111.   python-openssl
  112. 1 mis à jour, 16 nouvellement installés, 0 à enlever et 86 non mis à jour.
  113. Inst python-configargparse (0.11.0-1~bpo8+1 Debian Backports:jessie-backports [all])
  114. Inst python-configobj (5.0.6-1 Raspbian:stable [all])
  115. Inst python-dnspython (1.15.0-1~bpo8+1 Debian Backports:jessie-backports [all])
  116. Inst python-funcsigs (1.0.2-3~bpo8+1 Debian Backports:jessie-backports [all])
  117. Inst python-openssl [0.13.1-2] (16.0.0-1~bpo8+1 Debian Backports:jessie-backports [all])
  118. Inst python-parsedatetime (1.4-1 Raspbian:stable [all])
  119. Inst python-pbr (1.8.0-4.1~bpo8+1 Debian Backports:jessie-backports [all])
  120. Inst python-pyicu (1.8-1 Raspbian:stable [armhf])
  121. Inst python-tz (2012c+dfsg-0.1 Raspbian:stable [all])
  122. Inst python-rfc3339 (1.0-4~bpo8+1 Debian Backports:jessie-backports [all])
  123. Inst python-zope.interface (4.1.1-3.1 Raspbian:stable [armhf])
  124. Inst python-mock (2.0.0-3~bpo8+1 Debian Backports:jessie-backports [all])
  125. Inst python-acme (0.10.2-1~bpo8+2 Debian Backports:jessie-backports [all])
  126. Inst python-zope.event (4.0.3-2 Raspbian:stable [all])
  127. Inst python-zope.component (4.2.1-2 Raspbian:stable [all])
  128. Inst python-certbot (0.10.2-1~bpo8+1 Debian Backports:jessie-backports [all])
  129. Inst certbot (0.10.2-1~bpo8+1 Debian Backports:jessie-backports [all])
  130. Conf python-configargparse (0.11.0-1~bpo8+1 Debian Backports:jessie-backports [all])
  131. Conf python-configobj (5.0.6-1 Raspbian:stable [all])
  132. Conf python-dnspython (1.15.0-1~bpo8+1 Debian Backports:jessie-backports [all])
  133. Conf python-funcsigs (1.0.2-3~bpo8+1 Debian Backports:jessie-backports [all])
  134. Conf python-openssl (16.0.0-1~bpo8+1 Debian Backports:jessie-backports [all])
  135. Conf python-parsedatetime (1.4-1 Raspbian:stable [all])
  136. Conf python-pbr (1.8.0-4.1~bpo8+1 Debian Backports:jessie-backports [all])
  137. Conf python-pyicu (1.8-1 Raspbian:stable [armhf])
  138. Conf python-tz (2012c+dfsg-0.1 Raspbian:stable [all])
  139. Conf python-rfc3339 (1.0-4~bpo8+1 Debian Backports:jessie-backports [all])
  140. Conf python-zope.interface (4.1.1-3.1 Raspbian:stable [armhf])
  141. Conf python-mock (2.0.0-3~bpo8+1 Debian Backports:jessie-backports [all])
  142. Conf python-acme (0.10.2-1~bpo8+2 Debian Backports:jessie-backports [all])
  143. Conf python-zope.event (4.0.3-2 Raspbian:stable [all])
  144. Conf python-zope.component (4.2.1-2 Raspbian:stable [all])
  145. Conf python-certbot (0.10.2-1~bpo8+1 Debian Backports:jessie-backports [all])
  146. Conf certbot (0.10.2-1~bpo8+1 Debian Backports:jessie-backports [all])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement