Aug 032013
A few people have asked for the scripts that I use to generate Raspbian Server Edition.
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
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
No problems, glad you find it useful 🙂
Hi, raspbian server edition support raspberry camera module with raspbian config tools?
Hi, by default Raspbain Server Edition doesn’t have the packages for the Pi Cam installed, however you can easily re-install the packages via apt-get
can you help me as packages name that i need?
thanks
LP
Anything thay has raspi in the package name
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!
Thanks for the comment ! I’m glad the scripts helped 🙂
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.
Do >> sudo ./pkgs.sh pkgs.txt <<
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?
These scripts are fairly outdated now, if you want a stripped down raspbian install, you’re probably better off using hifi’s installer for the Pi.
I have the same problem. Do you have a link to “hifi’s installer for the Pi”
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.