首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >让Lynis更新Debian测试(buster)

让Lynis更新Debian测试(buster)
EN

Unix & Linux用户
提问于 2017-12-25 12:08:02
回答 1查看 1.5K关注 0票数 2

如果我使用的是林尼斯 (buster),有什么方法可以获得Debian测试更新吗?我宁愿避免手动安装更新版本的林尼斯。我想使用Debian存储库。

代码语言:javascript
复制
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

代码语言:javascript
复制
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,但目前没有任何更新。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2017-12-25 15:20:43

官方网站上描述了安装过程。

代码语言:javascript
复制
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

验证您的版本:

代码语言:javascript
复制
lynis show version
2.5.7
票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/412947

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档