[Bug 1233280] Re: Permission error while removing preinstalled click before installing any other click

Launchpad Bug Tracker 1233280 at bugs.launchpad.net
Mon Sep 30 18:04:47 UTC 2013


This bug was fixed in the package click - 0.4.10

---------------
click (0.4.10) saucy; urgency=low

  * When removing packages, only drop privileges after ensuring the
    existence of the database directory (LP: #1233280).
 -- Colin Watson <cjwatson at ubuntu.com>   Mon, 30 Sep 2013 18:12:14 +0100

** Changed in: click (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  Permission error while removing preinstalled click before installing
  any other click

Status in “click” package in Ubuntu:
  Fix Released

Bug description:
  Hi,

  Removing dropping letter on freshly written image (70), I get this traceback in a crash file, and a pkcon error reported in the scope:
   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/unregister.py", line 57,
  in run
       registry.remove(package)
     File "/usr/lib/python3/dist-packages/click/user.py", line 295, in remove
       self._ensure_db()
     File "/usr/lib/python3/dist-packages/click/user.py", line 157, in _ensure_db
       self._users._ensure_db()
     File "/usr/lib/python3/dist-packages/click/user.py", line 89, in _ensure_db
       os.mkdir(path)
   PermissionError: [Errno 13] Permission denied: '/opt/click.ubuntu.com/.click'

  ls -l /opt/click.ubuntu.com/ -a
  drwxr-xr-x 2 clickpkg clickpkg 4096 Sep 29 07:57 .
  drwxr-xr-x 3 root     root     4096 Sep 30 16:38 ..

  Cheers,

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



More information about the foundations-bugs mailing list