Bug#1054338: debian-edu-artwork: fails to remove, update-debian-edu-artwork-emerald: not found

2023-10-28 Thread Mike Gabriel

Hi,

On  Mo 23 Okt 2023 09:01:00 CEST, Guido Berhoerster wrote:


update-debian-edu-artwork is provided by debian-edu-artwork, however
there is only a weak Recommends dependency of the subpackages
debian-edu-artwork-emerald on the main package whereas the main package
has a strong dependency on any of the subpackages.

Adding a Requires on the main package creates a dependency loop which
would as far as I understand the policy manual be broken arbitrarily, so
it doesn't seem to be a good solution.

The most simple fix I can think of would be to copy the script into each
subpackage instead of symlinking it, that way we don't have to maintain
multiple copies.


I like this approach for the d-e-a version that we want to bring to  
bookworm as it does not require changing the bin:pkg arrangement.



However I'm wondering why the package is set up the way it is, couldn't
we rename debian-edu-artwork to debian-edu-artwork-common, make the
theme subpackages require that and turn debian-edu-artwork into a
virtual package provided by each theme subpackage?


This we should revisit for d-e-a in Debian Edu trixie. Please file an  
extra bug for this.


Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpOtA6Xsq7Ov.pgp
Description: Digitale PGP-Signatur


Bug#1054338: debian-edu-artwork: fails to remove, update-debian-edu-artwork-emerald: not found

2023-10-23 Thread Guido Berhoerster
update-debian-edu-artwork is provided by debian-edu-artwork, however
there is only a weak Recommends dependency of the subpackages
debian-edu-artwork-emerald on the main package whereas the main package
has a strong dependency on any of the subpackages.

Adding a Requires on the main package creates a dependency loop which 
would as far as I understand the policy manual be broken arbitrarily, so
it doesn't seem to be a good solution.

The most simple fix I can think of would be to copy the script into each 
subpackage instead of symlinking it, that way we don't have to maintain
multiple copies.

However I'm wondering why the package is set up the way it is, couldn't 
we rename debian-edu-artwork to debian-edu-artwork-common, make the
theme subpackages require that and turn debian-edu-artwork into a
virtual package provided by each theme subpackage?
-- 
Guido Berhoerster



Bug#1054338: debian-edu-artwork: fails to remove, update-debian-edu-artwork-emerald: not found

2023-10-22 Thread Holger Levsen
Package: debian-edu-artwork
Version: 2.12.3-1
Severity: serious

Dear Maintainer,

debian-edu-artwork-emerald fails to remove,
quoting https://piuparts.debian.org/sid/fail/debian-edu-artwork_2.12.3-1.log

