Gdebi-kde can't install packages whose path contains brackets or spaces or other special characters.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdebi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:/
/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/
The /home/apple/
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/
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.
Changed in gdebi: | |
status: | Fix Released → Confirmed |
Confirm on KDE 3.5.x and Hardy.
The Desktop folder is translated to 'Työpöytä' in Finnish and this makes gdebi-kde fail when trying to install.