Manually removing packages without removing user symlinks causes chaos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
If somebody is incautiously advised to remove /opt/click.
phablet@
Traceback (most recent call last):
File "/usr/bin/click", line 84, in <module>
sys.
File "/usr/bin/click", line 79, in main
mod.run(args)
File "/usr/lib/
for package, version, path, writeable in list_packages(
File "/usr/lib/
package, version, registry.
File "/usr/lib/
(package, self.user))
KeyError: 'com.ubuntu.
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.
Changed in click (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
This appears to be no longer a issue, if I follow the steps outlined above I get:
$ click list --manifest
** (process:19378): WARNING **: user.vala:724: com.ubuntu. calculator 1.3.237 does not exist in any database
[]
which sounds entirely reasonable to me. Please let me know if there is more to do or if I can close this bug.