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

Bug#3020: amd has bad update-rc.d call.

Package: amd
Version: upl102-2

The line in the postinstall script:

     update-rc.d amd 35 >/dev/null

Generates the following error:

    update-rc.d: error: unknown mode or add action 35.
    usage: update-rc.d <basename> remove
	   update-rc.d <basename> defaults [<cn> | <scn> <kcn>]
	   update-rc.d <basename> start|stop <cn> <r> <r> .  ...

Adding the argument defaults corrects this:

     # update-rc.d amd defaults 35
      Adding system startup links pointing to /etc/init.d/amd ...
	rc2.d/S35amd -> ../init.d/amd
	rc3.d/S35amd -> ../init.d/amd
	rc4.d/S35amd -> ../init.d/amd
	rc5.d/S35amd -> ../init.d/amd
	rc0.d/K35amd -> ../init.d/amd
	rc1.d/K35amd -> ../init.d/amd
	rc6.d/K35amd -> ../init.d/amd

The update-rc.d comes from dpkg 1.1.6elf


Alvar Bray

Meiko Limited      Phone: +44 1454 855222   E-Mail: alvar@meiko.co.uk
650 Aztec West     Fax:   +44 1454 855223           alvar@netcity.co.uk
Bristol BS12 4SD                                    alvar@debian.org

Reply to: