Skip to content

Instantly share code, notes, and snippets.

@wwalker
Created August 3, 2016 19:18
Show Gist options
  • Save wwalker/b7705c1c228fa705e1d63c60756f8a1c to your computer and use it in GitHub Desktop.
Save wwalker/b7705c1c228fa705e1d63c60756f8a1c to your computer and use it in GitHub Desktop.
dpkg fails to install what it says it installs
root@ubu-01:~# dpkg -i /srv/salt/states/heka/files/heka_0.10.0_amd64.deb
(Reading database ... 39465 files and directories currently installed.)
Preparing to unpack .../files/heka_0.10.0_amd64.deb ...
Unpacking heka (0.10.0) over (0.10.0) ...
Setting up heka (0.10.0) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
root@ubu-01:~# ls -ld /etc/init.d
drwxr-xr-x 2 root root 4096 Aug 3 19:14 /etc/init.d
root@ubu-01:~# ls -l /etc/init.d/heka
ls: cannot access /etc/init.d/heka: No such file or directory
root@ubu-01:~# dpkg -L heka | grep etc
/etc
/etc/init.d
/etc/init.d/heka
root@ubu-01:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment