Score:0

Unable to install solr-tomcat on Ubunto20.04 wsl2 windows10

cy flag

I am trying to install solr-tomcat using wsl2 and buntu 20.04.5 LTS on Windows 10.

PS C:\WINDOWS\system32> wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Running         2
-----------------------------
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:        20.04
Codename:       focal
-----------------------------

I am getting the following error:

~$ sudo apt install solr-tomcat -y

Reading package lists... Done
Building dependency tree
Reading state information... Done
solr-tomcat is already the newest version (3.6.2+dfsg-22).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up solr-tomcat (3.6.2+dfsg-22) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
dpkg: error processing package solr-tomcat (--configure):
 installed solr-tomcat package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 solr-tomcat
E: Sub-process /usr/bin/dpkg returned an error code (1)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.