Title
#general
n

nick

09/16/2019, 5:02 AM
Hi guys I am getting below error while installing osquery in ubuntu /home# apt-get install osquery_4.0.2_1.linux.amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package osquery_4.0.2_1.linux.amd64.deb E: Couldn't find any package by glob 'osquery_4.0.2_1.linux.amd64.deb' E: Couldn't find any package by regex 'osquery_4.0.2_1.linux.amd64.deb' ======================= can anyone help me?
s

seph

09/16/2019, 1:27 PM
@nick Those commands don’t look correct to me.
dpkg
will work on downloaded packages on local disk.
apt-get
works against package repositories. The package file is named
osquery_4.0.2_1.linux.amd64.deb
, but the package itself is named
osquery
. So if you’re trying to download from a configured repository. you’d want
apt-get install osquery
. If you’re installing from a downloaded file, you’d use
dpkg --install ./path/to/osquery_4.0.2_1.linux.amd64.deb