0m32.5s DEBUG: Starting command: ['chroot', 
'/srv/piuparts.debian.org/tmp/tmpsyd_96oo', 'apt-get', 'remove', 'adduser', 
'dbus', 'dbus-bin', 'dbus-daemon', 'dbus-session-bus-common', 
'dbus-system-bus-common', 'dbus-user-session', 'dconf-gsettings-backend:amd64', 
'dconf-service', 'debian-edu-artwork-emerald', 'desktop-base', 'dmsetup', 
'fontconfig', 'fontconfig-config', 'fonts-dejavu-core', 'fonts-dejavu-mono', 
'fonts-quicksand', 'libapparmor1:amd64', 'libargon2-1:amd64', 
'libbrotli1:amd64', 'libbsd0:amd64', 'libcairo-gobject2:amd64', 
'libcairo2:amd64', 'libconfig-inifiles-perl', 'libcryptsetup12:amd64', 
'libdatrie1:amd64', 'libdbus-1-3:amd64', 'libdconf1:amd64', 
'libdeflate0:amd64', 'libdevmapper1.02.1:amd64', 'libexpat1:amd64', 
'libfdisk1:amd64', 'libfontconfig1:amd64', 'libfreetype6:amd64', 
'libfribidi0:amd64', 'libgdk-pixbuf-2.0-0:amd64', 'libgdk-pixbuf2.0-common', 
'libglib2.0-0:amd64', 'libgraphite2-3:amd64', 'libharfbuzz0b:amd64', 
'libicu72:amd64', 'libip4tc2:amd64', 'libjbig0:amd64', 'libjpeg62-turbo:amd64', 
'libjson-c5:amd64', 'libkmod2:amd64', 'liblerc4:amd64', 'libncursesw6:amd64', 
'libpam-systemd:amd64', 'libpango-1.0-0:amd64', 'libpangocairo-1.0-0:amd64', 
'libpangoft2-1.0-0:amd64', 'libpixman-1-0:amd64', 'libpng16-16:amd64', 
'libproc2-0:amd64', 'librsvg2-2:amd64', 'librsvg2-common:amd64', 
'libsharpyuv0:amd64', 'libssl3:amd64', 'libsystemd-shared:amd64', 
'libthai-data', 'libthai0:amd64', 'libtiff6:amd64', 'libwebp7:amd64', 
'libx11-6:amd64', 'libx11-data', 'libxau6:amd64', 'libxcb-render0:amd64', 
'libxcb-shm0:amd64', 'libxcb1:amd64', 'libxdmcp6:amd64', 'libxext6:amd64', 
'libxml2:amd64', 'libxrender1:amd64', 'procps', 'shared-mime-info', 'systemd', 
'systemd-dev', 'systemd-sysv', 'debian-edu-artwork']
0m33.9s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following packages will be REMOVED:
adduser dbus dbus-bin dbus-daemon dbus-session-bus-common
dbus-system-bus-common dbus-user-session dconf-gsettings-backend
dconf-service debian-edu-artwork debian-edu-artwork-emerald desktop-base
dmsetup fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono
fonts-quicksand libapparmor1 libargon2-1 libbrotli1 libbsd0
libcairo-gobject2 libcairo2 libconfig-inifiles-perl libcryptsetup12
libdatrie1 libdbus-1-3 libdconf1 libdeflate0 libdevmapper1.02.1 libexpat1
libfdisk1 libfontconfig1 libfreetype6 libfribidi0 libgdk-pixbuf-2.0-0
libgdk-pixbuf2.0-common libglib2.0-0 libgraphite2-3 libharfbuzz0b libicu72
libip4tc2 libjbig0 libjpeg62-turbo libjson-c5 libkmod2 liblerc4 libncursesw6
libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
libpixman-1-0 libpng16-16 libproc2-0 librsvg2-2 librsvg2-common libsharpyuv0
libssl3 libsystemd-shared libthai-data libthai0 libtiff6 libwebp7 libx11-6
libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6
libxml2 libxrender1 procps shared-mime-info systemd systemd-dev systemd-sysv
  0 upgraded, 0 newly installed, 80 to remove and 0 not upgraded.
  After this operation, 141 MB disk space will be freed.
  (Reading database ... 
  (Reading database ... 100%
  (Reading database ... 8324 files and directories currently installed.)
  Removing debian-edu-artwork (2.12.3-1) ...
  update-alternatives: warning: forcing reinstallation of alternative 
/usr/share/desktop-base/active-theme/login/background.svg because link group 
desktop-login-background is broken
  Removing dconf-gsettings-backend:amd64 (0.40.0-4) ...
  Removing dconf-service (0.40.0-4) ...
  Removing dbus-user-session (1.14.10-1) ...
  Removing libpam-systemd:amd64 (254.5-1) ...
  Removing dbus (1.14.10-1) ...
  Running in chroot, ignoring request.
  invoke-rc.d: policy-rc.d denied execution of stop.
  Removing dbus-system-bus-common (1.14.10-1) ...
  Removing adduser (3.137) ...
  Removing dbus-daemon (1.14.10-1) ...
  Removing dbus-bin (1.14.10-1) ...
  Removing dbus-session-bus-common (1.14.10-1) ...
  Removing debian-edu-artwork-emerald (2.12.3-1) ...
  /var/lib/dpkg/info/debian-edu-artwork-emerald.prerm: 7: 
update-debian-edu-artwork-emerald: not found
  dpkg: error processing package debian-edu-artwork-emerald (--remove):
   installed debian-edu-artwork-emerald package pre-removal script subprocess 
returned error exit status 127
  dpkg: too many errors, stopping
  Errors were encountered while processing:
   debian-edu-artwork-emerald
  Processing was halted because there were too many errors.
  E: Sub-process /usr/bin/dpkg returned an error code (1)


-- 
cheers,
Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

“It's easy to be a naive idealist.