touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #00303
[Bug 1225023] Re: Manually removing packages without removing user symlinks causes chaos
[Expired for click (Ubuntu) because there has been no activity for 60
days.]
** Changed in: click (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1225023
Title:
Manually removing packages without removing user symlinks causes chaos
Status in “click” package in Ubuntu:
Expired
Bug description:
If somebody is incautiously advised to remove /opt/click.ubuntu.com/*
as part of trying to figure out a problem with the click scope, then
"click list" gets very confused because the symlinks under
/opt/click.ubuntu.com/.click/ are still there but are now dangling.
phablet@ubuntu-phablet:/$ click list --manifest
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/list.py", line 59, in run
for package, version, path, writeable in list_packages(options):
File "/usr/lib/python3/dist-packages/click/commands/list.py", line 40, in list_packages
package, version, registry.path(package),
File "/usr/lib/python3/dist-packages/click/user.py", line 297, in path
(package, self.user))
KeyError: 'com.ubuntu.developer.dgalg.wordchain does not exist in any database for user phablet'
This is not really a valid thing to do, especially now that click
supports proper package removal, but it would be nice to fail less
badly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1225023/+subscriptions