I faced a problem: dpkg says that preinst script fails with exit code 1 but I see no output. I looked into script itselt (dpkg -e
) and found what's wrong. But if there were output of preinst script, the problem would be revealed clearly!
Maybe there is some param or --debug
value for dpkg
?
Good way is check /var/log/dpkg.log when something already goes wrong.
Also:
man dpkg
say: