← Back to team overview

touch-packages team mailing list archive

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

 

** Branch linked: lp:ubuntu/utopic-proposed/click

-- 
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/1334611

Title:
  Can't update click if we have previously installed packages for users
  that were later deleted

Status in “click” package in Ubuntu:
  In Progress

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

  brendand@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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1334611/+subscriptions