[Bug 1334611] [NEW] Can't update click if we have previously installed packages for users that were later deleted

Launchpad Bug Tracker 1334611 at bugs.launchpad.net
Thu Jun 26 11:15:57 UTC 2014


You have been subscribed to a public bug:

Earlier I tried to install a new version of click and was met with the
following error:

brendand at brendand-yoga:~$ sudo apt-get install click
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_0.4.28_amd64.deb ...
  Traceback (most recent call last):
    File "/usr/bin/click", line 86, in <module>
      sys.exit(main())
    File "/usr/bin/click", line 82, in main
      return mod.run(args)
    File "/usr/lib/python3/dist-packages/click/commands/hook.py", line 63, in run
      getattr(hook, per_hook_subcommands[subcommand])(user_name=None)
    gi._glib.GError: Cannot get password file entry for redacted: Success
    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.exit(main())
    File "/usr/bin/click", line 82, in main
      return mod.run(args)
    File "/usr/lib/python3/dist-packages/click/commands/hook.py", line 63, in run
      getattr(hook, per_hook_subcommands[subcommand])(user_name=None)
   gi._glib.GError: Cannot get password file entry for redacted: Success
   dpkg: error processing archive /var/cache/apt/archives/click_0.4.28_amd64.deb (--unpack):
   subprocess new pre-removal script returned error exit status 1
   Errors were encountered while processing:
   /var/cache/apt/archives/click_0.4.28_amd64.deb
   E: Sub-process /usr/bin/dpkg returned an error code (1)

As per Colin Watsons request, here are the contents of
/opt/click.ubuntu.com: http://paste.ubuntu.com/7705310/

** Affects: click (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Can't update click if we have previously installed packages for users that were later deleted
https://bugs.launchpad.net/bugs/1334611
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to click in Ubuntu.



More information about the foundations-bugs mailing list