[Bug 1291192] Re: click hook run-user fails when booting image 233

Colin Watson cjwatson at canonical.com
Wed Mar 12 10:30:21 UTC 2014


I expect this depends whether you previously had any apps unpacked at
all.

If you've created directories by hand to work around this, please be
careful to get their ownership right to avoid future issues (I make no
promises about handling this automatically if you've created directories
by hand with incorrect ownership):

root at ubuntu-phablet:/# ls -dl /opt/click.ubuntu.com/
drwxr-xr-x 14 clickpkg clickpkg 4096 Mar 12 10:15 /opt/click.ubuntu.com/
root at ubuntu-phablet:/# ls -dl /opt/click.ubuntu.com/.click/
drwxr-xr-x 3 clickpkg clickpkg 4096 Mar  6 12:55 /opt/click.ubuntu.com/.click/
root at ubuntu-phablet:/# ls -dl /opt/click.ubuntu.com/.click/users/
drwxr-xr-x 3 clickpkg clickpkg 4096 Mar  6 12:55 /opt/click.ubuntu.com/.click/users/
root at ubuntu-phablet:/# ls -dl /opt/click.ubuntu.com/.click/users/phablet/
drwxr-xr-x 2 phablet phablet 4096 Mar 12 10:15 /opt/click.ubuntu.com/.click/users/phablet/

-- 
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/1291192

Title:
  click hook run-user fails when booting image 233

Status in “click” package in Ubuntu:
  New

Bug description:
  click-user-hooks fails when starting the phablet session, making it
  unable to start any click packages:

  Error (also from the crash file):

  Traceback (most recent call last):
    File "/usr/bin/click", line 86, in <module>
      sys.exit(main())
    File "/usr/bin/click", line 82, in main
      return mod.run(args)
    File "/usr/lib/python3/dist-packages/click/commands/hook.py", line 74, in run
      Click.run_user_hooks(db, user_name=options.user)
  gi._glib.GError: symlink /opt/click.ubuntu.com/.click/users/phablet/.com.ubuntu.calculator.new -> /usr/share/click/preinstalled/com.ubuntu.calculator/0.1.3.224 failed: No such file or directory

  It seems that this error happens because phablet is unable to create any file/dir at /opt/click.ubuntu.com:
  $ ls -l /opt/
  total 4
  drwxr-xr-x 2 clickpkg clickpkg 4096 Mar 12 04:00 click.ubuntu.com

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1291192/+subscriptions



More information about the foundations-bugs mailing list