hiding-cryptominers-linux-rootkit
hiding-cryptominers-linux-rootkit copied to clipboard
cannot make file
make -C /lib/modules/5.4.104+/build M=$PWD make[1]: *** /lib/modules/5.4.104+/build: No such file or directory. Stop. Makefile:3: recipe for target 'all' failed make: *** [all] Error 2
Hi,
Try installing linux-headers
for your kernel version: apt-get install -y linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-5.4.104
E: Couldn't find any package by glob 'linux-headers-5.4.104'
E: Couldn't find any package by regex 'linux-headers-5.4.104'
Couldn't find any package by regex 'linux-headers-5.4.104'
Hmm try this so:
sudo apt-get update # This will update the repositories list
sudo apt-get upgrade # This will update all the necessary packages on your system
sudo apt-get dist-upgrade # This will add/remove any needed packages
reboot # You may need this since sometimes after a upgrade/dist-upgrade, there are some left over entries that get fixed after a reboot
sudo apt-get install linux-headers-$(uname -r) # This should work now
Source: https://stackoverflow.com/a/41081644
Couldn't find any package by regex 'linux-headers-5.4.104'
Hmm try this so:
sudo apt-get update # This will update the repositories list sudo apt-get upgrade # This will update all the necessary packages on your system sudo apt-get dist-upgrade # This will add/remove any needed packages reboot # You may need this since sometimes after a upgrade/dist-upgrade, there are some left over entries that get fixed after a reboot sudo apt-get install linux-headers-$(uname -r) # This should work now
Source: https://stackoverflow.com/a/41081644
Did not work on VM.. seems more like a privilage issue. Though I have sudo rights. :(
Couldn't find any package by regex 'linux-headers-5.4.104'
Hmm try this so:
sudo apt-get update # This will update the repositories list sudo apt-get upgrade # This will update all the necessary packages on your system sudo apt-get dist-upgrade # This will add/remove any needed packages reboot # You may need this since sometimes after a upgrade/dist-upgrade, there are some left over entries that get fixed after a reboot sudo apt-get install linux-headers-$(uname -r) # This should work now
Source: https://stackoverflow.com/a/41081644
Did not work on VM.. seems more like a privilage issue. Though I have sudo rights. :(
Last time I tested it on VM it worked fine. I used Vagrant + generic/ubuntu2004 box. Maybe you should give it a try.