MChorfa
11/02/2022, 12:59 PMmchorfa@mchorfa-linux-02:~/tmp$ sudo dpkg --install fleet-osquery_1.3.0_amd64.deb
(Reading database ... 447044 files and directories currently installed.)
Preparing to unpack fleet-osquery_1.3.0_amd64.deb ...
Failed to stop orbit.service: Unit orbit.service not loaded.
Failed to disable unit: Unit file orbit.service does not exist.
Unpacking fleet-osquery (1.3.0) over (1.3.0) ...
Setting up fleet-osquery (1.3.0) ...
Failed to restart orbit.service: Unit orbit.service not found.
dpkg: error processing package fleet-osquery (--install):
installed fleet-osquery package post-installation script subprocess returned error exit status 5
Errors were encountered while processing:
fleet-osquery
Kathy Satterlee
11/02/2022, 3:18 PMMChorfa
11/02/2022, 3:26 PMmchorfa@mchorfa-linux-02:~/tmp$ sudo apt install ./fleet-osquery_1.3.0_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'fleet-osquery' instead of './fleet-osquery_1.3.0_amd64.deb'
The following package was automatically installed and is no longer required:
libxmlb1
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
fleet-osquery
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/33.4 MB of archives.
After this operation, 84.1 MB of additional disk space will be used.
Get:1 /home/mchorfa/tmp/fleet-osquery_1.3.0_amd64.deb fleet-osquery amd64 1.3.0 [33.4 MB]
Selecting previously unselected package fleet-osquery.
(Reading database ... 447268 files and directories currently installed.)
Preparing to unpack .../fleet-osquery_1.3.0_amd64.deb ...
Unpacking fleet-osquery (1.3.0) ...
Setting up fleet-osquery (1.3.0) ...
Created symlink /etc/systemd/system/multi-user.target.wants/orbit.service → /lib/systemd/system/orbit.service.
N: Download is performed unsandboxed as root as file '/home/mchorfa/tmp/fleet-osquery_1.3.0_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
N: Download is performed unsandboxed as root as file '/home/mchorfa/tmp/fleet-osquery_1.3.0_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
sudo chown _apt /var/lib/update-notifier/package-data-downloads/partial/
Kathy Satterlee
11/02/2022, 3:30 PM_apt
user was unable to access the file, so root
was used instead. It shouldn't have any impact on the install process.MChorfa
11/02/2022, 3:30 PMmchorfa@mchorfa-linux-02:~/tmp$ sudo apt install ./fleet-osquery_1.3.0_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'fleet-osquery' instead of './fleet-osquery_1.3.0_amd64.deb'
fleet-osquery is already the newest version (1.3.0).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Kathy Satterlee
11/02/2022, 3:31 PMMChorfa
11/02/2022, 3:32 PMKathy Satterlee
11/02/2022, 3:32 PMMChorfa
11/02/2022, 3:33 PMKathy Satterlee
11/02/2022, 3:35 PM--insecure
flag. That will bypass the certificate errors.MChorfa
11/02/2022, 3:36 PMKathy Satterlee
11/02/2022, 3:37 PMMChorfa
11/02/2022, 3:39 PMKathy Satterlee
11/02/2022, 5:14 PMMChorfa
11/02/2022, 5:16 PMKathy Satterlee
11/02/2022, 5:16 PM