Can't update click if we have previously installed packages for users that were later deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Earlier I tried to install a new version of click and was met with the following error:
brendand@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
click
1 to upgrade, 0 to newly install, 0 to remove and 790 not to upgrade.
4 not fully installed or removed.
Need to get 0 B/13.4 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 351473 files and directories currently installed.)
Preparing to unpack .../click_
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/
getattr(hook, per_hook_
gi.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/
getattr(hook, per_hook_
gi._glib.GError: Cannot get password file entry for redacted: Success
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/
E: Sub-process /usr/bin/dpkg returned an error code (1)
As per Colin Watsons request, here are the contents of /opt/click.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Colin Watson: Approve
-
Diff: 88 lines (+28/-14)3 files modifiedclick/tests/test_database.py (+21/-13)
click/tests/test_hooks.py (+3/-1)
lib/click/user.vala (+4/-0)
- Colin Watson: Approve
- Ubuntu CI managed package branches: Pending requested
-
Diff: 485 lines (+269/-70)11 files modifiedREADME (+1/-0)
click/build.py (+10/-22)
click/framework.py (+138/-0)
click/install.py (+8/-28)
click/paths.py.in (+1/-0)
click/tests/helpers.py (+29/-0)
click/tests/test_build.py (+39/-5)
click/tests/test_install.py (+2/-4)
debian/changelog (+8/-0)
doc/file-format.rst (+1/-2)
doc/index.rst (+32/-9)
affects: | click → click (Ubuntu) |
Changed in click (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in click (Ubuntu): | |
status: | Triaged → In Progress |
This bug was fixed in the package click - 0.4.30
---------------
click (0.4.30) utopic; urgency=medium
[ Colin Watson ]
* Add many more unit tests to fill in some gaps in the coverage report.
[ Michael Vogt ] user_names( )
* Exclude non-existing users from User.get_
(LP: #1334611)
[ Zoltan Balogh ] ui-toolkit- doc to
* Add a set of APIs to the 14.10 frameworks. Add ubuntu-
all frameworks.
[ Ubuntu daily release ]
* New rebuild forced
-- Ubuntu daily release <email address hidden> Wed, 06 Aug 2014 23:33:22 +0000