Aug 032013
 

A few people have asked for the scripts that I use to generate Raspbian Server Edition.

So here they are !

The package list is just a dump from dpkg of all the packages that have been removed.
The script is a very rough script, so there’s no error checking.
The syntax is

pkgs.sh pkgs.txt

Share

  16 Responses to “Raspbian Server Edition Scripts”

  1. Hi SirLagz,

    thanks a lot for those. Really useful if you could not resist starting configuring before switching from latest Raspbian to RSE. 🙂

    Thanks again,
    Jim

  2. Hi, raspbian server edition support raspberry camera module with raspbian config tools?

  3. Hey SirLagz, I just wanted to thank you for providing this script. It’s so helpful being able to strip down an already-running raspbian install! Much easier than reinstalling a new image.

    Please keep up the good work and know that others appreciate what you’re doing!

  4. hi sirlagz.i found ur scripts cannot run in my 14.01.07v system
    it just keep reporting error
    pkgs.sh: 6: pkgs.sh: final+=xinit : not found
    pkgs.sh: 6: pkgs.sh: final+=xml-core : not found
    pkgs.sh: 6: pkgs.sh: final+=xpdf : not found
    pkgs.sh: 6: pkgs.sh: final+=xserver-xorg : not found
    pkgs.sh: 6: pkgs.sh: final+=xserver-xorg-core : not found
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    • What shell are you using ?

      • pi@raspberrypi ~ $ sudo sh pkgs.sh pkgs.txt
        pkgs.sh: 6: pkgs.sh: final+=alsa-base : not found
        pkgs.sh: 6: pkgs.sh: final+=alsa-utils : not found
        pkgs.sh: 6: pkgs.sh: final+=aptitude : not found
        pkgs.sh: 6: pkgs.sh: final+=aspell-en : not found
        pkgs.sh: 6: pkgs.sh: final+=blt : not found
        ……
        pkgs.sh: 6: pkgs.sh: final+=xpdf : not found
        pkgs.sh: 6: pkgs.sh: final+=xserver-xorg : not found
        pkgs.sh: 6: pkgs.sh: final+=xserver-xorg-core : not found
        Reading package lists… Done
        Building dependency tree
        Reading state information… Done
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  5. Very nice! Cleaned up at least 1,7GB. No working network after reboot 🙁
    Had to change the line: auto lo to: auto lo eth0 in /etc/network/interfaces
    Maybe add an extra: apt-get autoremove –purge and a apt-get clean at the end?

  6. Remove console-setup and console-setup-linux line from pkgs.txt, it is necessary if you are using no english keyboard language.

    locales and keyboard-configurations is configured, but the keyboard keymap not working in system. With console-setup and console-setup-linux my spanish keyboard work.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

This site uses Akismet to reduce spam. Learn how your comment data is processed.