[pkg-bacula-devel] Bug#832357: bacula-director-*: fails to upgrade from 'sid' - trying to overwrite /etc/init.d/bacula-director

Andreas Beckmann anbe at debian.org
Sun Jul 24 14:44:33 UTC 2016


Package: bacula-director-sqlite3,bacula-director-mysql,bacula-director-pgsql
Version: 7.4.3+dfsg-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
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#s-replaces

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

  Preparing to unpack .../bacula-director-sqlite3_7.4.3+dfsg-2_amd64.deb ...
  invoke-rc.d: could not determine current runlevel
  invoke-rc.d: policy-rc.d denied execution of stop.
  Unpacking bacula-director-sqlite3 (7.4.3+dfsg-2) over (7.4.3+dfsg-1) ...
  dpkg: error processing archive /var/cache/apt/archives/bacula-director-sqlite3_7.4.3+dfsg-2_amd64.deb (--unpack):
   trying to overwrite '/etc/init.d/bacula-director', which is also in package bacula-director-common 7.4.3+dfsg-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  invoke-rc.d: could not determine current runlevel
  invoke-rc.d: policy-rc.d denied execution of start.
  Preparing to unpack .../bacula-director-common_7.4.3+dfsg-2_amd64.deb ...
  Unpacking bacula-director-common (7.4.3+dfsg-2) over (7.4.3+dfsg-1) ...
  Preparing to unpack .../bacula-common_7.4.3+dfsg-2_amd64.deb ...
  Unpacking bacula-common (7.4.3+dfsg-2) over (7.4.3+dfsg-1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/bacula-director-sqlite3_7.4.3+dfsg-2_amd64.deb

Same problem in the other bacula-director-* backends.

Does switching between e.g. bacula-director-sqlite3 and bacula-director-mysql
work without problems if both packages ship /etc/init.d/bacula-director?


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bacula-director-sqlite3_7.4.3+dfsg-2.log.gz
Type: application/gzip
Size: 11770 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20160724/a48ffe52/attachment.bin>


More information about the pkg-bacula-devel mailing list