Hi again Maarten, On Mon, Jan 02, 2023 at 11:25:46AM +0100, Maarten L. Hekkelman wrote: > Thanks Joost, but that space somehow got lost in copy/paste. It is there in > the original script. > > So, the mystery remains. > > -maarten > > Op 02-01-2023 om 11:22 schreef Joost van Baal-Ilić: > > Hi Maarten, > > > > On Mon, Jan 02, 2023 at 10:19:59AM +0100, Maarten L. Hekkelman wrote: > > > My apologies for being too lazy to look this up myself in the fine > > > documentation. > > > > > > The removal script of libcifpp (libcifpp-data.postrm), should it remove > > > the > > > cron job in remove or in purge? > > > > > > Perhaps the cronjob could be left in place, but should be inactive when > > > removed but not yet purged? > > > > > > And in my cron script, I have this line: > > > > > > if[ "$EUID"-ne 0 ] > > For sure there should be an exta space there: > > > > not > > > > if[ "$EUID"-ne 0 ] > > > > but > > > > if[ "$EUID" -ne 0 ] > > > > Dunno if that fixes all problems though...
So the relevant output is: 0m21.1s DEBUG: Starting command: ['chroot', '/srv/piuparts.debian.org/tmp/tmp_wirspr9', '/etc/cron.weekly/update-libcifpp-data'] 0m21.1s DUMP: /etc/cron.weekly/update-libcifpp-data: 5: [: Illegal number: 0m21.1s DEBUG: Command ok: ['chroot', '/srv/piuparts.debian.org/tmp/tmp_wirspr9', '/etc/cron.weekly/update-libcifpp-data'] 0m21.1s ERROR: FAIL: Cron file /etc/cron.weekly/update-libcifpp-data has output with package removed Where can I see /etc/cron.weekly/update-libcifpp-data ? I failed to find it at https://sources.debian.org/src/libcifpp/ :( Bye, Joost