Followup-For: Bug #877918
Control: severity -1 serious

On Sat, 7 Oct 2017 11:49:14 +0200 Bill Allombert <ballo...@debian.org> wrote:
> Complex circular dependencies are known to cause problems during upgrade, so 
> we
> should avoid them.

I think I just encountered one in piuparts, upgrading live-task-gnome
on i386 from stretch to buster with --install-recommends enabled:

[...]
  Preparing to unpack .../anthy-common_1%3a0.3-6_all.deb ...
  Unpacking anthy-common (1:0.3-6) over (9100h-25) ...
  Selecting previously unselected package libanthy1:i386.
  Preparing to unpack .../libanthy1_1%3a0.3-6_i386.deb ...
  Unpacking libanthy1:i386 (1:0.3-6) ...
  Preparing to unpack .../anthy_1%3a0.3-6_i386.deb ...
  Unpacking anthy (1:0.3-6) over (9100h-25+b2) ...
  dpkg: warning: unable to delete old directory '/var/lib/anthy': Directory not 
empty
  (Reading database ... 
(Reading database ... 176978 files and directories currently installed.)
  Removing uim-applet-gnome (1:1.8.6+gh20161003.0.d63dadd-2) ...
  dpkg: libuim-data: dependency problems, but removing anyway as you requested:
   uim-anthy depends on libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-2).
   uim-utils depends on libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-2).
   uim-gtk2.0 depends on libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-2); 
however:
    Package libuim-data is to be removed.
   uim-gtk3 depends on libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-2); however:
    Package libuim-data is to be removed.
   uim-qt depends on libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-2).
   uim-fep depends on libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-2); however:
    Package libuim-data is to be removed.
   uim-xim depends on libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-2).
  
  Removing libuim-data (1:1.8.6+gh20161003.0.d63dadd-2) ...
  (Reading database ... 
(Reading database ... 176847 files and directories currently installed.)
  Preparing to unpack .../uim-anthy_1%3a1.8.6+gh20180106.ec697da-1_all.deb ...
  Error: in load: file "/usr/share/uim/lib/sigscheme-init.scm" not found
  dpkg: error processing archive 
/var/cache/apt/archives/uim-anthy_1%3a1.8.6+gh20180106.ec697da-1_all.deb 
(--unpack):
   new uim-anthy package pre-installation script subprocess returned error exit 
status 1
  Preparing to unpack .../kasumi_2.5-5+b2_i386.deb ...
  Unpacking kasumi (2.5-5+b2) over (2.5-5+b1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/uim-anthy_1%3a1.8.6+gh20180106.ec697da-1_all.deb

Using uim-data in preinst requires a Pre-Depends.


Andreas

Reply via email to