Public bug reported: Binary package hint: gdebi-kde
This happens because it seems to be handling the package path improperly. When we click on Install then it seems that gdebi-kde re- launches itself but via sudo. It also passes the package's path, and it seems that the path is NOT enclosed in quotes. Hence, when the path containing spaces are sent then it fails to find the package during installation (as reported by https://bugs.launchpad.net/ubuntu/+source/gdebi/+bug/152856), and when the path contains parenthesis ( '(' or ')' ) then bash throws syntax and quits. The error I get when the path contains parenthesis is below:- /bin/bash: -c: line 0: syntax error near unexpected token `(' /bin/bash: -c: line 0: `sudo -H -S -p passprompt gdebi-kde -n /home/apple/Files/New/CLAM (Audio tools)/clam-smstools_0.4.9~svn11102-1_i386.deb ' The /home/apple/Files/New/CLAM (Audio tools)/clam- smstools_0.4.9~svn11102-1_i386.deb should have been in quotes as "/home/apple/Files/New/CLAM (Audio tools)/clam- smstools_0.4.9~svn11102-1_i386.deb". My speculation is that, because of this bug the path which contains other special characters like curly braces ({ or }) too should run into problems. I have gdebi-kde 0.3.2ubuntu1 installed, on a Kubuntu Gutsy Gibbon (7.10) OS. ==== PATCH ==== File to edit /usr/share/pycentral/gdebi-kde/site-packages/GDebi/GDebiKDE.py Search for the line :- "gdebi-kde -n " + self._deb.file) It should be on line 215. Replace the portion shown above with the one shown below "gdebi-kde -n \"" + self._deb.file + "\"") This should fix the bug. ** Affects: gdebi (Ubuntu) Importance: Undecided Status: New -- Gdebi-kde can't install packages whose path contains brackets or spaces or other special characters. https://bugs.launchpad.net/bugs/196030 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
