Package: dracut-live
Version: 050+35-4
Severity: serious
User: [email protected]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'buster'.
It installed fine in 'buster', then the upgrade to 'bullseye' 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#overwriting-files-and-replacing-packages-replaces

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

  Preparing to unpack .../dracut-live_050+35-4_all.deb ...
  Unpacking dracut-live (050+35-4) ...
  dpkg: error processing archive 
/var/cache/apt/archives/dracut-live_050+35-4_all.deb (--unpack):
   trying to overwrite 
'/usr/lib/dracut/modules.d/90dmsquash-live/apply-live-updates.sh', which is 
also in package dracut-core 048+80-2
  Errors were encountered while processing:
   /var/cache/apt/archives/dracut-live_050+35-4_all.deb

There might also be a file conflict on dracut-network on these files:
  usr/lib/dracut/modules.d/90livenet/fetch-liveupdate.sh
  usr/lib/dracut/modules.d/90livenet/livenet-generator.sh
  usr/lib/dracut/modules.d/90livenet/livenetroot.sh
  usr/lib/dracut/modules.d/90livenet/module-setup.sh
  usr/lib/dracut/modules.d/90livenet/parse-livenet.sh
which could require an additional B+R: dracut-network (<< 050)
but that cannot be tested currently due to the dracut-core conflict
causing an early failure.

cheers,

Andreas

Attachment: dracut-core=048+80-2_dracut-live=050+35-4.log.gz
Description: application/gzip

Reply via email to