[Pkg-acpi-devel] Bug#591815: Bug only an issue for the same source package, installed at the same time?

David Eccles (gringer) dhgringer at gmail.com
Sat Aug 7 01:11:10 UTC 2010


I had a go at changing the manpage for acpi-support to cat.1, and it seems like
there are safeguards to prevent that, so this is probably only a problem for
packages that have the same source package. I guess it is assumed that whoever
makes the source packages should really know better:

# dpkg -i acpi-support_0.137-3_all.deb
(Reading database ... 261993 files and directories currently installed.)
Preparing to replace acpi-support 0.137-3 (using acpi-support_0.137-3_all.deb) ...
Unpacking replacement acpi-support ...
dpkg: error processing acpi-support_0.137-3_all.deb (--install):
 trying to overwrite '/usr/share/man/man1/cat.1.gz', which is also in package
coreutils 8.5-1
Processing triggers for man-db ...
Errors were encountered while processing:
 acpi-support_0.137-3_all.deb

And curiously, also only a problem when installing the packages as a unit. When
installing an unmodified acpi-support alone (after it had already been
installed), dpkg complains about trying to overwrite files from another package:

# dpkg -i acpi-support_0.137-3_all.deb
(Reading database ... 261993 files and directories currently installed.)
Preparing to replace acpi-support 0.137-3 (using acpi-support_0.137-3_all.deb) ...
Unpacking replacement acpi-support ...
dpkg: error processing acpi-support_0.137-3_all.deb (--install):
 trying to overwrite '/usr/share/man/man1/acpi_fakekey.1.gz', which is also in
package acpi-fakekey 0.137-3
Processing triggers for man-db ...
Errors were encountered while processing:
 acpi-support_0.137-3_all.deb

David Eccles (gringer)





More information about the Pkg-acpi-devel mailing list