Error on first AIDE init

Asked by S7

Hi there, we've setup a new Ubuntu Server 22.04.2 LTS and Aide 0.17.4.
At the first init we received the folling error:

root@host:/# aide --init --config /etc/aide/aide.conf
  ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):215:67: error in rule '/var/lib/apt/lists/packages\.panopta\.com_deb_dists_stable_[signed-by=/usr/share/keyrings/debian-webmin.gpg]_binary-(amd64|all)_Packages(\.diff_Index)?$': range out of order in character class (line: '/var/lib/apt/lists/packages\\.panopta\\.com_deb_dists_stable_[signed-by=/usr/share/keyrings/debian-webmin.gpg]_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile')

We checked all files at /etc/apt/sources.list.d but didn't find any strange things there.

Can anyone help us out there please? Thanks in advance and best regards, Ric.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu aide Edit question
Assignee:
No assignee Edit question
Solved by:
S7
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes, what is the output of the following commands:

uname -a
lsb_release -crid
apt policy aide
grep -i panopta /etc/apt/sources.list /etc/apt/sources.list/*.list

Revision history for this message
S7 (str7) said :
#2

root@host:/# uname -a
Linux vps05.streich7.net 5.15.0-71-generic #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

root@host:/# lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy

root@host:/# apt policy aide
aide:
  Installed: 0.17.4-1
  Candidate: 0.17.4-1
  Version table:
 *** 0.17.4-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

root@host:/# grep -i panopta /etc/apt/sources.list /etc/apt/sources.list/*.list
/etc/apt/sources.list:## Addition to add panopta-agent
/etc/apt/sources.list:deb http://packages.panopta.com/deb stable main
grep: /etc/apt/sources.list/*.list: Not a directory

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Sorry, my fault; the last command should have been

grep -i panopta /etc/apt/sources.list /etc/apt/sources.list.d/*.list

pleas show us its output.

Revision history for this message
S7 (str7) said :
#4

Don't worry, we are humans.

root@host:/# grep -i panopta /etc/apt/sources.list /etc/apt/sources.list.d/*.list
/etc/apt/sources.list:## Addition to add panopta-agent
/etc/apt/sources.list:deb http://packages.panopta.com/deb stable main

regards

Revision history for this message
S7 (str7) said :
#5

Got it, /etc/apt/sources.list missed a line break at the end. Life could be so easy...

Thanks for your help!