#StackBounty: #java #jdk #openjdk How to install java 8.0.232 Ubuntu 18.0.4

Bounty: 50

I need to install the 8.0.232 openjdk version. I am using sdkman and the result of sdk list java is:

 Java.net      |     | 15.ea.25     | open    |            | 15.ea.25-open       
               |     | 14.0.1       | open    |            | 14.0.1-open         
               |     | 13.0.2       | open    |            | 13.0.2-open         
               |     | 12.0.2       | open    |            | 12.0.2-open         
               |     | 11.0.7       | open    |            | 11.0.7-open         
               |     | 10.0.2       | open    |            | 10.0.2-open         
               |     | 9.0.4        | open    |            | 9.0.4-open          
               |     | 8.0.252      | open    |            | 8.0.252-open        
               | >>> | 8.0.242      | open    | local only | 8.0.242-open   

How can I install the 8.0.232?


Get this bounty!!!

#StackBounty: #laptop #display #external-display My notebook's display frequently turns off for a moment? With external screen, it&…

Bounty: 50

Currently I use my notebook without an external display, and the following happens:

  • a few weeks ago it started to lose signal occasionally.

  • And it’s a really short period, because after my screen goes black, it instantly “starts to come back”.

I tried using this display via HDMI: https://www.acer.com/ac/en/GB/content/model/UM.HV0EE.P01

And it seems that it’s much more regular on the 2K display, than on my 1080p integrated screen.

Here is what I’ve experienced with an external display:

  • Another has just happened, and it was simultanous with the refrigerator’s fans turning off. Later, it happened again when the fridgerator turned its fans on. I will watch out whether there are more “suspicous” things or not.
  • Now for 3 minutes, it happened like every 45 seconds. And I didn’t notice any electric change in the room.

  • I pulled out the charger from the notebook, to see if there is any difference, and after a few minutes, it began to turn off like every 4 seconds, sometimes they even overlapped, causing long black screens.

  • It also seemed like when I moved the mouse, it got black. I pulled out the mouse, and the frequent black screen suddenly stopped.

  • Then I put it back after half a minute, and it’s still not that frequent, but there are black screens again.


Get this bounty!!!

#StackBounty: #laptop #display #external-display My notebook's display frequently turns off for a moment? With external screen, it&…

Bounty: 50

Currently I use my notebook without an external display, and the following happens:

  • a few weeks ago it started to lose signal occasionally.

  • And it’s a really short period, because after my screen goes black, it instantly “starts to come back”.

I tried using this display via HDMI: https://www.acer.com/ac/en/GB/content/model/UM.HV0EE.P01

And it seems that it’s much more regular on the 2K display, than on my 1080p integrated screen.

Here is what I’ve experienced with an external display:

  • Another has just happened, and it was simultanous with the refrigerator’s fans turning off. Later, it happened again when the fridgerator turned its fans on. I will watch out whether there are more “suspicous” things or not.
  • Now for 3 minutes, it happened like every 45 seconds. And I didn’t notice any electric change in the room.

  • I pulled out the charger from the notebook, to see if there is any difference, and after a few minutes, it began to turn off like every 4 seconds, sometimes they even overlapped, causing long black screens.

  • It also seemed like when I moved the mouse, it got black. I pulled out the mouse, and the frequent black screen suddenly stopped.

  • Then I put it back after half a minute, and it’s still not that frequent, but there are black screens again.


Get this bounty!!!

#StackBounty: #code-golf #kolmogorov-complexity #graphical-output Solve the Rook's Round Trip

Bounty: 50

The riddle

In yesterday’s newspaper, I found a puzzle in which a Rook should start in the lower-left corner of a 12×12 checkerboard and then, during a round trip, visit each field exactly once except for a selection which must be avoided. The puzzle came with a picture that identified the fields to be avoided as black:

Blank checkerboard

After some minutes, I came up with a solution, that you can find here.
(There’s no pic of the solution because you might want to challenge yourself by solving it first…)

The challenge

To write code that produces the same output as my code (that’s in TikZ):

