Closed duowen1 closed 3 years ago
Hey, it's me again. I was installing cve-2017-7308. I firstly ran
git pull
to get my metarget update to your registry. And I ran./metarget cnv install cve-2017-7308
, then the output is:cve-2017-7308 is going to be installed switching kernel by version adding apt repository deb http://security.ubuntu.com/ubuntu trusty-security main adding apt repository deb http://security.ubuntu.com/ubuntu xenial-security main adding apt repository deb http://security.ubuntu.com/ubuntu bionic-security main warning: no apt package for kernel 4.8.0-34 switching kernel version with downloading packages retrieving package list for kernel 4.8.0-34 error: kernel package list not found error: failed to install cve-2017-7308
My kernel version is 5.0.0-23-generic, and my operating system is Ubuntu 18.04.
Hi, anyway, it works well with my environment:
root@ubuntu1804:~/metarget# ./metarget cnv install cve-2017-7308
cve-2017-7308 is going to be installed
switching kernel by version
adding apt repository deb http://security.ubuntu.com/ubuntu trusty-security main
adding apt repository deb http://security.ubuntu.com/ubuntu xenial-security main
adding apt repository deb http://security.ubuntu.com/ubuntu bionic-security main
switching kernel version with apt
installing kernel package linux-image-extra-4.8.0-34-generic
modifying grub config file
updating grub
cve-2017-7308 successfully installed
reboot system now? (y/n)
OS Info:
root@ubuntu1804:~/metarget# cat /proc/version
Linux version 4.15.0-143-generic (buildd@lcy01-amd64-001) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021
Plz add --verbose
option and see what happens. As far as i know, sometimes Ubuntu would ask you to run (just follow the output with --verbose
, or show me here):
sudo dpkg --configure -a
Yes, it works. I made a really stupid mistake. All I need to do is run it with sudo
. Thanks anyway. Metarget is a really great project.
The same issue was encountered. Even I use sudo
to install envs. My Ubuntu distribution is also 18.04LTS.
sudo ./metarget cnv install cve-2017-7308 --verbose
cve-2017-7308 is going to be installed
switching kernel by version
adding apt repository deb http://security.ubuntu.com/ubuntu trusty-security main
...
Fetched 64.4 kB in 1s (56.0 kB/s)
Reading package lists... Done
adding apt repository deb http://security.ubuntu.com/ubuntu xenial-security main
...
Fetched 64.4 kB in 2s (37.0 kB/s)
Reading package lists... Done
warning: no apt package for kernel 4.8.0-34
switching kernel version with downloading packages
retrieving package list for kernel 4.8.0-34
error: kernel package list not found
error: failed to install cve-2017-7308
Hey, it's me again. I was installing cve-2017-7308. I firstly ran
git pull
to get my metarget update to your registry. And I ran./metarget cnv install cve-2017-7308
, then the output is:My kernel version is 5.0.0-23-generic, and my operating system is Ubuntu 18.04.