[Bug 785117] Re: [MASTER] silently fails to install software after PolicyKit error
Selene Scriven
selene.scriven at canonical.com
Mon Aug 15 13:07:01 UTC 2011
To clarify, there are two bugs here. One is that Software Center
doesn't work without PolicyKit running (could use gksu or similar as a
fallback), and the other is that Software Center doesn't show an error
to the user if there is an unhandled exception.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/785117
Title:
[MASTER] silently fails to install software after PolicyKit error
Status in “software-center” package in Ubuntu:
Triaged
Bug description:
Whenever the policykit authentication agent isn't running (ie failsafe
sessions, custom sessions etc), then the install/remove buttons
briefly become insensitive, after which the transaction fails and the
buttons become sensitive again.
---
If I try to install software with Software Center, nothing happens
aside from dumping some errors to the shell I ran it from. The
install button greys out for a moment then goes back to its original
state. This is on Ubuntu 11.04 with software-center 4.0.1 and
policykit-1-gnome 0.99-1ubuntu4.
I suspect this probably has something to do with me not running gnome,
kde, xfce, or any other desktop environment. I have a window manager
(sawfish) and that's about it.
Steps to reproduce:
1. Run software-center from a terminal of some sort.
2. Select a package.
3. Click "Install".
Actual results:
Errors dumped to parent shell, and then the Install button goes back to a normal, clickable state.
Expected results:
User is asked for sudo password, then software is installed.
If anything goes wrong, Software Center should notify the user through its GUI in case they aren't running it from a shell. (dumping errors to the shell is also okay, but shouldn't be the sole error-reporting mechanism)
Additional information: attached below
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/785117/+subscriptions
More information about the foundations-bugs
mailing list