raspberrypi / piserver

Raspberry Pi Server wizard to serve Raspbian to network booting Pis
318 stars 60 forks source link

README.md: add nscd, console-setup to deps #43

Closed qlyoung closed 5 years ago

qlyoung commented 5 years ago

Piserver will run on non-Raspbian platforms without these, but will fail when installing software on the server during Pi configuration.

maxnet commented 5 years ago

What error do you get without those? As I don't think having those should be a strict requirement.

qlyoung commented 5 years ago
Failed running postinst script

During the Installing software phase of initial setup.

nscd may not be necessary (I just saw a systemctl error trying to start it) but console-setup certainly appears to be.

maxnet commented 5 years ago

How did you end up with a system without console-setup in the first place? Isn't that always installed by debian's installer, on any Debian derivative?

qlyoung commented 5 years ago

Apparently not, because I'm running vanilla stretch and didn't have it. Although it is a server install, not a desktop install - I'm running it headless on an odroid-xu4. But it is vanilla stretch, not a special image for the odroid, so that should not make any difference.

maxnet commented 5 years ago

Sorry, but the instructions are not for trimmed down images. Package is definitely present in normal minimal Debian server installations.

Plain Debian Stretch installation (preseeded network installation):

max@debiantest:~$ dpkg -s console-setup
Package: console-setup
Status: install ok installed
maxnet commented 5 years ago

As far as the dependency goes, it is caused by our script that steals the timezone and keyboard settings from the running operating system, and copies them to the operating system image being installed.

You can alter the script if the odroid image stores the keyboard settings somewhere else: https://github.com/raspberrypi/piserver/blob/master/scripts/postinstall.sh