documentclass[tikz,border=1cm]{standalone}def~{document}begin~tikz{def~{)rectangle++(,)(}filldraw[step=1]grid(12,12)(8,0~4,~0,3~8,5~11,5~,8~11,9~2,10~4,11~7,11~,);def~#1#2#3{)-|++(6-#1,4-#2)-|++(6-#3,4-}draw[line width=2mm,red](.5,.5~1355~5353~5356~7540~7375~7575~7375~7373~7372~5555~5553~5552~7375~7373~7345~5355~5555~5355~5272~5395~5673~7373~7583~9555~7955~5555~8376);fill[blue](.5,.5)circle(.3)}end~

of the picture that shows the solution to the Rook’s Round Trip. This is Code Golf!

Requirement(s) for the In-/Output

  • Use whatever language you want.
  • From your output, be able to somehow produce the pixelwise
    exact same PNG as in the code section below.

PNG code

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABXoAAAV6AgMAAAAuWCySAAAADFBMVEX///8AAAD/AAAAAP8xSkYMAAAKsklEQVR4Aezdx5HcRhSA4a2aOz2TYBLDEOg6CUSxSeAuRwclsfHotFdZSBiJLftqt7deA0Po+6+vHlDzVcuCM7g4myRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJksqt04s7+D5fYVCiwo0H0eBp82d/0HvAly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvlNylw2+N9z8ixbfZ1NuX5ynL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fC9Tnh/f3jfYePB3rXbfGKVl8IwvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX75840ptWhpLQvVSCRvDMnhbGmrcaLjUi1XOb/tpbD/xD9pP47bnly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvny7v80tLvaN+2KjDb58+fLly5cvX758+fLly5cvX758+fLly5cvX758+W7rG8M3+7bfI//ZbryR8sSZL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fMvNnXzHcmYN02+9Tdi4/aVerHJ+442dnN+nfPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5Zv//reWjfZL5b+0jS9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvvv0DT57341gkP+YmC9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnyzfUttWhpLQ4kb4WBYBm9LXLiRMOh5fkvU7s9vfA++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPnyTfHNf2Nc6Bv2xRobfPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny3YFv1g+r1hIeEwcb6ffgy5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cv31I7oYwlo8RLhQ3LPd6ueo8XDa7Jh8755cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL99gEJa0sf1r3vjy5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5bsD34ZB1j3aP2K8kTqo8eXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLl2+pTUtjqbUMghIuNSyDtyUu3kgfvNjs/Dq/fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5bvpi+G2e81b0C58+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLlW0vYqGU8Jq51HfDly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5dvqZ1QxlKLB3HxRnrDco+3Zc1e/I/P79NmlPAeTz8fX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLlG7bGxhcpvje8Rm8Hvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58k3fCAcBY5ZvwqVqfPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5Vtq09JYGsrbiAfDMngbD+JSLuX81kFQ/qX48uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXL99xe8xb7hn2xwcZmvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58t30wXLDk9rGx8S9L8WXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++5eZOWmM8jzc2aVhu/rbHpV5k+jq/CeeXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPu/GG7717ztwJcvX758+fLly5cvX758+fLly5cvX758+fLly5cvX77pP6waD+KP2P7ZEy7Fly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLtyW+fPny5cuXL1++fPk2dEIZMzbiwbAM3jYMgoKNpsGLO/g+v/vA+eXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly/fM3nN22Xn17ztyZcvX758+fLly5cvX758+fLly5cvX758+fLly5cvX74xymWfB8tBDxoGjShJvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uVbaieUsdTiQVz7Rn7DcvO3d9+IBy/O9PyWqP2fX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fLly5cvX758+fJtq913Wuc1b0G78OXLly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLl2+tfdDse5n/bLfbBl++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPny5cuXL1++fPmW2rQ0lk2Kbz4sg7fxIC5/40X/85s/SDq/TyOjF/nnly9fvnz58uXLly9fvnz58uXLly9fvnz58uXLdx++387z/EM3X77z0lUnRr7351OdGPnOv3fdhZHv/fmPujDyPX7yverAyPcwf+q6AyPf+9X3pw6MfI9zrQMj3/nPrvim+x7+4nvNN933/l98f+rqy3fmm+57/KvvFd9s33k9X77XfJN9Dyv68v2Jb7Lvfb58d+M7T9sU+4a1+7aX4Hvky3c/vt/x/RRfvnxnvnz58uXLly9fvnz5rpv/fuPLly/fqcbX8yG+fDd7fhz0oHkQ++bd47P48yV8r/km+16s6Mv3im+273E9X76pWnz7f7+F76GrL9+Lvt9/43vs+v1Nvve7fv+Y76Hr9+f5XvT9/Qe+x66/D8P3UP/20IGRbz3AV30Y+R7q8eWb7lv/Fa2DFt8K/FO+Ft8gvnz58uXLly9fvnz58uXLly9fvnz58uXLly9fvrv0Lbp1v7YHBwQAABAAgEz0f40ZoMqAKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAO+uutlkASEAAAAASUVORK5CYII=   

Bonus imaginary internet points

  • Write the code in TikZ
  • Your TikZ-code should compile without any errors, warnings, and boxes.
  • You should be able to produce a PNG-file with Overleaf that, when saved in the same dimensions, must be able to withstand a bitwise comparsion with my solution.


Get this bounty!!!

#StackBounty: #listings #comments #syntax-highlighting Escaped percent sign is syntax-highlighted as comment by listings package

Bounty: 50

My code:

documentclass{article}
usepackage{listings}
usepackage{xcolor}
lstset{
    language=tex,
    basicstyle=ttfamily,
    commentstyle=color{violet},
    columns=fullflexible,
    keepspaces=true,
    upquote=true,
    showstringspaces=false,
}
begin{document}
begin{lstlisting}
Foo % Comment 1
Bar % Comment 2
Baz % Not a comment
end{lstlisting}
end{document}

Output:

enter image description here

Why is % Not a comment colored violet when it is not a comment? How can I fix this?


Get this bounty!!!

#StackBounty: #hypothesis-testing #causality Why use independence test and not normality test for structure identificatio?

Bounty: 50

In the book ‘Elements of causal inference’, the code below is used an example for structure identification.

library(dHSIC)
library(mgcv)
X <- rnorm(200)
Y <- X^3 + rnorm(200)
modelforw <- gam(Y ~ s(X))
modelbackw <- gam(X ~ s(Y))
dhsic.test(modelforw$residuals, X)$p.value
dhsic.test(modelbackw$residuals, Y)$p.value

The example is clear, but my doubt is, why is he using an independence test and not a normality test? Given that the data is normal, wouldn’t it be easier to test for that?


Get this bounty!!!

#StackBounty: #laptop #display #external-display My notebook's display frequently turns off for a moment? With external screen, it&…

Bounty: 50

Currently I use my notebook without an external display, and the following happens:

  • a few weeks ago it started to lose signal occasionally.

  • And it’s a really short period, because after my screen goes black, it instantly “starts to come back”.

I tried using this display via HDMI: https://www.acer.com/ac/en/GB/content/model/UM.HV0EE.P01

And it seems that it’s much more regular on the 2K display, than on my 1080p integrated screen.

Here is what I’ve experienced with an external display:

  • Another has just happened, and it was simultanous with the refrigerator’s fans turning off. Later, it happened again when the fridgerator turned its fans on. I will watch out whether there are more “suspicous” things or not.
  • Now for 3 minutes, it happened like every 45 seconds. And I didn’t notice any electric change in the room.

  • I pulled out the charger from the notebook, to see if there is any difference, and after a few minutes, it began to turn off like every 4 seconds, sometimes they even overlapped, causing long black screens.

  • It also seemed like when I moved the mouse, it got black. I pulled out the mouse, and the frequent black screen suddenly stopped.

  • Then I put it back after half a minute, and it’s still not that frequent, but there are black screens again.


Get this bounty!!!

#StackBounty: #ssl #redhat Can Kaazing 4.5 Gateway be configured to use server cipher preference

Bounty: 50

I have a Kaazing 4.5 gateway running on RedHat7 that currently uses client cipher preference when establishing a TLS session. Per https://kaazing.com/doc/jms/4.0/security/u_tls_works.html it suggests all of the configuration options are present in gateway-config.xml but I do not see anything relevant beyond the list of supported ciphers. Below are nmaps scans against the kaazing node and an IIS box illustrating the difference in cipher selection preference.

Current

PORT    STATE SERVICE  VERSION
443/tcp open  ssl/rtmp Real-Time Messaging Protocol
| ssl-enum-ciphers:
|   TLSv1.0:
|     ciphers:
|       TLS_RSA_WITH_3DES_EDE_CBC_SHA (rsa 2048) - C
|       TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_RC4_128_MD5 (rsa 2048) - C
|       TLS_RSA_WITH_RC4_128_SHA (rsa 2048) - C
|     cipher preference: client

Desired

PORT    STATE SERVICE  VERSION
443/tcp open  ssl/http Microsoft IIS httpd 7.5
| ssl-enum-ciphers:
|   TLSv1.0:
|     ciphers:
|       TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256r1) - A
|       TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256r1) - A
|       TLS_DHE_RSA_WITH_AES_256_CBC_SHA (dh 1024) - A
|       TLS_DHE_RSA_WITH_AES_128_CBC_SHA (dh 1024) - A
|       TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A
|     cipher preference: server


