Public bug reported: Using Ubuntu 15.04, alien package version 8.93
I was converting an RPM to a deb and supplied --scripts so that it generates the prerm/postinst etc... scripts when installing. It created the .deb successfully but the postrm and preinst scripts produced an error during install. In postrm there is an if statement on line 9 which uses "-eq" to check if 0 and then removes some installed files. From what I've read the support scripts are called with strings for the first argument, Changed it to "if [ "$1" = "remove" ];" and that worked as expected. The same goes for preinst but it should check for "install" (I'm assuming there are more instances where this occurs). The file I used was the "QConvergeConsole CLI for Linux (x64)" from http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/SearchByProduct.aspx?ProductCategory=39&Product=935&Os=65 I would attach the RPM but I doubt QLogic would be happy me redistributing their software. ** Affects: alien (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1529504 Title: Alien postinst/prerm scripts expecting integer argument To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alien/+bug/1529504/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs