[Bug 1312100] [NEW] dpkg "trying to overwrite '<file>' , which is also in package <pkg>" error message is not multi-arch compliant
Michael Schaller
misch at google.com
Thu Apr 24 10:30:36 UTC 2014
Public bug reported:
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-conflict-i386-2_1_i386.deb ...
Unpacking deb-file-conflict-i386-2 (1) ...
dpkg: error processing archive deb-file-conflict-i386-2_1_i386.deb (--install):
trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1 1
Errors were encountered while processing:
deb-file-conflict-i386-2_1_i386.deb
The correct output on an amd64 install would be:
Preparing to unpack deb-file-conflict-i386-2_1_i386.deb ...
Unpacking deb-file-conflict-i386-2:i386 (1) ...
dpkg: error processing archive deb-file-conflict-i386-2_1_i386.deb (--install):
trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1:i386 1
Errors were encountered while processing:
deb-file-conflict-i386-2_1_i386.deb
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
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Tags: trusty
** Description changed:
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:
+ Current/faulty output from an amd64 install:
Preparing to unpack deb-file-conflict-i386-2_1_i386.deb ...
Unpacking deb-file-conflict-i386-2 (1) ...
dpkg: error processing archive deb-file-conflict-i386-2_1_i386.deb (--install):
- trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1 1
+ trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1 1
Errors were encountered while processing:
- deb-file-conflict-i386-2_1_i386.deb
+ deb-file-conflict-i386-2_1_i386.deb
- The correct output would be:
+ The correct output on an amd64 install would be:
Preparing to unpack deb-file-conflict-i386-2_1_i386.deb ...
Unpacking deb-file-conflict-i386-2:i386 (1) ...
dpkg: error processing archive deb-file-conflict-i386-2_1_i386.deb (--install):
- trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1:i386 1
+ trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1:i386 1
Errors were encountered while processing:
- deb-file-conflict-i386-2_1_i386.deb
+ deb-file-conflict-i386-2_1_i386.deb
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 changed:
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-conflict-i386-2_1_i386.deb ...
Unpacking deb-file-conflict-i386-2 (1) ...
dpkg: error processing archive deb-file-conflict-i386-2_1_i386.deb (--install):
trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1 1
Errors were encountered while processing:
deb-file-conflict-i386-2_1_i386.deb
The correct output on an amd64 install would be:
Preparing to unpack deb-file-conflict-i386-2_1_i386.deb ...
Unpacking deb-file-conflict-i386-2:i386 (1) ...
dpkg: error processing archive deb-file-conflict-i386-2_1_i386.deb (--install):
trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1:i386 1
Errors were encountered while processing:
deb-file-conflict-i386-2_1_i386.deb
- 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.
+ 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
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1312100
Title:
dpkg "trying to overwrite '<file>' , which is also in package <pkg>"
error message is not multi-arch compliant
Status in “dpkg” package in Ubuntu:
New
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-conflict-i386-2_1_i386.deb ...
Unpacking deb-file-conflict-i386-2 (1) ...
dpkg: error processing archive deb-file-conflict-i386-2_1_i386.deb (--install):
trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1 1
Errors were encountered while processing:
deb-file-conflict-i386-2_1_i386.deb
The correct output on an amd64 install would be:
Preparing to unpack deb-file-conflict-i386-2_1_i386.deb ...
Unpacking deb-file-conflict-i386-2:i386 (1) ...
dpkg: error processing archive deb-file-conflict-i386-2_1_i386.deb (--install):
trying to overwrite '/var/lib/conflicting-file/conflicting-file', which is also in package deb-file-conflict-i386-1:i386 1
Errors were encountered while processing:
deb-file-conflict-i386-2_1_i386.deb
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1312100/+subscriptions
More information about the foundations-bugs
mailing list