On 29/12/13 09:01 AM, Frank McCormick wrote:
On 29/12/13 04:32 AM, Sven Joachim wrote:On 2013-12-29 10:18 +0100, Andrei POPESCU wrote:On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote: ...Unpacking mate-polkit-common (1.6.0-1) ... dpkg: error processing archive /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack): trying to overwrite '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which is also in package mate-polkit:i386 1.6.0-1 Errors were encountered while processing: /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)Fixed it..thanks to dpkg --force-overwriteYou should probably report it.That would have been my advice as well, but the mate-polkit package in the archive does not contain the offending file. Frank, where did you get it from?Because the file was still there from earlier this year I didn't get it from anywhere. I first ran dpkg --configure -a...that configured the half-installed packages...then I ran dpkg with force-overwrite. I guess because the offending file wasn't in the package nothing got overwritten. I don't fully understand why the whole episode happened. I'll file a bug.
This is the answer from maintainers: That happens when trying to update the package when using the MATE Debian repository at the same time and is hard to avoid since the MATE repositories contain "mate-polkit" while Debian has split the package into "mate-polkit" and "mate-polkit-common". We could maybe add a "Breaks" here, but mixing different repositories is problematic anyways. As a hotfix, you can run: apt-get -o Dpkg::Options::="--force-overwrite" -f install which will allow mate-polkit-common to overwrite files from the existing mate-polkit package installed through MATE's Debian repository. Frank