[Bug 1232066] Re: click unregister on preinstalled app causes exception
Launchpad Bug Tracker
1232066 at bugs.launchpad.net
Mon Sep 30 15:40:58 UTC 2013
This bug was fixed in the package click - 0.4.9
---------------
click (0.4.9) saucy; urgency=low
* Explicitly build-depend on pkg-config, since it's needed even if the
PackageKit/GLib-related build-dependencies are removed for backporting.
* Remove some stray documentation references to Ubuntu 13.04.
* Ensure that the user's overlay database directory exists when
unregistering a preinstalled package (LP: #1232066).
* Support packages containing code for multiple architectures, and
document the "architecture" manifest field (LP: #1214380, #1214864).
* Correctly pass through return values of commands as the exit status of
the "click" wrapper.
* Extend "click info" to take a registered package name as an alternative
to a path to a Click package file (LP: #1232118).
* Force unpacked files to be owner-writeable (LP: #1232128).
-- Colin Watson <cjwatson at ubuntu.com> Mon, 30 Sep 2013 15:24:49 +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/1232066
Title:
click unregister on preinstalled app causes exception
Status in “click” package in Ubuntu:
Fix Released
Bug description:
Hi,
when tring to use unity-scope-click to remove a preinstalled package (dropping-letters) I get a pkcon error in the scope; there's a click crash file with a traceback:
PythonArgs: ['/usr/bin/click', 'unregister', '--user=phablet', 'com.ubuntu.dropp
ing-letters', '0.1.2.2']
Traceback:
Traceback (most recent call last):
File "/usr/bin/click", line 84, in <module>
sys.exit(main())
File "/usr/bin/click", line 79, in main
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
osextras.symlink_force(HIDDEN_VERSION, path)
File "/usr/lib/python3/dist-packages/click/osextras.py", line 77, in symlink_
force
os.symlink(source, link_name)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/click.ubuntu.com/
.click/users/phablet/com.ubuntu.dropping-letters'
Indeed, /opt/click.u.c is empty and .click doesn't exist there.
Cheers,
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1232066/+subscriptions
More information about the foundations-bugs
mailing list