Code Monkey home page Code Monkey logo

Comments (7)

mboelen avatar mboelen commented on June 2, 2024

That version is indeed old. It looks like your apt/yum/dnf configuration is not up-to-date. But troubleshooting will be impossible without the details (the OS, the related file of your repo, the output of relevant package manager commands).

Can you provide a bit more details?

from lynis.

poinT1501 avatar poinT1501 commented on June 2, 2024

The OS is Parrot OS, debian-based.

sudo apt install lynis, output:
"Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
lynis is already the newest version (3.0.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."

Can you be a bit more specific with the details you need? I'm quite a rookie ..

from lynis.

mboelen avatar mboelen commented on June 2, 2024

Show us what you have configured (as you stated your configured the software repository). You should have a list/repo file that contains the details as listed at the software repository.

The output of apt policy lynis is also useful.

from lynis.

poinT1501 avatar poinT1501 commented on June 2, 2024

sudo grep -rhE ^deb /etc/apt/sources.list*, output:
"deb https://deb.parrot.sh/parrot lts main contrib non-free
deb-src https://deb.parrot.sh/parrot lts main contrib non-free
deb https://deb.parrot.sh/parrot parrot main contrib non-free
deb https://deb.parrot.sh/direct/parrot parrot-security main contrib non-free
deb https://deb.parrot.sh/parrot parrot-backports main contrib non-free
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
deb https://packages.cisofy.com/community/lynis/deb/ stable main"

sudo apt policy lynis, output:
"lynis:
Installed: 3.0.2-1
Candidate: 3.0.2-1
Version table:
3.0.9-100 500
500 https://packages.cisofy.com/community/lynis/deb stable/main amd64 Packages
*** 3.0.2-1 600
600 https://deb.parrot.sh/parrot lts/main amd64 Packages
600 https://deb.parrot.sh/parrot parrot/main amd64 Packages
100 /var/lib/dpkg/status".

from lynis.

mboelen avatar mboelen commented on June 2, 2024

The one from Parrot "wins" due to the higher priority within the apt configuration (600 > 500). The solution is to set a higher priority for the Lynis package from our repository. The configuration to do that is also listed on our repository (bottom).

With this solution, I will close the issue (no changes to Lynis).

from lynis.

poinT1501 avatar poinT1501 commented on June 2, 2024

Thanks a lot for your help, man!

from lynis.

mboelen avatar mboelen commented on June 2, 2024

You are welcome. Happy hardening!

from lynis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.