Removing these lines seem to fix things: // close Forked stdout and the read end of the pipe close(1);
I wonder what it was trying to accomplish in the first place... -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to qapt in ubuntu. https://bugs.launchpad.net/bugs/680328 Title: Many postinst scripts fail using either AptDaemon, PackageKit, or QApt -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs