[+] gdebi-gtk wyłacza się przy próbie instalacji pakietu deb
: 28 maja 2009, 20:50
Niestety na Debianie Sid nie działa poprawnie gdebi, problem jest ten, kiedy otwieram jakąś paczkę .deb, program się uruchamia ale kiedy klikam zainstaluj program się po prost się wyłącza, nie tak jak na Ubuntu gdzie pojawiało się okienko do wpisania hasło roota. W konsoli otrzymuję coś takiego:
Jak widać problem leży w gksu, wiem że można gdebi uruchamiać jako root ale to jest nie wygodne, czy da coś zrobić żeby to było tak jak w Ubuntu?
Kod: Zaznacz cały
dragonn@debian:~$ gdebi-gtk '/home/dragonn/Pobieranie/gedit-common_2.26.1-1_all.deb'
/usr/lib/python2.5/site-packages/GDebi/DebPackage.py:253: DeprecationWarning: Accessed deprecated property Package.installedVersion, please see the Version class for alternatives.
cachever = self._cache[pkgname].installedVersion
/usr/lib/python2.5/site-packages/GDebi/DebPackage.py:255: DeprecationWarning: Accessed deprecated property Package.candidateVersion, please see the Version class for alternatives.
cachever = self._cache[pkgname].candidateVersion
gksu: unrecognized option '--always-ask-pass'
GKsu version 2.0.2
Usage: gksu [-u <user>] [options] <command>
--debug, -d
Print information on the screen that might be
useful for diagnosing and/or solving problems.
--user <user>, -u <user>
Call <command> as the specified user.
--disable-grab, -g
Disable the "locking" of the keyboard, mouse,
and focus done by the program when asking for
password.
--prompt, -P
Ask the user if they want to have their keyboard
and mouse grabbed before doing so.
--preserve-env, -k
Preserve the current environments, does not set $HOME
nor $PATH, for example.
--login, -l
Make this a login shell. Beware this may cause
problems with the Xauthority magic. Run xhost
to allow the target user to open windows on your
display!
--description <description|file>, -D <description|file>
Provide a descriptive name for the command to
be used in the default message, making it nicer.
You can also provide the absolute path for a
.desktop file. The Name key for will be used in
this case.
--message <message>, -m <message>
Replace the standard message shown to ask for
password for the argument passed to the option.
Only use this if --description does not suffice.
--print-pass, -p
Ask gksu to print the password to stdout, just
like ssh-askpass. Useful to use in scripts with
programs that accept receiving the password on
stdin.
dragonn@debian:~$