Thank you. According to the log everything works fine. Did it work fine now?

If possible attach the file as an attachment and the syslog where you have
the kernel error log.

// Ola

On Mon, 30 Jan 2023 at 15:02, Richard Rosner <rros...@fsmuw.rwth-aachen.de>
wrote:

> I now found the problem. The mails from cron had been sorted into spam
> because they had "root (Cron Daemon)" as sender and rspamd didn't like the
> sender domain to be forged to r...@domain.de. Anyway, the error message
> says "/usr/bin/test: /usr/bin/test: can't execute file". I guess it didn't
> like to be executed by bash -x. I set the cron-apt entry to "test -x
> /usr/sbin/cron-apt && bash -x /usr/sbin/cron-apt > /root/cron-apt.log
> 2>&1", this works now. Output to the log file is:
>
> + export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
> + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
> + UMASK_TIGHT=077
> + UMASK_APT=022
> + umask 077
> + STDOUT=
> + ALLCONFIGS=
> + '[' -n '' ']'
> + '[' -z '' ']'
> + CONFIG=/etc/cron-apt/config
> + ALLCONFIGS=/etc/cron-apt/config
> + LIBDIR=/var/lib/cron-apt
> + SHAREDIR=/usr/share/cron-apt
> ++ echo /etc/cron-apt/config
> ++ sed 's|/|_-_|g'
> + CONFIGDIRNAME=_-_etc_-_cron-apt_-_config
> ++ mktemp -d -t cron-apt.XXXXXX
> + TMPDIR=/tmp/cron-apt.rAN9JY
> + '[' 0 -ne 0 ']'
> + INITLOG=/tmp/cron-apt.rAN9JY/initlog
> + RUNERROR=/tmp/cron-apt.rAN9JY/runerror
> + RUNSYSLOG=/tmp/cron-apt.rAN9JY/runsyslog
> + RUNLOG=/tmp/cron-apt.rAN9JY/runlog
> + RUNMAIL=/tmp/cron-apt.rAN9JY/runmail
> + ACTIONERROR=/tmp/cron-apt.rAN9JY/actionerror
> + ACTIONSYSLOG=/tmp/cron-apt.rAN9JY/actionsyslog
> + ACTIONLOG=/tmp/cron-apt.rAN9JY/actionlog
> + ACTIONMAIL=/tmp/cron-apt.rAN9JY/actionmail
> + TEMP=/tmp/cron-apt.rAN9JY/temp
> + MAIL=/tmp/cron-apt.rAN9JY/mail
> + DIFF=/tmp/cron-apt.rAN9JY/difftemp
> + STATUS=/tmp/cron-apt.rAN9JY/status
> + LOCKFILE=/var/lib/cron-apt/lockfile
> + MAILCHDIR=/var/lib/cron-apt/_-_etc_-_cron-apt_-_config/mailchanges
> + ERROR=/tmp/cron-apt.rAN9JY/_-_etc_-_cron-apt_-_config-error
> + ACTIONDIR=/etc/cron-apt/action.d
> + ACTIONCONFDIR=/etc/cron-apt/config.d
> + MAILMSGDIR=/etc/cron-apt/mailmsg.d
> + MAILONMSGSDIR=/etc/cron-apt/mailonmsgs
> + SYSLOGONMSGSDIR=/etc/cron-apt/syslogonmsgs
> + REFRAINFILE=/etc/cron-apt/refrain
> + NOLOCKWARN=
> + ERRORMSGDIR=/etc/cron-apt/errormsg.d
> + SYSLOGMSGDIR=/etc/cron-apt/syslogmsg.d
> + LOGMSGDIR=/etc/cron-apt/logmsg.d
> + LOGDIR=/var/log/cron-apt
> + LOG=/var/log/cron-apt/log
> + LASTFULLMESSAGE=/var/log/cron-apt/lastfullmessage
> + DIFFONCHANGES=prepend
> + SUBJECTPREFIX=CRON-APT
> + MAILTO=root
> + MAILWIDTH=900
> + SYSLOGON=upgrade
> + MAILON=error
> + EXITON=error
> + DEBUG=verbose
> + OPTIONS='-o quiet=1'
> + DONTRUN=
> + RUNSLEEP=3600
> + MINTMPDIRSIZE=10
> + APTCOMMAND=/usr/bin/apt-get
> + HOSTNAME=
> + DIFFIGNORE=
> + DIFFONCHANGES=prepend
> + export DEBIAN_FRONTEND=noninteractive
> + DEBIAN_FRONTEND=noninteractive
> + export LANG=C
> + LANG=C
> + export LC_ALL=C
> + LC_ALL=C
> + for cfg in $ALLCONFIGS
> + '[' -f /etc/cron-apt/config ']'
> + . /etc/cron-apt/config
> ++ APTCOMMAND=/usr/bin/apt-get
> ++ MAILTO=administra...@fsmuw.rwth-aachen.de
> ++ MAILON=upgrade
> ++ RUNSLEEP=3600
> ++ SYSLOGON=always
> + '[' -t 0 ']'
> + test '' = yes
> + . /usr/share/cron-apt/functions
> + '[' -d /var/lib/cron-apt/_-_etc_-_cron-apt_-_config ']'
> + '[' -d /var/lib/cron-apt/_-_etc_-_cron-apt_-_config/mailchanges ']'
> + '[' -e /etc/cron-apt/refrain ']'
> + checktmpsize
> ++ stat --file-system --format=%S /tmp/cron-apt.rAN9JY
> + SSIZE=4096
> ++ stat --file-system --format=%a /tmp/cron-apt.rAN9JY
> + FSCOUNT=1021392
> + '[' 1021392 -lt 33554432 ']'
> + '[' 4085568 -lt 10 ']'
> ++ date
> + echo 'CRON-APT RUN [/etc/cron-apt/config]: Mon Jan 30 13:00:01 CET 2023'
> + '[' -n 3600 ']'
> + '[' 3600 -gt 0 ']'
> + '[' -z 9590 ']'
> + TIME=450
> + sleep 450
> ++ date
> + echo 'CRON-APT SLEEP: 450, Mon Jan 30 13:07:31 CET 2023'
> + '[' -e /etc/cron-apt/refrain ']'
> + checktmpsize
> ++ stat --file-system --format=%S /tmp/cron-apt.rAN9JY
> + SSIZE=4096
> ++ stat --file-system --format=%a /tmp/cron-apt.rAN9JY
> + FSCOUNT=1021391
> + '[' 1021391 -lt 33554432 ']'
> + '[' 4085564 -lt 10 ']'
> + '[' -x /usr/bin/dotlockfile ']'
> + dotlockfile -l -p -r 10 /var/lib/cron-apt/lockfile
> + cp /tmp/cron-apt.rAN9JY/initlog /tmp/cron-apt.rAN9JY/runmail
> + cp /tmp/cron-apt.rAN9JY/initlog /tmp/cron-apt.rAN9JY/runlog
> + cp /tmp/cron-apt.rAN9JY/initlog /tmp/cron-apt.rAN9JY/runsyslog
> + cp /tmp/cron-apt.rAN9JY/initlog /tmp/cron-apt.rAN9JY/runerror
> + rm -f /tmp/cron-apt.rAN9JY/initlog
> ++ run_parts /etc/cron-apt/action.d
> ++ unset LANG LC_COLLATE LC_ALL
> ++ '[' -z /etc/cron-apt/action.d ']'
> ++ '[' '!' -d /etc/cron-apt/action.d ']'
> +++ ls /etc/cron-apt/action.d
> ++ for F in $(ls $1)
> ++ expr '#0-update#' : '[[:alnum:]_-]\+$'
> ++ for F in $(ls $1)
> ++ expr 0-update : '[[:alnum:]_-]\+$'
> ++ '[' -f /etc/cron-apt/action.d/0-update ']'
> ++ echo /etc/cron-apt/action.d/0-update
> ++ for F in $(ls $1)
> ++ expr 3-download : '[[:alnum:]_-]\+$'
> ++ '[' -f /etc/cron-apt/action.d/3-download ']'
> ++ echo /etc/cron-apt/action.d/3-download
> + for ACTION in $(run_parts "$ACTIONDIR")
> ++ echo /etc/cron-apt/action.d/0-update
> ++ sed 's|/etc/cron-apt/action.d/||'
> + ACTIONF=0-update
> + '[' -f /etc/cron-apt/config.d/0-update ']'
> + echo 'CRON-APT ACTION: 0-update'
> + echo 'CRON-APT ACTION: 0-update'
> + echo 'CRON-APT ACTION: 0-update'
> + echo 'CRON-APT ACTION: 0-update'
> + herevariables_store
> + general_varmove HERE STORED
> + PREFIX=HERE
> + STORE=STORED
> + SIFS='
> '
> ++ set
> ++ grep '^[a-zA-Z][a-zA-Z0-9_]*_HERE='
> ++ sed -e 's|=.*||;'
> + LIST=
> + cat /etc/cron-apt/action.d/0-update
> + sed -e 's/#.*$//;'
> + grep -v '^[[:space:]]*$'
> + read LINE
> + echo 'CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2'
> ++ umask
> + UMASK_SAVE=0077
> + umask 022
> + /usr/bin/apt-get -o quiet=1 update -o quiet=2
> + RET=0
> + umask 0077
> + '[' 0 -ne 0 ']'
> + grep -q 'The following packages will be upgraded'
> /tmp/cron-apt.rAN9JY/temp
> + '[' always = always ']'
> + createsysloginfo 0-update
> + '[' -n always ']'
> + '[' -f /etc/cron-apt/syslogonmsgs/always ']'
> + createdivinfo syslog /tmp/cron-apt.rAN9JY/temp
> /etc/cron-apt/syslogmsg.d/0-update /tmp/cron-apt.rAN9JY/runsyslog
> /tmp/cron-apt.rAN9JY/actionsyslog
> + FILE=syslog
> + CAT=/tmp/cron-apt.rAN9JY/temp
> + OPTCAT=/etc/cron-apt/syslogmsg.d/0-update
> + OPTRUNCAT=/tmp/cron-apt.rAN9JY/runsyslog
> + OPTACTIONCAT=/tmp/cron-apt.rAN9JY/actionsyslog
> + TMPSTDOUT=
> + '[' syslog '!=' syslog ']'
> + '[' -n /etc/cron-apt/syslogmsg.d/0-update ']'
> + '[' -f /etc/cron-apt/syslogmsg.d/0-update ']'
> + '[' -n /tmp/cron-apt.rAN9JY/runsyslog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/runsyslog ']'
> + tomsg /tmp/cron-apt.rAN9JY/runsyslog syslog ''
> + TCAT=/tmp/cron-apt.rAN9JY/runsyslog
> + TFILE=syslog
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/runsyslog ']'
> + '[' -r /tmp/cron-apt.rAN9JY/runsyslog ']'
> + '[' -n '' ']'
> + '[' syslog '!=' syslog ']'
> + logger -p user.notice -t cron-apt -f /tmp/cron-apt.rAN9JY/runsyslog
> + rm -f /tmp/cron-apt.rAN9JY/runsyslog
> + '[' -n /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + tomsg /tmp/cron-apt.rAN9JY/actionsyslog syslog ''
> + TCAT=/tmp/cron-apt.rAN9JY/actionsyslog
> + TFILE=syslog
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + '[' -r /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + '[' -n '' ']'
> + '[' syslog '!=' syslog ']'
> + logger -p user.notice -t cron-apt -f /tmp/cron-apt.rAN9JY/actionsyslog
> + rm -f /tmp/cron-apt.rAN9JY/actionsyslog
> + tomsg /tmp/cron-apt.rAN9JY/temp syslog ''
> + TCAT=/tmp/cron-apt.rAN9JY/temp
> + TFILE=syslog
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -r /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -n '' ']'
> + '[' syslog '!=' syslog ']'
> + logger -p user.notice -t cron-apt -f /tmp/cron-apt.rAN9JY/temp
> + '[' upgrade = always ']'
> + '[' verbose = verbose ']'
> + createloginfo 0-update
> + createdivinfo /var/log/cron-apt/log /tmp/cron-apt.rAN9JY/temp
> /etc/cron-apt/logmsg.d/0-update /tmp/cron-apt.rAN9JY/runlog
> /tmp/cron-apt.rAN9JY/actionlog ''
> + FILE=/var/log/cron-apt/log
> + CAT=/tmp/cron-apt.rAN9JY/temp
> + OPTCAT=/etc/cron-apt/logmsg.d/0-update
> + OPTRUNCAT=/tmp/cron-apt.rAN9JY/runlog
> + OPTACTIONCAT=/tmp/cron-apt.rAN9JY/actionlog
> + TMPSTDOUT=
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + touch /var/log/cron-apt/log
> + '[' -n /etc/cron-apt/logmsg.d/0-update ']'
> + '[' -f /etc/cron-apt/logmsg.d/0-update ']'
> + '[' -n /tmp/cron-apt.rAN9JY/runlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/runlog ']'
> + tomsg /tmp/cron-apt.rAN9JY/runlog /var/log/cron-apt/log ''
> + TCAT=/tmp/cron-apt.rAN9JY/runlog
> + TFILE=/var/log/cron-apt/log
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/runlog ']'
> + '[' -r /tmp/cron-apt.rAN9JY/runlog ']'
> + '[' -n '' ']'
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + cat /tmp/cron-apt.rAN9JY/runlog
> + rm -f /tmp/cron-apt.rAN9JY/runlog
> + '[' -n /tmp/cron-apt.rAN9JY/actionlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/actionlog ']'
> + tomsg /tmp/cron-apt.rAN9JY/actionlog /var/log/cron-apt/log ''
> + TCAT=/tmp/cron-apt.rAN9JY/actionlog
> + TFILE=/var/log/cron-apt/log
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/actionlog ']'
> + '[' -r /tmp/cron-apt.rAN9JY/actionlog ']'
> + '[' -n '' ']'
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + cat /tmp/cron-apt.rAN9JY/actionlog
> + rm -f /tmp/cron-apt.rAN9JY/actionlog
> + tomsg /tmp/cron-apt.rAN9JY/temp /var/log/cron-apt/log ''
> + TCAT=/tmp/cron-apt.rAN9JY/temp
> + TFILE=/var/log/cron-apt/log
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -r /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -n '' ']'
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + cat /tmp/cron-apt.rAN9JY/temp
> + grep -qvE '^[[:space:]]*$|CRON-APT' /tmp/cron-apt.rAN9JY/temp
> ++ echo 'update -o quiet=2'
> ++ md5sum
> ++ sed -e 's/[[:space:]].*//;'
> + TLINE=bd7e303bb529e32e21411dab0e365376
> + '[' -n '' ']'
> + echo 'CRON-APT DIFF'
> + '[' '!' -r
> /var/lib/cron-apt/_-_etc_-_cron-apt_-_config/mailchanges/0-update-bd7e303bb529e32e21411dab0e365376
> ']'
> + diff -u
> /var/lib/cron-apt/_-_etc_-_cron-apt_-_config/mailchanges/0-update-bd7e303bb529e32e21411dab0e365376
> /tmp/cron-apt.rAN9JY/temp
> + rm -f /tmp/cron-apt.rAN9JY/difftemp
> + read LINE
> + '[' -e /tmp/cron-apt.rAN9JY/status ']'
> + herevariables_restore
> + general_varmove STORED ''
> + PREFIX=STORED
> + STORE=
> + SIFS='
> '
> ++ set
> ++ grep '^[a-zA-Z][a-zA-Z0-9_]*_STORED='
> ++ sed -e 's|=.*||;'
> + LIST=
> + for ACTION in $(run_parts "$ACTIONDIR")
> ++ echo /etc/cron-apt/action.d/3-download
> ++ sed 's|/etc/cron-apt/action.d/||'
> + ACTIONF=3-download
> + '[' -f /etc/cron-apt/config.d/3-download ']'
> + echo 'CRON-APT ACTION: 3-download'
> + echo 'CRON-APT ACTION: 3-download'
> + echo 'CRON-APT ACTION: 3-download'
> + echo 'CRON-APT ACTION: 3-download'
> + herevariables_store
> + general_varmove HERE STORED
> + PREFIX=HERE
> + STORE=STORED
> + SIFS='
> '
> ++ set
> ++ grep '^[a-zA-Z][a-zA-Z0-9_]*_HERE='
> ++ sed -e 's|=.*||;'
> + LIST=
> + cat /etc/cron-apt/action.d/3-download
> + sed -e 's/#.*$//;'
> + grep -v '^[[:space:]]*$'
> + read LINE
> + echo 'CRON-APT LINE: /usr/bin/apt-get -o quiet=1 autoclean -y'
> ++ umask
> + UMASK_SAVE=0077
> + umask 022
> + /usr/bin/apt-get -o quiet=1 autoclean -y
> + RET=0
> + umask 0077
> + '[' 0 -ne 0 ']'
> + grep -q 'The following packages will be upgraded'
> /tmp/cron-apt.rAN9JY/temp
> + '[' always = always ']'
> + createsysloginfo 3-download
> + '[' -n always ']'
> + '[' -f /etc/cron-apt/syslogonmsgs/always ']'
> + createdivinfo syslog /tmp/cron-apt.rAN9JY/temp
> /etc/cron-apt/syslogmsg.d/3-download /tmp/cron-apt.rAN9JY/runsyslog
> /tmp/cron-apt.rAN9JY/actionsyslog
> + FILE=syslog
> + CAT=/tmp/cron-apt.rAN9JY/temp
> + OPTCAT=/etc/cron-apt/syslogmsg.d/3-download
> + OPTRUNCAT=/tmp/cron-apt.rAN9JY/runsyslog
> + OPTACTIONCAT=/tmp/cron-apt.rAN9JY/actionsyslog
> + TMPSTDOUT=
> + '[' syslog '!=' syslog ']'
> + '[' -n /etc/cron-apt/syslogmsg.d/3-download ']'
> + '[' -f /etc/cron-apt/syslogmsg.d/3-download ']'
> + '[' -n /tmp/cron-apt.rAN9JY/runsyslog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/runsyslog ']'
> + '[' -n /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + tomsg /tmp/cron-apt.rAN9JY/actionsyslog syslog ''
> + TCAT=/tmp/cron-apt.rAN9JY/actionsyslog
> + TFILE=syslog
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + '[' -r /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + '[' -n '' ']'
> + '[' syslog '!=' syslog ']'
> + logger -p user.notice -t cron-apt -f /tmp/cron-apt.rAN9JY/actionsyslog
> + rm -f /tmp/cron-apt.rAN9JY/actionsyslog
> + tomsg /tmp/cron-apt.rAN9JY/temp syslog ''
> + TCAT=/tmp/cron-apt.rAN9JY/temp
> + TFILE=syslog
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -r /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -n '' ']'
> + '[' syslog '!=' syslog ']'
> + logger -p user.notice -t cron-apt -f /tmp/cron-apt.rAN9JY/temp
> + '[' upgrade = always ']'
> + '[' verbose = verbose ']'
> + createloginfo 3-download
> + createdivinfo /var/log/cron-apt/log /tmp/cron-apt.rAN9JY/temp
> /etc/cron-apt/logmsg.d/3-download /tmp/cron-apt.rAN9JY/runlog
> /tmp/cron-apt.rAN9JY/actionlog ''
> + FILE=/var/log/cron-apt/log
> + CAT=/tmp/cron-apt.rAN9JY/temp
> + OPTCAT=/etc/cron-apt/logmsg.d/3-download
> + OPTRUNCAT=/tmp/cron-apt.rAN9JY/runlog
> + OPTACTIONCAT=/tmp/cron-apt.rAN9JY/actionlog
> + TMPSTDOUT=
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + touch /var/log/cron-apt/log
> + '[' -n /etc/cron-apt/logmsg.d/3-download ']'
> + '[' -f /etc/cron-apt/logmsg.d/3-download ']'
> + '[' -n /tmp/cron-apt.rAN9JY/runlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/runlog ']'
> + '[' -n /tmp/cron-apt.rAN9JY/actionlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/actionlog ']'
> + tomsg /tmp/cron-apt.rAN9JY/actionlog /var/log/cron-apt/log ''
> + TCAT=/tmp/cron-apt.rAN9JY/actionlog
> + TFILE=/var/log/cron-apt/log
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/actionlog ']'
> + '[' -r /tmp/cron-apt.rAN9JY/actionlog ']'
> + '[' -n '' ']'
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + cat /tmp/cron-apt.rAN9JY/actionlog
> + rm -f /tmp/cron-apt.rAN9JY/actionlog
> + tomsg /tmp/cron-apt.rAN9JY/temp /var/log/cron-apt/log ''
> + TCAT=/tmp/cron-apt.rAN9JY/temp
> + TFILE=/var/log/cron-apt/log
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -r /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -n '' ']'
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + cat /tmp/cron-apt.rAN9JY/temp
> + grep -qvE '^[[:space:]]*$|CRON-APT' /tmp/cron-apt.rAN9JY/temp
> + '[' always = output ']'
> + '[' upgrade = output ']'
> + '[' verbose = upgrade ']'
> ++ echo 'autoclean -y'
> ++ md5sum
> ++ sed -e 's/[[:space:]].*//;'
> + TLINE=58797c9195c34287e12120e4b46fb611
> + '[' -n '' ']'
> + echo 'CRON-APT DIFF'
> + '[' '!' -r
> /var/lib/cron-apt/_-_etc_-_cron-apt_-_config/mailchanges/3-download-58797c9195c34287e12120e4b46fb611
> ']'
> + diff -u
> /var/lib/cron-apt/_-_etc_-_cron-apt_-_config/mailchanges/3-download-58797c9195c34287e12120e4b46fb611
> /tmp/cron-apt.rAN9JY/temp
> + rm -f /tmp/cron-apt.rAN9JY/difftemp
> + read LINE
> + echo 'CRON-APT LINE: /usr/bin/apt-get -o quiet=1 dist-upgrade -d -y -o
> APT::Get::Show-Upgraded=true'
> ++ umask
> + UMASK_SAVE=0077
> + umask 022
> + /usr/bin/apt-get -o quiet=1 dist-upgrade -d -y -o
> APT::Get::Show-Upgraded=true
> + RET=0
> + umask 0077
> + '[' 0 -ne 0 ']'
> + grep -q 'The following packages will be upgraded'
> /tmp/cron-apt.rAN9JY/temp
> + '[' always = always ']'
> + createsysloginfo 3-download
> + '[' -n always ']'
> + '[' -f /etc/cron-apt/syslogonmsgs/always ']'
> + createdivinfo syslog /tmp/cron-apt.rAN9JY/temp
> /etc/cron-apt/syslogmsg.d/3-download /tmp/cron-apt.rAN9JY/runsyslog
> /tmp/cron-apt.rAN9JY/actionsyslog
> + FILE=syslog
> + CAT=/tmp/cron-apt.rAN9JY/temp
> + OPTCAT=/etc/cron-apt/syslogmsg.d/3-download
> + OPTRUNCAT=/tmp/cron-apt.rAN9JY/runsyslog
> + OPTACTIONCAT=/tmp/cron-apt.rAN9JY/actionsyslog
> + TMPSTDOUT=
> + '[' syslog '!=' syslog ']'
> + '[' -n /etc/cron-apt/syslogmsg.d/3-download ']'
> + '[' -f /etc/cron-apt/syslogmsg.d/3-download ']'
> + '[' -n /tmp/cron-apt.rAN9JY/runsyslog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/runsyslog ']'
> + '[' -n /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + tomsg /tmp/cron-apt.rAN9JY/temp syslog ''
> + TCAT=/tmp/cron-apt.rAN9JY/temp
> + TFILE=syslog
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -r /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -n '' ']'
> + '[' syslog '!=' syslog ']'
> + logger -p user.notice -t cron-apt -f /tmp/cron-apt.rAN9JY/temp
> + '[' upgrade = always ']'
> + '[' verbose = verbose ']'
> + createloginfo 3-download
> + createdivinfo /var/log/cron-apt/log /tmp/cron-apt.rAN9JY/temp
> /etc/cron-apt/logmsg.d/3-download /tmp/cron-apt.rAN9JY/runlog
> /tmp/cron-apt.rAN9JY/actionlog ''
> + FILE=/var/log/cron-apt/log
> + CAT=/tmp/cron-apt.rAN9JY/temp
> + OPTCAT=/etc/cron-apt/logmsg.d/3-download
> + OPTRUNCAT=/tmp/cron-apt.rAN9JY/runlog
> + OPTACTIONCAT=/tmp/cron-apt.rAN9JY/actionlog
> + TMPSTDOUT=
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + touch /var/log/cron-apt/log
> + '[' -n /etc/cron-apt/logmsg.d/3-download ']'
> + '[' -f /etc/cron-apt/logmsg.d/3-download ']'
> + '[' -n /tmp/cron-apt.rAN9JY/runlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/runlog ']'
> + '[' -n /tmp/cron-apt.rAN9JY/actionlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/actionlog ']'
> + tomsg /tmp/cron-apt.rAN9JY/temp /var/log/cron-apt/log ''
> + TCAT=/tmp/cron-apt.rAN9JY/temp
> + TFILE=/var/log/cron-apt/log
> + TSTD=
> + '[' -n /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -r /tmp/cron-apt.rAN9JY/temp ']'
> + '[' -n '' ']'
> + '[' /var/log/cron-apt/log '!=' syslog ']'
> + cat /tmp/cron-apt.rAN9JY/temp
> + grep -qvE '^[[:space:]]*$|CRON-APT' /tmp/cron-apt.rAN9JY/temp
> + '[' always = output ']'
> + '[' upgrade = output ']'
> + '[' verbose = upgrade ']'
> ++ echo 'dist-upgrade -d -y -o APT::Get::Show-Upgraded=true'
> ++ md5sum
> ++ sed -e 's/[[:space:]].*//;'
> + TLINE=e647be386a7d1853e0e4b05248391d8e
> + '[' -n '' ']'
> + echo 'CRON-APT DIFF'
> + '[' '!' -r
> /var/lib/cron-apt/_-_etc_-_cron-apt_-_config/mailchanges/3-download-e647be386a7d1853e0e4b05248391d8e
> ']'
> + diff -u
> /var/lib/cron-apt/_-_etc_-_cron-apt_-_config/mailchanges/3-download-e647be386a7d1853e0e4b05248391d8e
> /tmp/cron-apt.rAN9JY/temp
> + rm -f /tmp/cron-apt.rAN9JY/difftemp
> + read LINE
> + '[' -e /tmp/cron-apt.rAN9JY/status ']'
> + herevariables_restore
> + general_varmove STORED ''
> + PREFIX=STORED
> + STORE=
> + SIFS='
> '
> ++ set
> ++ grep '^[a-zA-Z][a-zA-Z0-9_]*_STORED='
> ++ sed -e 's|=.*||;'
> + LIST=
> + onexit
> + '[' -f /tmp/cron-apt.rAN9JY/initlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/temp ']'
> + rm -f /tmp/cron-apt.rAN9JY/temp
> + '[' -f /tmp/cron-apt.rAN9JY/actionlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/actionsyslog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/actionmail ']'
> + rm -f /tmp/cron-apt.rAN9JY/actionmail
> + '[' -f /tmp/cron-apt.rAN9JY/actionerror ']'
> + rm -f /tmp/cron-apt.rAN9JY/actionerror
> + '[' -f /tmp/cron-apt.rAN9JY/runlog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/runsyslog ']'
> + '[' -f /tmp/cron-apt.rAN9JY/runerror ']'
> + rm -f /tmp/cron-apt.rAN9JY/runerror
> + '[' -f /tmp/cron-apt.rAN9JY/runmail ']'
> + rm -f /tmp/cron-apt.rAN9JY/runmail
> + '[' -f /tmp/cron-apt.rAN9JY/mail ']'
> + '[' -f /tmp/cron-apt.rAN9JY/_-_etc_-_cron-apt_-_config-error ']'
> + '[' -d /tmp/cron-apt.rAN9JY ']'
> + rmdir /tmp/cron-apt.rAN9JY
> + '[' -x /usr/bin/dotlockfile ']'
> + dotlockfile -u /var/lib/cron-apt/lockfile
>
>
>
> Richard
>
> Am Samstag, 28. Januar 2023 15:23 CET, schrieb Ola Lundqvist <
> o...@inguza.com>:
>
>
> Really strange!
>
> Not sure what could be wrong here.
>
> // Ola
>
>
> --
>  --- Inguza Technology AB --- MSc in Information Technology ----
> |  o...@inguza.com                    o...@debian.org            |
> |  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
>  ---------------------------------------------------------------
>
>
>

-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
|  o...@inguza.com                    o...@debian.org            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
 ---------------------------------------------------------------

Reply via email to