[DRE-maint] Bug#1036950: schleuder: fails to upgrade from 'buster': fails during apt-get upgrade
Andreas Beckmann
anbe at debian.org
Tue May 30 18:11:23 BST 2023
Package: schleuder
Version: 3.6.0-3+deb11u1
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
'buster'.
It installed fine in 'buster', then the upgrade to 'bullseye' fails.
Note that this failure only occurs during a 2-stage upgrade
(apt-get upgrade && apt-get distupgrade) in the apt-get upgrade step,
while a single-stage upgrade (only apt-get dist-upgrade) works fine.
>From the attached log (scroll to the bottom...):
Setting up schleuder (3.6.0-3+deb11u1) ...
Installing new version of config file /etc/schleuder/list-defaults.yml ...
dpkg: error processing package schleuder (--configure):
installed schleuder package post-installation script subprocess returned error exit status 1
I tried injecting 'set -x' into the postinst, but the output is not very
helpful:
Setting up schleuder (3.6.0-3+deb11u1) ...
+ set -e
+ id schleuder
+ chown schleuder /etc/schleuder
+ chown root:schleuder /etc/schleuder/schleuder.yml /etc/schleuder/list-defaults.yml
+ chmod 0640 /etc/schleuder/schleuder.yml /etc/schleuder/list-defaults.yml
+ chmod 0750 /var/lib/schleuder /var/log/schleuder
+ chown schleuder:schleuder /var/lib/schleuder /var/log/schleuder
+ [ -z 3.4.0-2+deb10u3 ]
+ dpkg --compare-versions 3.4.0-2+deb10u3 lt 3.0
+ SCHEMA=SCHEMA=/dev/null
+ runuser -u schleuder -- sh -c SCHEMA=/dev/null schleuder install >/dev/null
dpkg: error processing package schleuder (--configure):
installed schleuder package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
schleuder
Entering the chroot after the failure and runnign
runuser -u schleuder -- sh -c 'SCHEMA=/dev/null schleuder install'
does not give any output either.
My guess is that there is some insufficiently versioned dependency that
has not yet been upgraded during 'apt-get upgrade' is required for this
comand to succeed.
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schleuder_3.6.0-3+deb11u1.log.gz
Type: application/gzip
Size: 34274 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20230530/c4e03460/attachment-0001.gz>
More information about the Pkg-ruby-extras-maintainers
mailing list