Public bug reported:
I can install packages using aptdcon -i via the graphical login.
When logged in via a non graphical local login, or via ssh, the user is
unable to install packages with the error:
$ aptdcon -i xclip
The following NEW package will be installed (1):
xclip
Do you want to continue [Y/n]?y
ERROR: You are not allowed to perform this action.
('system-bus-name', {'name': ':1.194'}): org.debian.apt.install-or-
remove-packages
The contents of the file I use to enable this policy are below:
cat /etc/polkit-1/localauthority/50-local.d/10-allow-users-to-install.pkla
[Untrusted Install]
Identity=unix-user:testing
Action=org.debian.apt.install-packages
ResultActive=auth_self
ResultInactive=auth_self
[Untrusted Install or Remove]
Identity=unix-user:testing
Action=org.debian.apt.install-or-remove-packages
ResultActive=auth_self
ResultInactive=auth_self
[Untrusted Update]
Identity=unix-user:testing
Action=org.debian.apt.update-cache
ResultInactive=auth_self
ResultActive=auth_self
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: policykit-1 0.104-1ubuntu1.1
ProcVersionSignature: Ubuntu 3.11.0-19.33~precise1-generic 3.11.10.5
Uname: Linux 3.11.0-19-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Apr 14 18:23:49 2014
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/sh
SourcePackage: policykit-1
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: policykit-1 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise running-unity
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to policykit-1 in Ubuntu.
https://bugs.launchpad.net/bugs/1307626
Title:
ResultInactive does not seem to work for Action=org.debian.apt
.install-or-remove-packages
Status in “policykit-1” package in Ubuntu:
New
Bug description:
I can install packages using aptdcon -i via the graphical login.
When logged in via a non graphical local login, or via ssh, the user
is unable to install packages with the error:
$ aptdcon -i xclip
The following NEW package will be installed (1):
xclip
Do you want to continue [Y/n]?y
ERROR: You are not allowed to perform this action.
('system-bus-name', {'name': ':1.194'}): org.debian.apt.install-or-
remove-packages
The contents of the file I use to enable this policy are below:
cat /etc/polkit-1/localauthority/50-local.d/10-allow-users-to-install.pkla
[Untrusted Install]
Identity=unix-user:testing
Action=org.debian.apt.install-packages
ResultActive=auth_self
ResultInactive=auth_self
[Untrusted Install or Remove]
Identity=unix-user:testing
Action=org.debian.apt.install-or-remove-packages
ResultActive=auth_self
ResultInactive=auth_self
[Untrusted Update]
Identity=unix-user:testing
Action=org.debian.apt.update-cache
ResultInactive=auth_self
ResultActive=auth_self
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: policykit-1 0.104-1ubuntu1.1
ProcVersionSignature: Ubuntu 3.11.0-19.33~precise1-generic 3.11.10.5
Uname: Linux 3.11.0-19-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Apr 14 18:23:49 2014
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/sh
SourcePackage: policykit-1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1307626/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp