<br><br><div><span class="gmail_quote">On 2/13/07, <b class="gmail_sendername">Michael Schierl</b> <<a href="mailto:schierlm@gmx.de">schierlm@gmx.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Juergen Fiedler schrieb:<br>> I'm<br>> playing around with adding things to grml_small (being that stipping the<br>> big one down seems rather intimidating)<br>[...]</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>From one of my scripts for a similar purpose:<br><br>export LANG=C<br>export LC_MESSAGES=<br>mv /etc/apt/sources.list{,-moved}<br>touch /etc/apt/sources.list<br>apt-get update<br>dpkg --get-selections | sed s/install$/purge/ | dpkg --set-selections
<br>dpkg --set-selections <grml-small-0.3-selections<br>dpkg --set-selections <my-selections<br>apt-get -y dselect-upgrade<br>apt-get -f install<br>apt-get dselect-upgrade</blockquote><div><br><br>So I have played around with this script for a while; I am trying to keep X, so my 'my-selections' looks like this:
<br><br>-------<br>linux-image-2.6.18-grml install<br>unionfs-modules-2.6.18-grml install<br>grml-policyrcd install<br>policyrcd-script-zg2 install<br>locales install
<br>man-db install<br>fluxbox install<br>grml-x install<br>hwinfo install<br>libhal1 install<br>libhd13 install
<br>pciutils install<br>xbase-clients install<br>xfonts-base install<br>xserver-xorg install<br>xserver-xorg-core install<br>xserver-xorg-input-all install
<br>xserver-xorg-input-evdev install<br>xserver-xorg-input-kbd install<br>xserver-xorg-input-mouse install<br>xserver-xorg-input-synaptics install<br>xserver-xorg-input-vmmouse install<br>xserver-xorg-input-wacom install
<br>xserver-xorg-video-fbdev install<br>xserver-xorg-video-vesa install<br>xterm install<br>-------<br><br>The first 'apt-get -y dselect-upgrade' runs fine and leaves everything related to X alone.
<br>The second one, though, wants to remove everything that looks remotely like X:<br><br>-------<br>apt-get -y dselect-upgrade<br>Reading package lists... Done<br>Building dependency tree... Done<br>The following packages will be REMOVED:
<br> grml-x xkb-data* xserver-xorg xserver-xorg-core xserver-xorg-input-all<br> xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse<br> xserver-xorg-input-synaptics xserver-xorg-input-vmmouse<br> xserver-xorg-video-fbdev xserver-xorg-video-vesa
<br>0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.<br>Need to get 0B of archives.<br>After unpacking 15.6MB disk space will be freed.<br>-------<br><br>What am I missing there? Do I have to put the whole dependency tree for those packages into my selection file?
<br>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)?<br><br>Thanks,<br> --j<br> </div><br></div>