Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to update v2.5.5 #491

Closed
SimonFearby opened this Issue Nov 14, 2017 · 7 comments

Comments

Projects
None yet
3 participants
@SimonFearby
Copy link

SimonFearby commented Nov 14, 2017

./lynis --check-update
This option is deprecated
Use: lynis update info
root@feaerby:/linis/lynis# ./lynis update info

== Lynis ==

Version : 2.5.5
Status : Outdated
Installed version : 255
Latest version : 257
Release date : 2017-09-07
Update location : https://cisofy.com/lynis/

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

./lynis update check
status=outdated
root@feaerby:/linis/lynis# lynis update check
The program 'lynis' is currently not installed. You can install it by typing:
apt install lynis

#:/linis/lynis# ./lynis update check
status=outdated

Do I run: sudo git clone https://www.github.com/CISOfy/lynis over the top of 2.5.5

@quantumpacket

This comment has been minimized.

Copy link
Contributor

quantumpacket commented Nov 14, 2017

If you're using a Debian/Ubuntu system you should be using the package repository to get new updates opposed to doing manual updates. https://packages.cisofy.com/community/

@SimonFearby

This comment has been minimized.

Copy link
Author

SimonFearby commented Nov 15, 2017

Thanks, I deleted the GIT synced folder and will update my guide here https://fearby.com/article/run-ubuntu-vm-system-audit-lynis/

@SimonFearby

This comment has been minimized.

Copy link
Author

SimonFearby commented Nov 15, 2017

fyi: Support replied to ticket #492 and not #491, nothing confidential so all good. Thanks

@SimonFearby SimonFearby reopened this Nov 15, 2017

@SimonFearby

This comment has been minimized.

Copy link
Author

SimonFearby commented Nov 15, 2017

Thanks, I read https://packages.cisofy.com/community/#debian-ubuntu but apt-update fails

apt update

E: Malformed entry 1 in list file /etc/apt/sources.list.d/cisofy-lynis.list (Component)
E: The list of sources could not be read.

Complete input/output:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C80E383C3DE9F082E01391A0366C67DE91CA5D5F
Executing: /tmp/tmp.Dz9g9nKV6i/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
C80E383C3DE9F082E01391A0366C67DE91CA5D5F
gpg: requesting key 91CA5D5F from hkp server keyserver.ubuntu.com
gpg: key 91CA5D5F: public key "CISOfy Software (signed software packages) software@cisofy.com" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

apt install apt-transport-https

Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.2.24).
The following packages were automatically installed and are no longer required:
gamin libfile-copy-recursive-perl libgamin0 libglade2-0 libpango1.0-0 libpangox-1.0-0 openbsd-inetd pure-ftpd-common update-inetd
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/99disable-translations

echo "deb https://packages.cisofy.com/community/lynis/deb/xenial main" > /etc/apt/sources.list.d/cisofy-lynis.list

apt update

E: Malformed entry 1 in list file /etc/apt/sources.list.d/cisofy-lynis.list (Component)
E: The list of sources could not be read.

@quantumpacket

This comment has been minimized.

Copy link
Contributor

quantumpacket commented Nov 15, 2017

@SimonFearby there needs to be a space before "xenial". So:

echo "deb https://packages.cisofy.com/community/lynis/deb/ xenial main" > /etc/apt/sources.list.d/cisofy-lynis.list

@SimonFearby

This comment has been minimized.

Copy link
Author

SimonFearby commented Nov 15, 2017

Thanks

@mboelen

This comment has been minimized.

Copy link
Member

mboelen commented Nov 15, 2017

Closing this one then :) Thanks @quantumpacket for guidance.

@mboelen mboelen closed this Nov 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.