Small correction to get the right zz-fail file (needs to escape $),
please run:

$ sudo tee /etc/kernel/postinst.d/zz-fail <<EOF
#!/bin/sh -e

# Avoid running multiple times
if [ -n "\$DEB_MAINT_PARAMS" ]; then
    eval set -- "\$DEB_MAINT_PARAMS"
    if [ -z "\$1" ] || [ "\$1" != "configure" ]; then
        exit 0
    fi
fi

exit 1
EOF

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647638

Title:
  W: APT had planned for dpkg to do more than it reported back

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1647638/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to