fangzy
February 7th, 2011, 08:33 AM
Remove some library such as libxml2 with apt-get will require the removal of a huge list of packages:
code:
sudo apt-get remove libxml2
message: "The following packages will be REMOVED:
abiword abiword-common abiword-help abiword-plugin-grammar
abiword-plugin-mathview alacarte apport apport-gtk apturl at-spi
avahi-daemon avahi-utils bind9-host bluez-cups bluez-gnome bluez-gstreamer
..."
In my understanding, the above packages are likely only require "libxml2" library during compilation, but no longer depends on it any more after compilation and installed as binary executable files. If this is true, why apt-get does not allow the user to remove simply "libxml2" rather than such a huge list? Isn't such a huge dependency affects a lot the convenience of package installation and removal?
code:
sudo apt-get remove libxml2
message: "The following packages will be REMOVED:
abiword abiword-common abiword-help abiword-plugin-grammar
abiword-plugin-mathview alacarte apport apport-gtk apturl at-spi
avahi-daemon avahi-utils bind9-host bluez-cups bluez-gnome bluez-gstreamer
..."
In my understanding, the above packages are likely only require "libxml2" library during compilation, but no longer depends on it any more after compilation and installed as binary executable files. If this is true, why apt-get does not allow the user to remove simply "libxml2" rather than such a huge list? Isn't such a huge dependency affects a lot the convenience of package installation and removal?