gdebi should have a option to define what authentication backend to use (gksu/gksudo/something-else) without patching the source
Bug #44288 reported by
Elliott Hughes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdebi |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
running gdebi-gtk 0.1.5 from nautilus on Debian testing/unstable (i don't have Dapper Drake yet), i get the prompt "Enter your password to install 'whatever'", but the error message i get when i type my password implies (seemingly correctly) that i'm being asked for the *root* password.
this is unfortunate because (a) it's misleading and (b) it doesn't help me if i'm in sudoers but don't actually have root's password. so ideally the fix would be to require my password rather than to correct the message in the dialog ;-)
To post a comment you must log in.
here's a patch:
--- /usr/lib/ python2. 3/site- packages/ GDebi/GDebi. py.orig 2006-05-11 17:19:56.000000000 -0700 python2. 3/site- packages/ GDebi/GDebi. py 2006-05-11 17:32:15.000000000 -0700
msg= "<b><big> %s</big> </b>" % \
(_("Enter your password to install '%s'") % self._deb.pkgName) "/usr/bin/ gksu", "gksu", "-m", msg, "/usr/bin/ gksudo" , "gksudo", "-m", msg,
"- -", "gdebi-gtk", "--non- interactive" ,
self. _deb.file)
+++ /usr/lib/
@@ -350,7 +350,7 @@
if res == gtk.RESPONSE_OK:
- os.execl(
+ os.execl(
return
--elliott