1

How do I install systemd-journal-gatewayd on a raspberry pi? https://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html

stretch

michael@stetch:~ $ sudo apt-get install systemd-journal-gatewayd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd
michael@stetch:~ $ sudo apt-get install systemd-journal-gatewayd.socket
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd.socket
E: Couldn't find any package by glob 'systemd-journal-gatewayd.socket'
E: Couldn't find any package by regex 'systemd-journal-gatewayd.socket'
michael@stetch:~ $ sudo apt-get install systemd-journal-gatewayd.service
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd.service
E: Couldn't find any package by glob 'systemd-journal-gatewayd.service'
E: Couldn't find any package by regex 'systemd-journal-gatewayd.service'
michael@stetch:~ $

jessie

michael@jessie:~ $ sudo apt-get install systemd-journal-gatewayd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd
michael@jessie:~ $ sudo apt-get install systemd-journal-gatewayd.socket
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd.socket
E: Couldn't find any package by regex 'systemd-journal-gatewayd.socket'
michael@jessie:~ $ sudo apt-get install systemd-journal-gatewayd.service
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package systemd-journal-gatewayd.service
E: Couldn't find any package by regex 'systemd-journal-gatewayd.service'
michael@jessie:~ $
3

You need to install the systemd-journal-remote package:

On debian stretch

apt install systemd-journal-remote

On debian Jessie the systemd-journal-remote is available on jessie-backports

apt-get -t jessie-backports install systemd-journal-remote

Start the service:

systemctl start systemd-journal-gatewayd.service

To install a package from Jessie-backports you should :

edit your sources.list

nano /etc/apt/sources.list

add the following line:

deb http://deb.debian.org/debian jessie-backports main contrib non-free

save then update :

apt-get update
  • Thanks GAD3$. Stretch worked as advertised, but get E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources on Jessie. Any ideas? Never mind. My bad deb http://ftp.debian.org/debian jessie-backports main – user1032531 Dec 16 '17 at 16:25
  • 1
    Yes, I saw that. Just curious, what is the difference between the one I referred to in my comment deb http://ftp.debian.org/debian jessie-backports main and the one you included deb http://deb.debian.org/debian jessie-backports main contrib non-free? Thank you – user1032531 Dec 16 '17 at 16:35
  • the main , contrib and non-free is explained here and the Debian Free Software Guidelines (DFSG) – GAD3R Dec 16 '17 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.