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

Bug#555463: libc6: Upgrade to 2.10.1-6 fails with "/etc/init.d/-query not found



Hello,

I had similar problem,

I found, that  there is probably a typo in post-remove script:

   /var/lib/dpkg/info/libc6.postinst

about line 166:

   invoke-rc.d -query ${service} start ; status=$?

there should probably be two hyphens before "query":

   invoke-rc.d --query ${service} start ; status=$?

After that correction, the script still didn't work for me,
until I've surrounded this line with "set +e ... set -e".

Finally, I've replaced that single line, with three as fillows:

           set +e
           invoke-rc.d --query ${service} start ; status=$?
           set -e

It seems to work, but I'm uncertain about side effects.

Regards!

--
Pawel Tomulik




Reply to: