Commit 2933b2fa authored by T(A)ILS developers's avatar T(A)ILS developers
Browse files

Remove new gnome-core dependencies (and more) in chroot_local-hooks/.

Since Squeeze the gnome-core package has a few more hard dependencies (due to
the fact the GNOME task now depends on it rather than gnome-desktop-environment)
on software we don't need. Let's remove these... the hard way.
parent 1ad2b4b0
echo "Removing development packages"
echo "Removing unwanted packages"
### Deinstall dev packages.
# We use apt-get as aptitude doesn't know about globs.
# There are packages we could be tempted to remove but we can't:
......@@ -12,10 +14,35 @@ apt-get --purge remove --yes \
cpp 'cpp-*' \
gcc gcc-4.3 gcc-4.3-base gcc-4.4 \
g++ 'g++-*' \
intltool-debian \
libgcc1 \
libc6-dev libgl1-mesa-dev libgudev-1.0-0 libstdc++6-4.4-dev linux-libc-dev \
make \
module-assistant \
po-debconf \
apt-get --purge autoremove
### Deinstall some other unwanted packages.
apt-get --purge remove --yes \
tasksel tasksel-data
### Deinstall dependencies of the just removed packages.
apt-get --purge autoremove --yes
### Force purging some new dependencies of gnome-core.
# We'll do this last as we now forcibly break APT state using
# low-level dpkg commands.
# - evolution and its dependencies
dpkg --purge --force-depends \
evolution evolution-common libevolution \
libgtkhtml-editor-common libgtkhtml-editor0 libgtkhtml3.14-19
# - gvfs-backends and its dependencies
dpkg --purge --force-depends \
gvfs-backends libcdio-cdda0 libcdio-paranoia0 libsmbclient libwbclient0
# - others
dpkg --purge --force-depends \
gnome-screensaver gnome-keyring gnome-user-guide
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment