Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.54 KB | None | 0 0
  1. root@debian:~# # Итак, ставим xfwm4
  2. root@debian:~# aptitude -R install xfwm4
  3. The following NEW packages will be installed:
  4. libwnck-common{a} libwnck22{a} libxfce4ui-1-0{a} libxfce4util-common{a}
  5. libxfce4util6{a} libxfconf-0-2{a} libxres1{a} xfce-keyboard-shortcuts{a}
  6. xfconf{a} xfwm4
  7. The following packages are RECOMMENDED but will NOT be installed:
  8. libxfce4util-bin
  9. 0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
  10. Need to get 1,633 kB of archives. After unpacking 7,338 kB will be used.
  11. Do you want to continue? [Y/n/?]
  12. Get: 1 http://http.debian.net/debian/ jessie/main libxfce4util-common all 4.10.1-2 [92.2 kB]
  13. Get: 2 http://http.debian.net/debian/ jessie/main libxfce4util6 i386 4.10.1-2 [72.8 kB]
  14. Get: 3 http://http.debian.net/debian/ jessie/main xfconf i386 4.10.0-3 [140 kB]
  15. Get: 4 http://http.debian.net/debian/ jessie/main libxfconf-0-2 i386 4.10.0-3 [81.4 kB]
  16. Get: 5 http://http.debian.net/debian/ jessie/main xfce-keyboard-shortcuts all 4.10.0-6 [41.2 kB]
  17. Get: 6 http://http.debian.net/debian/ jessie/main libxfce4ui-1-0 i386 4.10.0-6 [147 kB]
  18. Get: 7 http://http.debian.net/debian/ jessie/main libxres1 i386 2:1.0.7-1+b1 [15.6 kB]
  19. Get: 8 http://http.debian.net/debian/ jessie/main libwnck-common all 2.30.7-2 [223 kB]
  20. Get: 9 http://http.debian.net/debian/ jessie/main libwnck22 i386 2.30.7-2 [123 kB]
  21. Get: 10 http://http.debian.net/debian/ jessie/main xfwm4 i386 4.10.1-3 [696 kB]
  22. Fetched 1,633 kB in 7s (227 kB/s)
  23. Selecting previously unselected package libxfce4util-common.
  24. (Reading database ... 122101 files and directories currently installed.)
  25. Preparing to unpack .../libxfce4util-common_4.10.1-2_all.deb ...
  26. Unpacking libxfce4util-common (4.10.1-2) ...
  27. Selecting previously unselected package libxfce4util6.
  28. Preparing to unpack .../libxfce4util6_4.10.1-2_i386.deb ...
  29. Unpacking libxfce4util6 (4.10.1-2) ...
  30. Selecting previously unselected package xfconf.
  31. Preparing to unpack .../xfconf_4.10.0-3_i386.deb ...
  32. Unpacking xfconf (4.10.0-3) ...
  33. Selecting previously unselected package libxfconf-0-2.
  34. Preparing to unpack .../libxfconf-0-2_4.10.0-3_i386.deb ...
  35. Unpacking libxfconf-0-2 (4.10.0-3) ...
  36. Selecting previously unselected package xfce-keyboard-shortcuts.
  37. Preparing to unpack .../xfce-keyboard-shortcuts_4.10.0-6_all.deb ...
  38. Unpacking xfce-keyboard-shortcuts (4.10.0-6) ...
  39. Selecting previously unselected package libxfce4ui-1-0.
  40. Preparing to unpack .../libxfce4ui-1-0_4.10.0-6_i386.deb ...
  41. Unpacking libxfce4ui-1-0 (4.10.0-6) ...
  42. Selecting previously unselected package libxres1:i386.
  43. Preparing to unpack .../libxres1_2%3a1.0.7-1+b1_i386.deb ...
  44. Unpacking libxres1:i386 (2:1.0.7-1+b1) ...
  45. Selecting previously unselected package libwnck-common.
  46. Preparing to unpack .../libwnck-common_2.30.7-2_all.deb ...
  47. Unpacking libwnck-common (2.30.7-2) ...
  48. Selecting previously unselected package libwnck22.
  49. Preparing to unpack .../libwnck22_2.30.7-2_i386.deb ...
  50. Unpacking libwnck22 (2.30.7-2) ...
  51. Selecting previously unselected package xfwm4.
  52. Preparing to unpack .../xfwm4_4.10.1-3_i386.deb ...
  53. Unpacking xfwm4 (4.10.1-3) ...
  54. Processing triggers for man-db (2.7.0.2-5) ...
  55. Processing triggers for menu (2.1.47) ...
  56. Processing triggers for mime-support (3.58) ...
  57. Processing triggers for hicolor-icon-theme (0.13-1) ...
  58. Setting up libxfce4util-common (4.10.1-2) ...
  59. Setting up libxfce4util6 (4.10.1-2) ...
  60. Setting up xfconf (4.10.0-3) ...
  61. Setting up libxfconf-0-2 (4.10.0-3) ...
  62. Setting up xfce-keyboard-shortcuts (4.10.0-6) ...
  63. Setting up libxfce4ui-1-0 (4.10.0-6) ...
  64. Setting up libxres1:i386 (2:1.0.7-1+b1) ...
  65. Setting up libwnck-common (2.30.7-2) ...
  66. Setting up libwnck22 (2.30.7-2) ...
  67. Setting up xfwm4 (4.10.1-3) ...
  68. update-alternatives: using /usr/bin/xfwm4 to provide /usr/bin/x-window-manager (x-window-manager) in auto mode
  69. Processing triggers for libc-bin (2.19-18) ...
  70. Processing triggers for menu (2.1.47) ...
  71.  
  72. root@debian:~# aptitude show libxres1
  73. Package: libxres1
  74. State: installed
  75. Automatically installed: yes
  76. Multi-Arch: same
  77. Version: 2:1.0.7-1+b1
  78. Priority: optional
  79. Section: libs
  80. Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
  81. Architecture: i386
  82. Uncompressed Size: 22.5 k
  83. Depends: libc6 (>= 2.4), libx11-6 (>= 2:1.6.0), libxext6
  84. PreDepends: multiarch-support
  85. Description: X11 Resource extension library
  86. libXRes provides an X Window System client interface to the Resource extension
  87. to the X protocol.
  88.  
  89. The Resource extension allows for X clients to see and monitor the X resource
  90. usage of various clients (pixmaps, et al).
  91.  
  92. More information about X.Org can be found at: <URL:http://www.X.org>
  93.  
  94. This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libXRes
  95.  
  96. Tags: role::shared-lib, x11::library
  97.  
  98. root@debian:~# # Как видим, флаг "авто" есть
  99. root@debian:~# # Теперь удалим
  100. root@debian:~# aptitude purge xfwm4
  101. The following packages will be REMOVED:
  102. xfwm4{p}
  103. 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  104. Need to get 0 B of archives. After unpacking 2,221 kB will be freed.
  105. Do you want to continue? [Y/n/?]
  106. (Reading database ... 123000 files and directories currently installed.)
  107. Removing xfwm4 (4.10.1-3) ...
  108. update-alternatives: using /usr/bin/kwin to provide /usr/bin/x-window-manager (x-window-manager) in auto mode
  109. Purging configuration files for xfwm4 (4.10.1-3) ...
  110. Processing triggers for hicolor-icon-theme (0.13-1) ...
  111. Processing triggers for mime-support (3.58) ...
  112. Processing triggers for man-db (2.7.0.2-5) ...
  113. Processing triggers for menu (2.1.47) ...
  114.  
  115. root@debian:~# # Проверям флаг...
  116. root@debian:~# aptitude show libxres1
  117. Package: libxres1
  118. State: installed
  119. Automatically installed: no
  120. Multi-Arch: same
  121. Version: 2:1.0.7-1+b1
  122. Priority: optional
  123. Section: libs
  124. Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
  125. Architecture: i386
  126. Uncompressed Size: 22.5 k
  127. Depends: libc6 (>= 2.4), libx11-6 (>= 2:1.6.0), libxext6
  128. PreDepends: multiarch-support
  129. Description: X11 Resource extension library
  130. libXRes provides an X Window System client interface to the Resource extension
  131. to the X protocol.
  132.  
  133. The Resource extension allows for X clients to see and monitor the X resource
  134. usage of various clients (pixmaps, et al).
  135.  
  136. More information about X.Org can be found at: <URL:http://www.X.org>
  137.  
  138. This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libXRes
  139.  
  140. Tags: role::shared-lib, x11::library
  141.  
  142. root@debian:~# # Опаньки. Флага нет. Ну да ладно. Помнит ли об этих пакетах aptitude?
  143. root@debian:~# aptitude -f install
  144. The following packages will be REMOVED:
  145. libwnck-common{u} libwnck22{u} libxfce4ui-1-0{u} libxfce4util-common{u}
  146. libxfce4util6{u} libxfconf-0-2{u} libxres1{u} xfce-keyboard-shortcuts{u}
  147. xfconf{u}
  148. 0 packages upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
  149. Need to get 0 B of archives. After unpacking 5,117 kB will be freed.
  150. Do you want to continue? [Y/n/?] n
  151. Abort.
  152. root@debian:~# # Помнит. Хорошо, снова установим и удалим xfwm4.
  153. root@debian:~# aptitude -R install xfwm4 The following NEW packages will be installed:
  154. xfwm4
  155. 0 packages upgraded, 1 newly installed, 0 to remove and 74 not upgraded.
  156. Need to get 0 B/696 kB of archives. After unpacking 2,221 kB will be used.
  157. Selecting previously unselected package xfwm4.
  158. (Reading database ... 122408 files and directories currently installed.)
  159. Preparing to unpack .../xfwm4_4.10.1-3_i386.deb ...
  160. Unpacking xfwm4 (4.10.1-3) ...
  161. Processing triggers for menu (2.1.47) ...
  162. Processing triggers for man-db (2.7.0.2-5) ...
  163. Processing triggers for mime-support (3.58) ...
  164. Processing triggers for hicolor-icon-theme (0.13-1) ...
  165. Setting up xfwm4 (4.10.1-3) ...
  166. update-alternatives: using /usr/bin/xfwm4 to provide /usr/bin/x-window-manager (x-window-manager) in auto mode
  167. Processing triggers for menu (2.1.47) ...
  168.  
  169. root@debian:~# aptitude purge xfwm4The following packages will be REMOVED:
  170. xfwm4{p}
  171. 0 packages upgraded, 0 newly installed, 1 to remove and 74 not upgraded.
  172. Need to get 0 B of archives. After unpacking 2,221 kB will be freed.
  173. Do you want to continue? [Y/n/?]
  174. (Reading database ... 123000 files and directories currently installed.)
  175. Removing xfwm4 (4.10.1-3) ...
  176. update-alternatives: using /usr/bin/kwin to provide /usr/bin/x-window-manager (x-window-manager) in auto mode
  177. Purging configuration files for xfwm4 (4.10.1-3) ...
  178. Processing triggers for hicolor-icon-theme (0.13-1) ...
  179. Processing triggers for mime-support (3.58) ...
  180. Processing triggers for man-db (2.7.0.2-5) ...
  181. Processing triggers for menu (2.1.47) ...
  182.  
  183. root@debian:~# # aptitude всё ещё помнит об этих пакетах?
  184. root@debian:~# aptitude -f install
  185. No packages will be installed, upgraded, or removed.
  186. 0 packages upgraded, 0 newly installed, 0 to remove and 74 not upgraded.
  187. Need to get 0 B of archives. After unpacking 0 B will be used.
  188.  
  189. root@debian:~# # Опаньки №2. Повторная установка и удаление xfwm4 - и aptitude забыл об установленных за компанию пакетах, которые отныне останутся мусором в системе.
  190. root@debian:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement