Hi guys I am getting below error while installing ...
# general
n
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
@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