Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@debian:~# # Итак, ставим xfwm4
- root@debian:~# aptitude -R install xfwm4
- The following NEW packages will be installed:
- libwnck-common{a} libwnck22{a} libxfce4ui-1-0{a} libxfce4util-common{a}
- libxfce4util6{a} libxfconf-0-2{a} libxres1{a} xfce-keyboard-shortcuts{a}
- xfconf{a} xfwm4
- The following packages are RECOMMENDED but will NOT be installed:
- libxfce4util-bin
- 0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
- Need to get 1,633 kB of archives. After unpacking 7,338 kB will be used.
- Do you want to continue? [Y/n/?]
- Get: 1 http://http.debian.net/debian/ jessie/main libxfce4util-common all 4.10.1-2 [92.2 kB]
- Get: 2 http://http.debian.net/debian/ jessie/main libxfce4util6 i386 4.10.1-2 [72.8 kB]
- Get: 3 http://http.debian.net/debian/ jessie/main xfconf i386 4.10.0-3 [140 kB]
- Get: 4 http://http.debian.net/debian/ jessie/main libxfconf-0-2 i386 4.10.0-3 [81.4 kB]
- Get: 5 http://http.debian.net/debian/ jessie/main xfce-keyboard-shortcuts all 4.10.0-6 [41.2 kB]
- Get: 6 http://http.debian.net/debian/ jessie/main libxfce4ui-1-0 i386 4.10.0-6 [147 kB]
- Get: 7 http://http.debian.net/debian/ jessie/main libxres1 i386 2:1.0.7-1+b1 [15.6 kB]
- Get: 8 http://http.debian.net/debian/ jessie/main libwnck-common all 2.30.7-2 [223 kB]
- Get: 9 http://http.debian.net/debian/ jessie/main libwnck22 i386 2.30.7-2 [123 kB]
- Get: 10 http://http.debian.net/debian/ jessie/main xfwm4 i386 4.10.1-3 [696 kB]
- Fetched 1,633 kB in 7s (227 kB/s)
- Selecting previously unselected package libxfce4util-common.
- (Reading database ... 122101 files and directories currently installed.)
- Preparing to unpack .../libxfce4util-common_4.10.1-2_all.deb ...
- Unpacking libxfce4util-common (4.10.1-2) ...
- Selecting previously unselected package libxfce4util6.
- Preparing to unpack .../libxfce4util6_4.10.1-2_i386.deb ...
- Unpacking libxfce4util6 (4.10.1-2) ...
- Selecting previously unselected package xfconf.
- Preparing to unpack .../xfconf_4.10.0-3_i386.deb ...
- Unpacking xfconf (4.10.0-3) ...
- Selecting previously unselected package libxfconf-0-2.
- Preparing to unpack .../libxfconf-0-2_4.10.0-3_i386.deb ...
- Unpacking libxfconf-0-2 (4.10.0-3) ...
- Selecting previously unselected package xfce-keyboard-shortcuts.
- Preparing to unpack .../xfce-keyboard-shortcuts_4.10.0-6_all.deb ...
- Unpacking xfce-keyboard-shortcuts (4.10.0-6) ...
- Selecting previously unselected package libxfce4ui-1-0.
- Preparing to unpack .../libxfce4ui-1-0_4.10.0-6_i386.deb ...
- Unpacking libxfce4ui-1-0 (4.10.0-6) ...
- Selecting previously unselected package libxres1:i386.
- Preparing to unpack .../libxres1_2%3a1.0.7-1+b1_i386.deb ...
- Unpacking libxres1:i386 (2:1.0.7-1+b1) ...
- Selecting previously unselected package libwnck-common.
- Preparing to unpack .../libwnck-common_2.30.7-2_all.deb ...
- Unpacking libwnck-common (2.30.7-2) ...
- Selecting previously unselected package libwnck22.
- Preparing to unpack .../libwnck22_2.30.7-2_i386.deb ...
- Unpacking libwnck22 (2.30.7-2) ...
- Selecting previously unselected package xfwm4.
- Preparing to unpack .../xfwm4_4.10.1-3_i386.deb ...
- Unpacking xfwm4 (4.10.1-3) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Processing triggers for menu (2.1.47) ...
- Processing triggers for mime-support (3.58) ...
- Processing triggers for hicolor-icon-theme (0.13-1) ...
- Setting up libxfce4util-common (4.10.1-2) ...
- Setting up libxfce4util6 (4.10.1-2) ...
- Setting up xfconf (4.10.0-3) ...
- Setting up libxfconf-0-2 (4.10.0-3) ...
- Setting up xfce-keyboard-shortcuts (4.10.0-6) ...
- Setting up libxfce4ui-1-0 (4.10.0-6) ...
- Setting up libxres1:i386 (2:1.0.7-1+b1) ...
- Setting up libwnck-common (2.30.7-2) ...
- Setting up libwnck22 (2.30.7-2) ...
- Setting up xfwm4 (4.10.1-3) ...
- update-alternatives: using /usr/bin/xfwm4 to provide /usr/bin/x-window-manager (x-window-manager) in auto mode
- Processing triggers for libc-bin (2.19-18) ...
- Processing triggers for menu (2.1.47) ...
- root@debian:~# aptitude show libxres1
- Package: libxres1
- State: installed
- Automatically installed: yes
- Multi-Arch: same
- Version: 2:1.0.7-1+b1
- Priority: optional
- Section: libs
- Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
- Architecture: i386
- Uncompressed Size: 22.5 k
- Depends: libc6 (>= 2.4), libx11-6 (>= 2:1.6.0), libxext6
- PreDepends: multiarch-support
- Description: X11 Resource extension library
- libXRes provides an X Window System client interface to the Resource extension
- to the X protocol.
- The Resource extension allows for X clients to see and monitor the X resource
- usage of various clients (pixmaps, et al).
- More information about X.Org can be found at: <URL:http://www.X.org>
- This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libXRes
- Tags: role::shared-lib, x11::library
- root@debian:~# # Как видим, флаг "авто" есть
- root@debian:~# # Теперь удалим
- root@debian:~# aptitude purge xfwm4
- The following packages will be REMOVED:
- xfwm4{p}
- 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
- Need to get 0 B of archives. After unpacking 2,221 kB will be freed.
- Do you want to continue? [Y/n/?]
- (Reading database ... 123000 files and directories currently installed.)
- Removing xfwm4 (4.10.1-3) ...
- update-alternatives: using /usr/bin/kwin to provide /usr/bin/x-window-manager (x-window-manager) in auto mode
- Purging configuration files for xfwm4 (4.10.1-3) ...
- Processing triggers for hicolor-icon-theme (0.13-1) ...
- Processing triggers for mime-support (3.58) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Processing triggers for menu (2.1.47) ...
- root@debian:~# # Проверям флаг...
- root@debian:~# aptitude show libxres1
- Package: libxres1
- State: installed
- Automatically installed: no
- Multi-Arch: same
- Version: 2:1.0.7-1+b1
- Priority: optional
- Section: libs
- Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
- Architecture: i386
- Uncompressed Size: 22.5 k
- Depends: libc6 (>= 2.4), libx11-6 (>= 2:1.6.0), libxext6
- PreDepends: multiarch-support
- Description: X11 Resource extension library
- libXRes provides an X Window System client interface to the Resource extension
- to the X protocol.
- The Resource extension allows for X clients to see and monitor the X resource
- usage of various clients (pixmaps, et al).
- More information about X.Org can be found at: <URL:http://www.X.org>
- This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libXRes
- Tags: role::shared-lib, x11::library
- root@debian:~# # Опаньки. Флага нет. Ну да ладно. Помнит ли об этих пакетах aptitude?
- root@debian:~# aptitude -f install
- The following packages will be REMOVED:
- libwnck-common{u} libwnck22{u} libxfce4ui-1-0{u} libxfce4util-common{u}
- libxfce4util6{u} libxfconf-0-2{u} libxres1{u} xfce-keyboard-shortcuts{u}
- xfconf{u}
- 0 packages upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
- Need to get 0 B of archives. After unpacking 5,117 kB will be freed.
- Do you want to continue? [Y/n/?] n
- Abort.
- root@debian:~# # Помнит. Хорошо, снова установим и удалим xfwm4.
- root@debian:~# aptitude -R install xfwm4 The following NEW packages will be installed:
- xfwm4
- 0 packages upgraded, 1 newly installed, 0 to remove and 74 not upgraded.
- Need to get 0 B/696 kB of archives. After unpacking 2,221 kB will be used.
- Selecting previously unselected package xfwm4.
- (Reading database ... 122408 files and directories currently installed.)
- Preparing to unpack .../xfwm4_4.10.1-3_i386.deb ...
- Unpacking xfwm4 (4.10.1-3) ...
- Processing triggers for menu (2.1.47) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Processing triggers for mime-support (3.58) ...
- Processing triggers for hicolor-icon-theme (0.13-1) ...
- Setting up xfwm4 (4.10.1-3) ...
- update-alternatives: using /usr/bin/xfwm4 to provide /usr/bin/x-window-manager (x-window-manager) in auto mode
- Processing triggers for menu (2.1.47) ...
- root@debian:~# aptitude purge xfwm4The following packages will be REMOVED:
- xfwm4{p}
- 0 packages upgraded, 0 newly installed, 1 to remove and 74 not upgraded.
- Need to get 0 B of archives. After unpacking 2,221 kB will be freed.
- Do you want to continue? [Y/n/?]
- (Reading database ... 123000 files and directories currently installed.)
- Removing xfwm4 (4.10.1-3) ...
- update-alternatives: using /usr/bin/kwin to provide /usr/bin/x-window-manager (x-window-manager) in auto mode
- Purging configuration files for xfwm4 (4.10.1-3) ...
- Processing triggers for hicolor-icon-theme (0.13-1) ...
- Processing triggers for mime-support (3.58) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Processing triggers for menu (2.1.47) ...
- root@debian:~# # aptitude всё ещё помнит об этих пакетах?
- root@debian:~# aptitude -f install
- No packages will be installed, upgraded, or removed.
- 0 packages upgraded, 0 newly installed, 0 to remove and 74 not upgraded.
- Need to get 0 B of archives. After unpacking 0 B will be used.
- root@debian:~# # Опаньки №2. Повторная установка и удаление xfwm4 - и aptitude забыл об установленных за компанию пакетах, которые отныне останутся мусором в системе.
- root@debian:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement