Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1000957: rkhunter: Problem executing scripts DPkg::Post-Invoke

245 views
Skip to first unread message

Famelis George

unread,
Dec 1, 2021, 8:00:04 AM12/1/21
to
Package: rkhunter
Version: 1.4.6-10
Severity: important

Dear Maintainer,

After running apt-get dist-upgrade, I receive the following message:

[ Rootkit Hunter version 1.4.6 ]
File updated: searched for 182 files, found 160, broken links 1
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/rkhunter ] &&
grep -qiE '^APT_AUTOGEN=.?(true|yes)' /etc/default/rkhunter; then
/usr/share/rkhunter/scripts/rkhupd.sh; fi'
E: Sub-process returned an error code


The statement in error should be
'if test -x /usr/bin/rkhunter && grep -qiE '^APT_AUTOGEN=.?(true|yes)'
/etc/default/rkhunter; then /usr/share/rkhunter/scripts/rkhupd.sh; fi'


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-1-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8), LANGUAGE=el:en_US
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages rkhunter depends on:
ii binutils 2.37-10
ii debconf [debconf-2.0] 1.5.79
ii file 1:5.41-2
ii lsof 4.93.2+dfsg-1.1
ii net-tools 1.60+git20181103.0eebece-1
ii perl 5.32.1-6
ii ucf 3.0043

Versions of packages rkhunter recommends:
ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-2
ii curl 7.79.1-2
ii e2fsprogs 1.46.4-1
ii exim4-daemon-heavy [mail-transport-agent] 4.95-2
ii iproute2 5.15.0-1
ii unhide 20130526-4
ii unhide.rb 22-6
ii wget 1.21.2-2+b1

Versions of packages rkhunter suggests:
ii liburi-perl 5.10-1
ii libwww-perl 6.58-1
ii powermgmt-base 1.36

-- Configuration Files:
/etc/default/rkhunter changed:
CRON_DAILY_RUN="yes"
CRON_DB_UPDATE="yes"
DB_UPDATE_EMAIL="false"
REPORT_EMAIL="root"
APT_AUTOGEN="yes"
NICE="0"
RUN_CHECK_ON_BATTERY="false"

/etc/logcheck/ignore.d.server/rkhunter [Errno 13] Άρνηση πρόσβασης: '/etc/logcheck/ignore.d.server/rkhunter'

-- debconf information:
rkhunter/cron_db_update: yes
rkhunter/cron_daily_run: yes
rkhunter/apt_autogen: yes

Richard Lewis

unread,
Dec 2, 2021, 6:40:03 PM12/2/21
to
Seems to be the same as
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993748 -- so patch
available, just waiting for someone to merge it
0 new messages