[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get install in hooks



Hello,

I'm using hooks in my debian-live in wheezy.

I've tried to install software in very simple script:

#!/bin/sh
echo "HOOK: install htop"

apt-get update
apt-get install htop

But Processing triggers for man-db complitly crashes system. I must
hardly restart machine.

I can make apt-get update in hooks and manualy install package after
login, but I want to change list of packages automaticly.

For me it's a good way to configure debian without repacking squashfs
and making personal configuration, isn't it?

Thanks for help.

Kamil Czekirda


Reply to: