Package: bacula-director-sqlite3,bacula-director-mysql,bacula-director-pgsql
Version: 7.4.3+dfsg-2
Severity: serious
User: debian...@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

Attachment: bacula-director-sqlite3_7.4.3+dfsg-2.log.gz
Description: application/gzip

Reply via email to