dpkg "trying to overwrite '<file>' , which is also in package <pkg>" error message is not multi-arch compliant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi everyone,
On Trusty the dpkg error message "trying to overwrite '<file>' , which is also in package <pkg>" is not multi-arch compliant because it lacks the architecture of foreign packages.
Current/faulty output from an amd64 install:
Preparing to unpack deb-file-
Unpacking deb-file-
dpkg: error processing archive deb-file-
trying to overwrite '/var/lib/
Errors were encountered while processing:
deb-file-
The correct output on an amd64 install would be:
Preparing to unpack deb-file-
Unpacking deb-file-
dpkg: error processing archive deb-file-
trying to overwrite '/var/lib/
Errors were encountered while processing:
deb-file-
This faulty error message makes it harder to fix conflicting file issues because the error message can be misleading. Furthermore this is a regression as the error message in Precise shows the architecture.
Best,
Michael
description: | updated |
description: | updated |