[Pkg-netatalk-devel] Bug#1084819: netatalk-tools has an undeclared file conflict
Daniel Markstedt
daniel at mindani.net
Thu Oct 10 18:01:19 BST 2024
Hi Helmut,
I ran some empirical tests to make sure that we solve the underlying problem properly.
As you say, the goal is to prevent two conflicting packages to be unpacked at the same time.
This is what I tried:
1. Install the present (monolithic) package in Testing: 3.2.10~ds-1
2. With dpkg, attempt to unpack a new overlapping package that has only Breaks and not Replaces
3. Do the same with an overlapping package that has both Breaks and Replaces
This is the specific command that I used:
dpkg --unpack netatalk-tools_4.0.0~ds-4_arm64.deb
However, with this test case, the Replaces directive did not make a difference.
In either case dpkg refused to unpack the new overlapping package.
==========
dpkg: regarding .../netatalk-tools_4.0.0~ds-4_arm64.deb containing netatalk-tools:
netatalk-tools breaks netatalk (<< 4.0.0~ds-1)
netatalk (version 3.2.10~ds-1) is present and installed.
dpkg: error processing archive ../netatalk-tools_4.0.0~ds-4_arm64.deb (--unpack):
installing netatalk-tools would break netatalk, and
deconfiguration is not permitted (--auto-deconfigure might help)
Errors were encountered while processing:
../netatalk-tools_4.0.0~ds-4_arm64.deb
==========
Is there any important step I'm missing here?
Or can you suggest another test case that demonstrates the invalid unpacking behavior when only using Breaks?
Thanks!
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 855 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-netatalk-devel/attachments/20241010/5bbd44a6/attachment.sig>
More information about the pkg-netatalk-devel
mailing list