{pts/1}% sudo urpmi initscripts To satisfy dependencies, the following packages are going to be installed (1 MB): initscripts-5.96-2mdk iproute2-2.2.4-9mdk Is it ok? (Y/n) installing /mnt/hd/cooker/i586/Mandrake/RPMS/iproute2-2.2.4-9mdk.i586.rpm /mnt/hd/cooker/i586/Mandrake/RPMS/initscripts-5.96-2mdk.i586.rpm Preparing... ################################################################################################### [100%] ################################################################################################### [ 50%] ################################################################################################### [100%] /var/tmp/rpm-tmp.97296: line 1: syntax error near unexpected token `if' /var/tmp/rpm-tmp.97296: line 1: `if [ $1 = 0 ]; then service random stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del random; fi if [ $1 = 0 ]; then service netfs stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del netfs; fi if [ $1 = 0 ]; then service network stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del network; fi if [ $1 = 0 ]; then service rawdevices stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del rawdevices; fi if [ $1 = 0 ]; then service usb stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del usb; fi if [ $1 = 0 ]; then service sound stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del sound; fi if [ $1 = 0 ]; then service alsa stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del alsa; fi if [ $1 = 0 ]; then service kheader stop > /dev/null 2>/dev/null || :; /sbin/chkconfig --del kheader; fi' error: execution of %preun scriptlet from initscripts-5.87-3mdk failed, exit status 2 I guess, the problem is `... fi if ...'. A semicolon is needed inbetween. -andrej