获取 Lynis 的 Debian 测试更新(buster)

获取 Lynis 的 Debian 测试更新(buster)

有什么办法我可以得到莱尼斯更新如果我正在使用Debian 测试(破坏者)?我宁愿避免安装较新版本莱尼斯手动。我想使用 Debian 存储库。

root@host:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (buster)
Release:        testing
Codename:       buster

莱尼斯 update info:

root@host:~# lynis update info

      ===============================================================================
        Lynis update available
      ===============================================================================

        Current version is more than 4 months old

        Please update to the latest version.
        New releases include additional features, bug fixes, tests and baselines.

        Download the latest version:
        Packages (DEB/RPM) -  https://packages.cisofy.com
        Website            -  https://cisofy.com/downloads/
        GitHub             -  https://github.com/CISOfy/lynis

      ===============================================================================


 == Lynis ==

  Version            : 2.5.0
  Status             : Outdated
  Installed version  : 250
  Latest version     : 257
  Release date       : 2017-05-03
  Update location    : https://cisofy.com/lynis/


2007-2017, CISOfy - https://cisofy.com/lynis/

我跑了aptitude update && aptitude full-upgrade,但目前没有更多更新。

答案1

安装过程描述于官方网站

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C80E383C3DE9F082E01391A0366C67DE91CA5D5F
apt install apt-transport-https
echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/99disable-translations
echo "deb https://packages.cisofy.com/community/lynis/deb/ stable main" > /etc/apt/sources.list.d/cisofy-lynis.list
apt update
apt remove lynis
apt install lynis

验证您的版本:

lynis show version
2.5.7

相关内容