[Bug 1236673] Re: Gives unfriendly error message when try to install without appropriate permissions
Apport retracing service
1236673 at bugs.launchpad.net
Tue Oct 8 03:00:04 UTC 2013
** Tags removed: need-duplicate-check
** Changed in: click (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1236673
Title:
Gives unfriendly error message when try to install without appropriate
permissions
Status in “click” package in Ubuntu:
New
Bug description:
Click gives an unfriendly error message when trying to install without
appropriate permissions
$ click install com.ubuntu.developer.robert-ancell.euchre_0.4_all.click
Traceback (most recent call last):
File "/usr/bin/click", line 83, in <module>
sys.exit(main())
File "/usr/bin/click", line 79, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/install.py", line 51, in run
package_path, user=options.user, all_users=options.all_users)
File "/usr/lib/python3/dist-packages/click/install.py", line 279, in install
self._check_write_permissions(self.db.overlay)
File "/usr/lib/python3/dist-packages/click/install.py", line 257, in _check_write_permissions
"No permission to write to %s as clickpkg user" % path)
click.install.ClickInstallerPermissionDenied: No permission to write to /opt/click.ubuntu.com as clickpkg user
Works when running as root:
bob at alchemy:~/bzr/euchre/click$ sudo click install com.ubuntu.developer.robert-ancell.euchre_0.4_all.click
Selecting previously unselected package com.ubuntu.developer.robert-ancell.euchre.
(Reading database ... 0 files and directories currently installed.)
Unpacking com.ubuntu.developer.robert-ancell.euchre (from com.ubuntu.developer.robert-ancell.euchre_0.4_all.click) ...
Setting up com.ubuntu.developer.robert-ancell.euchre (0.4) .
ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: click 0.4.10
ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
Uname: Linux 3.11.0-11-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
CheckboxSubmission: e440e09ef58a53bccc45087674ba6b8e
CheckboxSystem: d00f84de8a555815fa1c4660280da308
Date: Tue Oct 8 15:56:53 2013
ExecutablePath: /usr/bin/click
InstallationDate: Installed on 2011-04-01 (921 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
ProcCmdline: /usr/bin/python3 /usr/bin/click install com.ubuntu.developer.robert-ancell.euchre_0.4_all.click
PythonArgs: ['/usr/bin/click', 'install', 'com.ubuntu.developer.robert-ancell.euchre_0.4_all.click']
SourcePackage: click
Title: click crashed with click.install.ClickInstallerPermissionDenied in _check_write_permissions(): No permission to write to /opt/click.ubuntu.com as clickpkg user
UpgradeStatus: Upgraded to saucy on 2011-07-05 (825 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1236673/+subscriptions
More information about the foundations-bugs
mailing list