Get this bounty!!!

#StackBounty: #sql-server #query-performance #sql-server-2014 #optimization #cardinality-estimates Changing database compatibility from…

Bounty: 50

Just seeking an expert/practical advise from DBA point of view where one of our application DB running on SQL 2014 after migration had old DB compatibility level i.e 100.(SQL2008)

From DEV point of view all the testing has been done and they dont see much diff and want to move to prod based on their testing.

In our testing ,For certain process where we see slowness like in SP’s we found the part of statement that was slow and added query traceon hint , something like below keeping compat to 120, which helps keeping performance stable

SELECT  [AddressID],
    [AddressLine1],
    [AddressLine2]
FROM Person.[Address]
WHERE [StateProvinceID] = 9 AND
    [City] = 'Burbank'
OPTION (QUERYTRACEON 9481);
GO

UPDATE- Editing question based on more findings-

Actually we found things getting worst for a table which calls scalar function within a computed column-

below is how that column looks

CATCH_WAY AS ([dbo].[fn_functionf1]([Col1])) PERSISTED NOT NULL

and part of query where it goes weird is somewhat looking like below

DELETE t2
   OUTPUT del.col1
          del.col2
          del.col3
   INTo #temp1
FROM #temp2 t2
INNER JOIN dbo.table1 tb1 on tb1.CATCH_WAY = ([dbo].[fn_functionf1](t2.[Col1])
AND t2.[col2] = tb1.[col2]
AND t3.[col3] = tb1.[col3]
AND ISNULL (t2.[col4],'') = ISNULL (tb1.[col4],'')

I know function is being called and is slow but the problem is with current compat i.e. 100 runs OK’ish slow but when changed to 120 it gets X100 times slow
What is happening ?


Get this bounty!!!

#StackBounty: #20.04 #zfs Ubuntu 20.04 with root on ZFS errors after 'apt dist-upgrade'

Bounty: 100

I’ve been running 20.04 w/ root on ZFS for a couple of months now, with no major problems.

This morning, I ran an apt dist-upgrade, and I got the following errors:

mjb@feynmann:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up zfsutils-linux (0.8.3-1ubuntu12.1) ...
zfs-import-scan.service is a disabled or a static unit, not starting it.
zfs-import-scan.service is a disabled or a static unit, not starting it.
Job for zfs-mount.service failed because a fatal signal was delivered to the control process.
See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zfs-mount, action "start" failed.
● zfs-mount.service - Mount ZFS filesystems
     Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
     Active: failed (Result: signal) since Wed 2020-06-03 09:38:01 EDT; 4ms ago
       Docs: man:zfs(8)
    Process: 760032 ExecStart=/sbin/zfs mount -a (code=killed, signal=ABRT)
   Main PID: 760032 (code=killed, signal=ABRT)

Jun 03 09:38:00 feynmann systemd[1]: Starting Mount ZFS filesystems...
Jun 03 09:38:00 feynmann zfs[760032]: cannot mount '/root': directory is not empty
Jun 03 09:38:00 feynmann zfs[760032]: cannot mount '/var/cache': directory is not empty
Jun 03 09:38:00 feynmann zfs[760032]: cannot mount '/var/lib/AccountsService': directory is not empty
Jun 03 09:38:00 feynmann zfs[760032]: free(): double free detected in tcache 2
Jun 03 09:38:01 feynmann systemd[1]: zfs-mount.service: Main process exited, code=killed, status=6/ABRT
Jun 03 09:38:01 feynmann systemd[1]: zfs-mount.service: Failed with result 'signal'.
Jun 03 09:38:01 feynmann systemd[1]: Failed to start Mount ZFS filesystems.
dpkg: error processing package zfsutils-linux (--configure):
 installed zfsutils-linux package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of zfs-initramfs:
 zfs-initramfs depends on zfsutils-linux (>= 0.8.3-1ubuntu12.1); however:
  Package zfsutils-linux is not configured yet.

dpkg: error processing package zfs-initramfs (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zfs-zed:
 zfs-zed depends on zfsutils-linux (>= 0.8.3-1ubuntu12.1); however:
  Package zfsutils-linux is not configured yet.

dpkg: error processing package zfs-zed (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message i
ndicates its a followup error from a previous failure.
                                                      Errors were encountered while processing:
 zfsutils-linux
 zfs-initramfs
 zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)

More info:

mjb@feynmann:~$ sudo systemctl status zfs-mount.service
● zfs-mount.service - Mount ZFS filesystems
     Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
     Active: failed (Result: signal) since Wed 2020-06-03 09:38:01 EDT; 1min 9s ago
       Docs: man:zfs(8)
    Process: 760032 ExecStart=/sbin/zfs mount -a (code=killed, signal=ABRT)
   Main PID: 760032 (code=killed, signal=ABRT)

Jun 03 09:38:00 feynmann systemd[1]: Starting Mount ZFS filesystems...
Jun 03 09:38:00 feynmann zfs[760032]: cannot mount '/root': directory is not empty
Jun 03 09:38:00 feynmann zfs[760032]: cannot mount '/var/cache': directory is not empty
Jun 03 09:38:00 feynmann zfs[760032]: cannot mount '/var/lib/AccountsService': directory is not empty
Jun 03 09:38:00 feynmann zfs[760032]: free(): double free detected in tcache 2
Jun 03 09:38:01 feynmann systemd[1]: zfs-mount.service: Main process exited, code=killed, status=6/ABRT
Jun 03 09:38:01 feynmann systemd[1]: zfs-mount.service: Failed with result 'signal'.
Jun 03 09:38:01 feynmann systemd[1]: Failed to start Mount ZFS filesystems.
mjb@feynmann:~$ sudo journalctl -xe
-- The process' exit code is 'killed' and its exit status is 6.
Jun 03 09:38:01 feynmann systemd[1]: zfs-mount.service: Failed with result 'signal'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The unit zfs-mount.service has entered the 'failed' state with result 'signal'.
Jun 03 09:38:01 feynmann systemd[1]: Failed to start Mount ZFS filesystems.
-- Subject: A start job for unit zfs-mount.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit zfs-mount.service has finished with a failure.
-- 
-- The job identifier is 16641 and the job result is failed.
Jun 03 09:38:01 feynmann dbus-daemon[2075]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by>
Jun 03 09:38:01 feynmann systemd[1]: Starting PackageKit Daemon...
-- Subject: A start job for unit packagekit.service has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit packagekit.service has begun execution.
-- 
-- The job identifier is 16649.
Jun 03 09:38:01 feynmann PackageKit[760066]: daemon start
Jun 03 09:38:01 feynmann dbus-daemon[2075]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jun 03 09:38:01 feynmann systemd[1]: Started PackageKit Daemon.
-- Subject: A start job for unit packagekit.service has finished successfully
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit packagekit.service has finished successfully.
-- 
-- The job identifier is 16649.
Jun 03 09:38:01 feynmann sudo[759659]: pam_unix(sudo:session): session closed for user root
Jun 03 09:39:10 feynmann sudo[760629]:      mjb : TTY=pts/4 ; PWD=/home/mjb ; USER=root ; COMMAND=/usr/bin/systemctl status zfs-mount.service
Jun 03 09:39:10 feynmann sudo[760629]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 03 09:39:10 feynmann sudo[760629]: pam_unix(sudo:session): session closed for user root
Jun 03 09:39:15 feynmann sudo[760671]:      mjb : TTY=pts/4 ; PWD=/home/mjb ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Jun 03 09:39:15 feynmann sudo[760671]: pam_unix(sudo:session): session opened for user root by (uid=0)

Even more info:

It appears that the problem is with apt install zfsuitls-linux, which gets:

mjb@feynmann:~$ sudo apt install zfsutils-linux
Reading package lists... Done
Building dependency tree       
Reading state information... Done
zfsutils-linux is already the newest version (0.8.3-1ubuntu12.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up zfsutils-linux (0.8.3-1ubuntu12.1) ...
zfs-import-scan.service is a disabled or a static unit, not starting it.
zfs-import-scan.service is a disabled or a static unit, not starting it.
Job for zfs-mount.service failed because a fatal signal was delivered to the control process.
See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zfs-mount, action "start" failed.
● zfs-mount.service - Mount ZFS filesystems
     Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
     Active: failed (Result: signal) since Thu 2020-06-04 05:49:45 EDT; 4ms ago
       Docs: man:zfs(8)
    Process: 1176564 ExecStart=/sbin/zfs mount -a (code=killed, signal=ABRT)
   Main PID: 1176564 (code=killed, signal=ABRT)

Jun 04 05:49:45 feynmann systemd[1]: Starting Mount ZFS filesystems...
Jun 04 05:49:45 feynmann zfs[1176564]: cannot mount '/root': directory is not empty
Jun 04 05:49:45 feynmann zfs[1176564]: cannot mount '/var/cache': directory is not empty
Jun 04 05:49:45 feynmann zfs[1176564]: cannot mount '/var/lib/AccountsService': directory is not empty
Jun 04 05:49:45 feynmann zfs[1176564]: free(): double free detected in tcache 2
Jun 04 05:49:45 feynmann systemd[1]: zfs-mount.service: Main process exited, code=killed, status=6/ABRT
Jun 04 05:49:45 feynmann systemd[1]: zfs-mount.service: Failed with result 'signal'.
Jun 04 05:49:45 feynmann systemd[1]: Failed to start Mount ZFS filesystems.
dpkg: error processing package zfsutils-linux (--configure):
 installed zfsutils-linux package post-installation script subprocess returned error exit status 1
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                      dpkg: dependency problems prevent configuration of zfs-initramfs:
 zfs-initramfs depends on zfsutils-linux (>= 0.8.3-1ubuntu12.1); however:
  Package zfsutils-linux is not configured yet.

dpkg: error processing package zfs-initramfs (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zfs-zed:
 zfs-zed depends on zfsutils-linux (>= 0.8.3-1ubuntu12.1); however:
  Package zfsutils-linux is not configured yet.

dpkg: error processing package zfs-zed (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zfsutils-linux
 zfs-initramfs
 zfs-zed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Upon closer examination, I see:

Job for zfs-mount.service failed because a fatal signal was delivered to the control process.
    See "systemctl status zfs-mount.service" and "journalctl -xe" for details.

So, I tried:

mjb@feynmann:~$ systemctl status zfs-mount.service
● zfs-mount.service - Mount ZFS filesystems
     Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
     Active: failed (Result: signal) since Thu 2020-06-04 05:49:45 EDT; 3min 1s ago
       Docs: man:zfs(8)
    Process: 1176564 ExecStart=/sbin/zfs mount -a (code=killed, signal=ABRT)
   Main PID: 1176564 (code=killed, signal=ABRT)

And finally:

mjb@feynmann:~$ sudo /sbin/zfs mount -a
cannot mount '/root': directory is not empty
cannot mount '/var/cache': directory is not empty
cannot mount '/var/lib/AccountsService': directory is not empty
Segmentation fault

At which point, I’m lost.

Still more info:

mjb@feynmann:~$ cat /etc/fstab 
# UNCONFIGURED FSTAB FOR BASE SYSTEM
PARTUUID=84ba431b-1974-486b-b859-41f7417c5b1e /boot/efi vfat nofail,x-systemd.device-timeout=1 0 1
bpool/BOOT/ubuntu /boot zfs nodev,relatime,x-systemd.requires=zfs-import-bpool.service 0 0
rpool/var/log /var/log zfs nodev,relatime 0 0
rpool/var/spool /var/spool zfs nodev,relatime 0 0
rpool/var/tmp /var/tmp zfs nodev,relatime 0 0
/dev/zvol/rpool/swap none swap discard 0 0

Why would my fstab be unconfigured?

Help?


Get this bounty!!!