[Grml] Pondering a mid-size grml...
Juergen Fiedler
juergen.fiedler at gmail.com
Tue Feb 20 19:38:50 CET 2007
On 2/13/07, Michael Schierl <schierlm at gmx.de> wrote:
>
> Juergen Fiedler schrieb:
> > I'm
> > playing around with adding things to grml_small (being that stipping the
> > big one down seems rather intimidating)
> [...]
>From one of my scripts for a similar purpose:
>
> export LANG=C
> export LC_MESSAGES=
> mv /etc/apt/sources.list{,-moved}
> touch /etc/apt/sources.list
> apt-get update
> dpkg --get-selections | sed s/install$/purge/ | dpkg --set-selections
> dpkg --set-selections <grml-small-0.3-selections
> dpkg --set-selections <my-selections
> apt-get -y dselect-upgrade
> apt-get -f install
> apt-get dselect-upgrade
So I have played around with this script for a while; I am trying to keep X,
so my 'my-selections' looks like this:
-------
linux-image-2.6.18-grml install
unionfs-modules-2.6.18-grml install
grml-policyrcd install
policyrcd-script-zg2 install
locales install
man-db install
fluxbox install
grml-x install
hwinfo install
libhal1 install
libhd13 install
pciutils install
xbase-clients install
xfonts-base install
xserver-xorg install
xserver-xorg-core install
xserver-xorg-input-all install
xserver-xorg-input-evdev install
xserver-xorg-input-kbd install
xserver-xorg-input-mouse install
xserver-xorg-input-synaptics install
xserver-xorg-input-vmmouse install
xserver-xorg-input-wacom install
xserver-xorg-video-fbdev install
xserver-xorg-video-vesa install
xterm install
-------
The first 'apt-get -y dselect-upgrade' runs fine and leaves everything
related to X alone.
The second one, though, wants to remove everything that looks remotely like
X:
-------
apt-get -y dselect-upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
grml-x xkb-data* xserver-xorg xserver-xorg-core xserver-xorg-input-all
xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse
xserver-xorg-input-synaptics xserver-xorg-input-vmmouse
xserver-xorg-video-fbdev xserver-xorg-video-vesa
0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 15.6MB disk space will be freed.
-------
What am I missing there? Do I have to put the whole dependency tree for
those packages into my selection file?
Maybe it would be easier to strip grml down to the minimum packages you
mentioned and then go using aptitude or apt-get; wouldn't I need one of them
to install packages that were not part of the original grml-0.9.iso, anyway
(assuming that I don't want to download and install all .deb files
manually)?
Thanks,
--j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mur.at/pipermail/grml/attachments/20070220/24df3c2f/attachment-0002.htm
More information about the Grml
mailing list