[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg: error: duplicate file trigger interest for filename `/usr/lib/gtk-2.0/2.10.0/immodules' and package `libgtk2.0-0:amd64'

2012/6/24 Steve Langasek <steve.langasek@ubuntu.com>:
> Hi there,
> In this case, please report a bug against the dpkg package in launchpad by
> using the command 'ubuntu-bug dpkg' from the affected system, and attach the
> files /var/lib/dpkg/triggers/File and /var/log/apt/term.log to the bug
> report.
I've reported it to https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1017031.
> To fix up your dpkg database, the following shell command should suffice:
>  sed -n -e"s,/,\\\\\\\\/,g; s/:$(dpkg --print-architecture)$//p " \
>       /var/lib/dpkg/triggers/File \
>  | while read line; do
>      sudo sed -i -e"/^$line$/d" /var/lib/dpkg/triggers/File
>  done
> Please file a bug report *first* before running this command, as this
> modifies the contents of /var/lib/dpkg/triggers/File and we need to see the
> original file from your system to correctly debug this.
Yes, it saved me. Thank you!

Reply to: