Rebooting after install I noticed that /var/lib/dpkg/ and /var/lib/apt/ are both empty in the installed system.
bdmurray@bdmurray-Standard-PC-Q35-ICH9-2009:~$ zfs list NAME USED AVAIL REFER MOUNTPOINT bpool 135M 1.37G 96K /boot bpool/BOOT 134M 1.37G 96K none bpool/BOOT/ubuntu_h8tofc 134M 1.37G 134M /boot rpool 6.58G 4.08G 192K / rpool/ROOT 6.06G 4.08G 192K none rpool/ROOT/ubuntu_h8tofc 6.06G 4.08G 4.39G / rpool/ROOT/ubuntu_h8tofc/srv 192K 4.08G 192K /srv rpool/ROOT/ubuntu_h8tofc/usr 580K 4.08G 192K /usr rpool/ROOT/ubuntu_h8tofc/usr/local 388K 4.08G 388K /usr/local rpool/ROOT/ubuntu_h8tofc/var 1.67G 4.08G 192K /var rpool/ROOT/ubuntu_h8tofc/var/games 192K 4.08G 192K /var/games rpool/ROOT/ubuntu_h8tofc/var/lib 1.67G 4.08G 1.52G /var/lib rpool/ROOT/ubuntu_h8tofc/var/lib/AccountsService 212K 4.08G 212K /var/lib/AccountsService rpool/ROOT/ubuntu_h8tofc/var/lib/NetworkManager 224K 4.08G 224K /var/lib/NetworkManager rpool/ROOT/ubuntu_h8tofc/var/lib/apt 88.2M 4.08G 88.2M /var/lib/apt rpool/ROOT/ubuntu_h8tofc/var/lib/dpkg 57.7M 4.08G 57.7M /var/lib/dpkg rpool/ROOT/ubuntu_h8tofc/var/log 1.54M 4.08G 1.54M /var/log rpool/ROOT/ubuntu_h8tofc/var/mail 192K 4.08G 192K /var/mail rpool/ROOT/ubuntu_h8tofc/var/snap 456K 4.08G 456K /var/snap rpool/ROOT/ubuntu_h8tofc/var/spool 264K 4.08G 264K /var/spool rpool/ROOT/ubuntu_h8tofc/var/www 192K 4.08G 192K /var/www rpool/USERDATA 5.16M 4.08G 192K / rpool/USERDATA/bdmurray_jx3u59 4.70M 4.08G 4.70M /home/bdmurray rpool/USERDATA/root_jx3u59 272K 4.08G 272K /root rpool/keystore 518M 4.52G 63.4M - -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1993318 Title: ZFS + Encryption installations of Ubuntu Desktop suffer various severe problems related to the package manager Status in ubiquity package in Ubuntu: New Status in zfs-linux package in Ubuntu: New Status in zsys package in Ubuntu: Incomplete Bug description: This is *probably* the wrong package, but it's the best I can figure for this, so here goes. Hardware: Kubuntu Focus XE, 32 GB RAM, 1 TB SSD, 11th Gen Intel Core i5, UEFI, no secure boot. Testing done in GNOME Boxes, BIOS, 4 GB RAM, 50 GB disk space . OS is Ubuntu Desktop, Kinetic Final ISO. Steps to reproduce: 1. Boot the Ubuntu desktop ISO. 2. Select "Install Ubuntu" and proceed with the installation process. 3. When you get to the "Installation type" screen, select "Advanced Options", and enable ZFS + Encryption. 4. Proceed with the rest of the installation as normal. 5. Reboot into the newly installed system. 6. Log in. 7. Run "sudo apt update" in a terminal. Expected result: The package database should be updated normally. Actual result: You are presented with the following errors at the end of the apt output: Reading package lists... Error! E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory) E: Could not open file - open (2: No such file or directory) E: Problem opening E: The package lists or status file could not be parsed or opened. Notes: Switching to a TTY will print a crash error message related to the same missing /var/lib/dpkg/status file. Running "sudo touch /var/lib/dpkg/status" will allow "sudo apt update" to function and fix the crashed process in the TTY. Once you log in, you'll notice that Firefox is missing (bug #1993279), and you will likely be presented with a ton of error messages and other scary junk. At least one of those error messages was related to update-manager in my experience, and another one was from "check-new- release-gtk". ProblemType: Bug DistroRelease: Ubuntu 22.10 Package: zsys (not installed) ProcVersionSignature: Ubuntu 5.19.0-21.21-generic 5.19.7 Uname: Linux 5.19.0-21-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.23.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Tue Oct 18 09:55:27 2022 InstallationDate: Installed on 2022-10-18 (0 days ago) InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221018) ProcEnviron: TERM=xterm-256color PATH=(custom, no username) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: zsys UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1993318/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp