#1012596 cron-daemon-common: missing versioned Breaks+Replaces against bcron, systemd-cron

#1012596#5
Date:
2022-06-09 21:34:33 UTC
From:
To:
Hi,

during a test with piuparts I noticed your package failed to install
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

From the attached log (scroll to the bottom...):

  Selecting previously unselected package cron-daemon-common.
  Preparing to unpack .../cron-daemon-common_3.0pl1-143_all.deb ...
  Unpacking cron-daemon-common (3.0pl1-143) ...
  dpkg: error processing archive /var/cache/apt/archives/cron-daemon-common_3.0pl1-143_all.deb (--unpack):
   trying to overwrite '/etc/crontab', which is also in package bcron 0.11-9
  Errors were encountered while processing:
   /var/cache/apt/archives/cron-daemon-common_3.0pl1-143_all.deb

  Selecting previously unselected package cron-daemon-common.
  Preparing to unpack .../cron-daemon-common_3.0pl1-143_all.deb ...
  Unpacking cron-daemon-common (3.0pl1-143) ...
  dpkg: error processing archive /var/cache/apt/archives/cron-daemon-common_3.0pl1-143_all.deb (--unpack):
   trying to overwrite '/etc/cron.d/.placeholder', which is also in package systemd-cron 1.15.18-1
  Errors were encountered while processing:
   /var/cache/apt/archives/cron-daemon-common_3.0pl1-143_all.deb

For bcron the conflicting file is only
  /etc/crontab

For systemd-cron the conflicting files are
  /etc/cron.d/.placeholder
  /etc/cron.daily/.placeholder
  /etc/cron.hourly/.placeholder
  /etc/cron.monthly/.placeholder
  /etc/cron.weekly/.placeholder
  /etc/crontab

These two alternative cron implementations need to start using
cron-daemon-common for these shared files first before you can
add the corresponding Breaks+Replaces against them.


cheers,

Andreas

#1012596#10
Date:
2022-06-14 09:48:57 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
cron, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georges Khaznadar <georgesk@debian.org> (supplier of updated cron package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 13 Jun 2022 18:33:28 +0200
Source: cron
Architecture: source
Version: 3.0pl1-144
Distribution: unstable
Urgency: medium
Maintainer: Javier Fernández-Sanguino Peña <jfs@debian.org>
Changed-By: Georges Khaznadar <georgesk@debian.org>
Closes: 1012596
Changes:
 cron (3.0pl1-144) unstable; urgency=medium
 .
   * added versioned Conflicts/Replaces clauses for bcron and systemd-cron
     Closes: #1012596
   * added Conflicts/Replaces clauses between cron and other packages providing
     cron-daemon.
Checksums-Sha1:
 f706cbf7a403ee563911ccefb87766b5b630f2d2 2114 cron_3.0pl1-144.dsc
 6c5ced065bfd0e99359fef8d6a1d05d9401e5eab 110572 cron_3.0pl1-144.debian.tar.xz
 b5dbbb5418642c11be924ad22d80a1d0910a5c34 5994 cron_3.0pl1-144_source.buildinfo
Checksums-Sha256:
 acf9a3da6bdb92f6996e878043e384186fadd6359c71e03c2609604c71111050 2114 cron_3.0pl1-144.dsc
 fa5a83f9b133cfef4cb6717b85d63ff39708f9778e09bb5702e37530fcfa32ff 110572 cron_3.0pl1-144.debian.tar.xz
 cb80e239ab5b9ffb57cc838ba55ceaa1ed3e8fb38a390eefcb8a4b08782c3f81 5994 cron_3.0pl1-144_source.buildinfo
Files:
 c0c039bd994ff630c87084488e487511 2114 admin important cron_3.0pl1-144.dsc
 022068ad27f75bc75c1aca71fd659806 110572 admin important cron_3.0pl1-144.debian.tar.xz
 41a72236ec94e5654777cb9bdbf219ff 5994 admin important cron_3.0pl1-144_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmKoVzgUHGdlb3JnZXNr
QGRlYmlhbi5vcmcACgkQHCgWkHE2rjnQjQ/+NTZIS7vW4mjLZH56qM2t9e7ia/J6
NLmCA5jAsJYl6hgnjOBRIuq58bUTY/q1A9LzFkfeir+ZC+n3wBOCC3GiCqJ95EXC
QmoFnKQigtsgircWmFHG6PVcbNuStPkoOZmdG7DgNwFJrDxJiUczUbEDVlonBuc/
JRq4dl/ajiAI6eWKmyNUikgheDgntL+7yZDMBiKiqh/u2cK5ZO+8GXWMqHUfpwiR
h0Ualu/JTAZp+17DxPCHpUVN9Hz+xarjfimGst7hqgQ4BKEVIDwwyLKEWuIg2LJi
sQg3EEJ0A9Iq9CK7wOyFY3t9GkHrJCTwwVIQPyW12twY3ZGwqtcrMZJ/U3V4K7te
ju/g+Q7GDryLd2SY8g/A/QkzLqTJvPGlOOOJrkOB39wqSWcFfWuihP/61nvYhyzU
qdP+YD+mWK5NEUCZ6Z5S6Ml5YBYhyPzf0QblZki9kruTw7nikDyVrhp/k6DLKFl9
35HFl8b4mzHYdJXlIhuYudF4toD2Ri1ULppRLvEBx7+rn+K1SPtXxQt/BGO3WlKN
cVvTgbfjwgm3mJw02V7n5+e2qoP9y1qj+kaTOWHOKmtx2TWhQUMVuMDTKivvIqQv
69LKET/Tk1a8P+in/Zq8gWprL34Wk8rLWnnW/tORIC3LL9dzarQmSiSBgwoDkxEh
iBk+loCJwKhsmlA=
=ayS9
-----END PGP SIGNATURE-----

#1012596#15
Date:
2022-06-23 00:51:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
timeshift, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated timeshift package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 12 Jun 2022 19:46:42 -0400
Source: timeshift
Architecture: source
Version: 22.06.1-0.1
Distribution: unstable
Urgency: medium
Maintainer: Yanhao Mo <yanhaocs@gmail.com>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1012265 1012596
Changes:
 timeshift (22.06.1-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Switch to linuxmint upstream. (Closes: #1012265) (LP: #1976627)
   * d/control,d/rules,d/u/metadata: Switch upstream info.
   * New upstream version 22.06.1.
   * debian/: Apply wrap-and-sort -abst.
   * debian/control: Bump Standards-Version to 4.6.1.
   * debian/control: Add new dependency cron-daemon. (Closes: #1012596)
   * Add new build-dep libxapp-dev.
Checksums-Sha1:
 6de5497bfb48039e06dca9a04edf305bf42792ba 1988 timeshift_22.06.1-0.1.dsc
 96fb9e7a679d0eba9e7d18eb7fb9fc5a8b7f3945 1429399 timeshift_22.06.1.orig.tar.gz
 2f89e243b226797d20647c96de6a76f796b1c869 12336 timeshift_22.06.1-0.1.debian.tar.xz
 bd0e27f99e4320f550a6d35d648e8991b926d8dc 15171 timeshift_22.06.1-0.1_amd64.buildinfo
Checksums-Sha256:
 ff8897abca76eaabcb16a6d625fa7005c1f0abc362a17513e5adf97b939169ab 1988 timeshift_22.06.1-0.1.dsc
 8db5a0fa8e8b76f0ecd5490d1d4def31500f44c3efd88af34d498f40bfbbfe95 1429399 timeshift_22.06.1.orig.tar.gz
 285b61f42d7339cc1cce5f4fa2fe0de3cf168974f31f7a973577fe5cf3164e55 12336 timeshift_22.06.1-0.1.debian.tar.xz
 206bc436894ced6dbf87b8b5405f37f57d9989e775589e5fbd95671e439075d7 15171 timeshift_22.06.1-0.1_amd64.buildinfo
Files:
 a140e0133bf142fd69bdc0289f664944 1988 utils optional timeshift_22.06.1-0.1.dsc
 45f555387b05f41d300bc7ced34ff67d 1429399 utils optional timeshift_22.06.1.orig.tar.gz
 dd93f80392d355e6204b3e3689b61cfd 12336 utils optional timeshift_22.06.1-0.1.debian.tar.xz
 1cfb6ca104319ee48fcae9960a1eb4d6 15171 utils optional timeshift_22.06.1-0.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmKmfVMACgkQwpPntGGC
Ws7u+BAAtqqzTeIRNvO5w4yPmRfJSI+izyLwLnX6rWlIl/hjeJqFpHrhGcpms7Y1
ODE37vTw75h+LM0Hd3bT0r+toIOAFJmyyZwXaFZaBEx8C5xEU8YTXByxvOfxNo67
CnQEvp1HdqOw04UnqIzX7jtfrnZw6X1NSP8xp2/V74Mb7YCCeWRkiVVxBY3vO/62
FKIzQ8i0R4sG3VKgQ6QVeMf2ahhEFRxWhJgHRAoHRxYl6Rlpj6GPmOemX0Eqh7z+
eLZoulHqsYTI3xzCq2joUnfqv3FLixlaRDzBsTrYQsFCP5aI96u8hzw01PNEnNPh
BjjDhT3sq4UGQpiBEnDnc7nI1M1WqBnPGQTxBIaC41ZleR+ww3h/mmMaAZ/g9oWh
8SVcfqWrbMN5zbi1QP6uhm7EpQ3T8OL9u2nGd7eaIJm9Hrh0Plb40DE2AMd9dZRA
7CFQQTsdn6vWz7EshyxLCU2goDwwB8/vdae3eAVoGJKcAWtWB4/Faa3oYVipLEAh
qMz+qrk+u4iT1bFCB/Wn8/H68HKp4YdDfOPpx5wLJouOAZ+UiiUBePXDperNzYZu
fPRHgtUHWKGTUs1A4SY2btzmM5jlihWMBdxA8LujBQ9Aq1dTzKWQC1Jh+MrOeguu
GH818WSnoPrOFhdsT4BRFShGAFhZzqXEBqdi72qRCVQIkPe0z0U=
=8Orx
-----END PGP SIGNATURE-----

#1012596#24
Date:
2022-06-29 10:19:27 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
systemd-cron, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georges Khaznadar <georgesk@debian.org> (supplier of updated systemd-cron package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 13 Jun 2022 18:14:37 +0200
Source: systemd-cron
Architecture: source
Version: 1.15.18-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
Changed-By: Georges Khaznadar <georgesk@debian.org>
Closes: 1012596
Changes:
 systemd-cron (1.15.18-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload. (closes: #1012596)
   * added a pre-depends clause on cron-daemon-common, which installs
     templates and directories for crontabs: this package will be a
     common pre-dependency for packages systemd-cron, cron, cronie, bcron.
   * added Conficts/Replaces clauses to interact with other packages
     which provide cron-daemon and do not yet pre-depend on cron-daemon-common
   * modified the list of installed files.
Checksums-Sha1:
 6119c66e8d15782deb8a50410bdd48b902b89f4d 2112 systemd-cron_1.15.18-1.1.dsc
 7f021437d4af183bee59b8837a51dfacb9c21426 7424 systemd-cron_1.15.18-1.1.debian.tar.xz
 5df16cd24cf38b429158558bcd00fc9d760ac0d8 6301 systemd-cron_1.15.18-1.1_source.buildinfo
Checksums-Sha256:
 4ed7d06b63c5802284cc8bb8e22d728edbe3d093ae7e88687352934149d64283 2112 systemd-cron_1.15.18-1.1.dsc
 dfe55c8db0044fbbf54f92d72b4ea67840ac60bbde48cc5380747c37bb125cbb 7424 systemd-cron_1.15.18-1.1.debian.tar.xz
 33773e51f00e516ce011e3b6caa4f04988603db232cc70d0cdb6265d0230a4ad 6301 systemd-cron_1.15.18-1.1_source.buildinfo
Files:
 586e7029635b7b30127b5c6f40d84ebd 2112 admin optional systemd-cron_1.15.18-1.1.dsc
 150a400438a92679b64154befad4aa43 7424 admin optional systemd-cron_1.15.18-1.1.debian.tar.xz
 e119d0e9f9a82fcc4d86d239e81cb947 6301 admin optional systemd-cron_1.15.18-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmKoUowUHGdlb3JnZXNr
QGRlYmlhbi5vcmcACgkQHCgWkHE2rjmm6Q/+Ov79d3KrnsrrFrRrApKapcotAU3d
Jm9WH8Pny3dqvf//RlF8SIpQgx0RZTnj9YqvpSujtFnfJbChcapB0lJD4pvkug6u
WE9vie4Ca4jy9NQ/88ppBzZtjQLQeLuKdZQ/W4Ibnq8XoffGOPSdELKpVxeC3c2p
s5S2yl8VFuFfuBzw6Ae6chzIrkayEZ6r8Qurk+L2JEHi0gUmL1E/UKdGINhzex0l
I5Opn99hHIcn13zEDRbeYpx5s14vuv52+o/KJkaiJrGQLP63d7vDH5S7xuOd7jTU
zs/hSx1ngyJX7a/14o3HMuXyVwjZ9w71XjHIMkaIvmwKwaLE7SMYLl4kP69FQcfc
vTKMB2AsUgVUuPcrSFPFeGneVSs7TcUrljTjCAGDJP6E2CEDwfpQUAZgzMQ8SCy8
We6l30o3msVSZ1Jb2NDXZSWy2usCRgox0D0w9G57OC/oOEMggOW0Cn8mIPFIoT5o
Q3REWnlrPFgLlg6p0uVG7Y+rq3D6NbISs+/RDku1TifXOMw4z4OV5s87TW64m5wC
IZmKSHzttSTUfD77kIrAkmqN3gcW7dAdaJdq31AfH5kEHGx5L/Qcj9IYrqAGG8KZ
YIagZDSO97R487LxVXhrB2pU9n0GXF0KjBDx4QEFyRyRLjL2EFhSdI5nYDTH02J0
CqVjGxUfu/Y8sX8=
=0OwJ
-----END PGP SIGNATURE-----