Upgrade without issue: $ sudo apt install libguestfs-dev libguestfs-tools Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libconfig-general-perl openvswitch-common Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libguestfs-hfsplus libguestfs-perl libguestfs-reiserfs libguestfs-xfs libguestfs0 python-guestfs Suggested packages: libguestfs-gfs2 libguestfs-jfs libguestfs-nilfs libguestfs-rescue libguestfs-rsync libguestfs-zfs The following packages will be upgraded: libguestfs-dev libguestfs-hfsplus libguestfs-perl libguestfs-reiserfs libguestfs-tools libguestfs-xfs libguestfs0 python-guestfs 8 upgraded, 0 newly installed, 0 to remove and 32 not upgraded. Need to get 8.437 kB of archives. After this operation, 1.024 B of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe s390x python-guestfs s390x 1:1.36.13-1ubuntu3.1 [158 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe s390x libguestfs-tools s390x 1:1.36.13-1ubuntu3.1 [4.916 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe s390x libguestfs-perl s390x 1:1.36.13-1ubuntu3.1 [292 kB] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe s390x libguestfs-xfs s390x 1:1.36.13-1ubuntu3.1 [1.768 B] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe s390x libguestfs-reiserfs s390x 1:1.36.13-1ubuntu3.1 [1.780 B] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe s390x libguestfs-hfsplus s390x 1:1.36.13-1ubuntu3.1 [1.768 B] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe s390x libguestfs-dev s390x 1:1.36.13-1ubuntu3.1 [849 kB] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe s390x libguestfs0 s390x 1:1.36.13-1ubuntu3.1 [2.216 kB] Fetched 8.437 kB in 1s (9.945 kB/s) (Reading database ... 165155 files and directories currently installed.) Preparing to unpack .../0-python-guestfs_1%3a1.36.13-1ubuntu3.1_s390x.deb ... Unpacking python-guestfs (1:1.36.13-1ubuntu3.1) over (1:1.36.13-1ubuntu3) ... Preparing to unpack .../1-libguestfs-tools_1%3a1.36.13-1ubuntu3.1_s390x.deb ... Unpacking libguestfs-tools (1:1.36.13-1ubuntu3.1) over (1:1.36.13-1ubuntu3) ... Preparing to unpack .../2-libguestfs-perl_1%3a1.36.13-1ubuntu3.1_s390x.deb ... Unpacking libguestfs-perl (1:1.36.13-1ubuntu3.1) over (1:1.36.13-1ubuntu3) ... Preparing to unpack .../3-libguestfs-xfs_1%3a1.36.13-1ubuntu3.1_s390x.deb ... Unpacking libguestfs-xfs:s390x (1:1.36.13-1ubuntu3.1) over (1:1.36.13-1ubuntu3) ... Preparing to unpack .../4-libguestfs-reiserfs_1%3a1.36.13-1ubuntu3.1_s390x.deb ... Unpacking libguestfs-reiserfs:s390x (1:1.36.13-1ubuntu3.1) over (1:1.36.13-1ubuntu3) ... Preparing to unpack .../5-libguestfs-hfsplus_1%3a1.36.13-1ubuntu3.1_s390x.deb ... Unpacking libguestfs-hfsplus:s390x (1:1.36.13-1ubuntu3.1) over (1:1.36.13-1ubuntu3) ... Preparing to unpack .../6-libguestfs-dev_1%3a1.36.13-1ubuntu3.1_s390x.deb ... Unpacking libguestfs-dev:s390x (1:1.36.13-1ubuntu3.1) over (1:1.36.13-1ubuntu3) ... Preparing to unpack .../7-libguestfs0_1%3a1.36.13-1ubuntu3.1_s390x.deb ... Unpacking libguestfs0:s390x (1:1.36.13-1ubuntu3.1) over (1:1.36.13-1ubuntu3) ... Setting up libguestfs0:s390x (1:1.36.13-1ubuntu3.1) ... Setting up libguestfs-reiserfs:s390x (1:1.36.13-1ubuntu3.1) ... Setting up libguestfs-perl (1:1.36.13-1ubuntu3.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up libguestfs-dev:s390x (1:1.36.13-1ubuntu3.1) ... Processing triggers for man-db (2.8.3-2) ... Setting up libguestfs-hfsplus:s390x (1:1.36.13-1ubuntu3.1) ... Setting up python-guestfs (1:1.36.13-1ubuntu3.1) ... Setting up libguestfs-tools (1:1.36.13-1ubuntu3.1) ... Setting up libguestfs-xfs:s390x (1:1.36.13-1ubuntu3.1) ... Test fixed after upgrade: $ sudo libguestfs-test-tool ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SELinux: sh: 1: getenforce: not found guestfs_get_append: (null) guestfs_get_autosync: 1 guestfs_get_backend: direct guestfs_get_backend_settings: [] guestfs_get_cachedir: /var/tmp guestfs_get_direct: 0 guestfs_get_hv: /usr/bin/qemu-system-s390x guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib/s390x-linux-gnu/guestfs guestfs_get_pgroup: 0 guestfs_get_program: libguestfs-test-tool guestfs_get_recovery_proc: 1 guestfs_get_smp: 1 guestfs_get_sockdir: /tmp guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: s390x Launching appliance, timeout set to 600 seconds. libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.36.13 libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=direct libguestfs: launch: tmpdir=/tmp/libguestfsvN9NSa libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu s390x libguestfs: command: run: \ /usr/lib/s390x-linux-gnu/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: package handler: debian/dpkg supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: build: /usr/lib/s390x-linux-gnu/guestfs/supermin.d supermin: reading the supermin appliance supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/base.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/daemon.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/excludefiles type uncompressed excludefiles supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/hostfiles type uncompressed hostfiles supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/init.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/packages type uncompressed packages supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/packages-hfsplus type uncompressed packages supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/packages-reiserfs type uncompressed packages supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/packages-xfs type uncompressed packages supermin: build: visiting /usr/lib/s390x-linux-gnu/guestfs/supermin.d/udev-rules.tar.gz type gzip base image (tar) supermin: mapping package names to installed packages supermin: resolving full list of package dependencies supermin: build: 211 packages, including dependencies supermin: build: 9801 files supermin: build: 6598 files, after matching excludefiles supermin: build: 6608 files, after adding hostfiles supermin: build: 6608 files, after removing unreadable files supermin: build: 6611 files, after munging supermin: kernel: looking for kernel using environment variables ... supermin: kernel: looking for kernels in /lib/modules/*/vmlinuz ... supermin: kernel: looking for kernels in /boot ... supermin: kernel: kernel version of /boot/vmlinuz-4.15.0-30-generic = 4.15.0-30-generic (from filename) supermin: kernel: picked modules path /lib/modules/4.15.0-30-generic supermin: kernel: kernel version of /boot/vmlinuz-4.15.0-29-generic = 4.15.0-29-generic (from filename) supermin: kernel: picked modules path /lib/modules/4.15.0-29-generic supermin: kernel: kernel version of /boot/vmlinuz-4.15.0-23-generic = 4.15.0-23-generic (from filename) supermin: kernel: picked modules path /lib/modules/4.15.0-23-generic supermin: kernel: picked vmlinuz /boot/vmlinuz-4.15.0-30-generic supermin: kernel: kernel_version 4.15.0-30-generic supermin: kernel: modpath /lib/modules/4.15.0-30-generic supermin: ext2: creating empty ext2 filesystem '/var/tmp/.guestfs-0/appliance.d.g0alx0fw/root' supermin: ext2: populating from base image supermin: ext2: copying files from host filesystem supermin: ext2: copying kernel modules supermin: ext2: creating minimal initrd '/var/tmp/.guestfs-0/appliance.d.g0alx0fw/initrd' supermin: ext2: wrote 13 modules to minimal initrd supermin: renaming /var/tmp/.guestfs-0/appliance.d.g0alx0fw to /var/tmp/.guestfs-0/appliance.d libguestfs: finished building supermin appliance libguestfs: begin testing qemu features libguestfs: checking for previously cached test results of /usr/bin/qemu-system-s390x, in /var/tmp/.guestfs-0 libguestfs: loading previously cached test results libguestfs: QMP parse error: parse error: premature EOF\n \n (right here) ------^\n (ignored) libguestfs: qemu version: 2.11 libguestfs: qemu mandatory locking: yes libguestfs: finished testing qemu features [00976ms] /usr/bin/qemu-system-s390x \ -global virtio-blk-ccw.scsi=off \ -enable-fips \ -nodefaults \ -display none \ -machine accel=kvm:tcg \ -cpu host \ -m 500 \ -no-reboot \ -rtc driftfix=slew \ -kernel /var/tmp/.guestfs-0/appliance.d/kernel \ -initrd /var/tmp/.guestfs-0/appliance.d/initrd \ -object rng-random,filename=/dev/urandom,id=rng0 \ -device virtio-rng-ccw,rng=rng0 \ -device virtio-scsi-ccw,id=scsi \ -drive file=/tmp/libguestfsvN9NSa/scratch1.img,cache=unsafe,format=raw,id=hd0,if=none \ -device scsi-hd,drive=hd0 \ -drive file=/var/tmp/.guestfs-0/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \ -device scsi-hd,drive=appliance \ -device virtio-serial-ccw \ -chardev stdio,id=charconsole0 \ -device sclpconsole,chardev=charconsole0 \ -chardev socket,path=/tmp/libguestfsFKYd6b/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -append 'panic=1 console=ttysclp0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color' [ 0.407915] Linux version 4.15.0-30-generic (buildd@bos02-s390x-020) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #32-Ubuntu SMP Thu Jul 26 17:42:45 UTC 2018 (Ubuntu 4.15.0-30.32-generic 4.15.18) [ 0.407921] setup.289988: Linux is running under KVM in 64-bit mode [ 0.409526] setup.b050d0: The maximum memory size is 500MB [ 0.409574] numa.196305: NUMA mode: plain [ 0.409648] cpu.33a262: 1 configured CPUs, 0 standby CPUs [ 0.409775] Write protected kernel read-only data: 11888k [ 0.411158] Zone ranges: [ 0.411160] DMA [mem 0x0000000000000000-0x000000007fffffff] [ 0.411161] Normal empty [ 0.411163] Movable zone start for each node [ 0.411163] Early memory node ranges [ 0.411164] node 0: [mem 0x0000000000000000-0x000000001f3fffff] [ 0.411166] Initmem setup node 0 [mem 0x0000000000000000-0x000000001f3fffff] [ 0.420350] percpu: Embedded 24 pages/cpu @ (ptrval) s59392 r8192 d30720 u98304 [ 0.420371] Built 1 zonelists, mobility grouping on. Total pages: 126000 [ 0.420371] Policy zone: DMA [ 0.420374] Kernel command line: panic=1 console=ttysclp0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color [ 0.435453] Memory: 487476K/512000K available (8088K kernel code, 1075K rwdata, 3796K rodata, 976K init, 804K bss, 24524K reserved, 0K cma-reserved) [ 0.435463] random: get_random_u64 called from kmem_cache_open+0x54/0x510 with crng_init=0 [ 0.435553] SLUB: HWalign=256, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.435555] ftrace: allocating 26231 entries in 103 pages [ 0.457512] Hierarchical RCU implementation. [ 0.457514] \tRCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2. [ 0.457515] \tTasks RCU enabled. [ 0.457516] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.459454] NR_IRQS: 3, nr_irqs: 3, preallocated irqs: 3 [ 0.459476] clocksource: tod: mask: 0xffffffffffffffff max_cycles: 0x3b0a9be803b0a9, max_idle_ns: 1805497147909793 ns [ 0.459548] console [ttyS1] enabled [ 0.459614] pid_max: default: 32768 minimum: 301 [ 0.459640] Security Framework initialized [ 0.459642] Yama: becoming mindful. [ 0.459664] AppArmor: AppArmor initialized [ 0.459973] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.460128] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.460136] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.460142] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.460325] Disabling memory control group subsystem [ 0.460519] Hierarchical SRCU implementation. [ 0.460766] smp: Bringing up secondary CPUs ... [ 0.460768] smp: Brought up 1 node, 1 CPU [ 0.460942] devtmpfs: initialized [ 0.461066] evm: security.selinux [ 0.461067] evm: security.SMACK64 [ 0.461068] evm: security.SMACK64EXEC [ 0.461069] evm: security.SMACK64TRANSMUTE [ 0.461070] evm: security.SMACK64MMAP [ 0.461071] evm: security.apparmor [ 0.461072] evm: security.ima [ 0.461073] evm: security.capability [ 0.461185] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.461194] futex hash table entries: 512 (order: 5, 131072 bytes) [ 0.461387] NET: Registered protocol family 16 [ 0.461467] audit: initializing netlink subsys (disabled) [ 0.461561] Spectre V2 mitigation: execute trampolines. [ 0.462348] audit: type=2000 audit(1534150292.404:1): state=initialized audit_enabled=0 res=1 [ 0.462424] HugeTLB registered 1.00 MiB page size, pre-allocated 0 pages [ 0.462622] SCSI subsystem initialized [ 0.462846] NetLabel: Initializing [ 0.462847] NetLabel: domain hash size = 128 [ 0.462848] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.462905] NetLabel: unlabeled traffic allowed by default [ 0.489580] VFS: Disk quotas dquot_6.6.0 [ 0.489593] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.489716] AppArmor: AppArmor Filesystem Enabled [ 0.489869] NET: Registered protocol family 2 [ 0.489995] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.490020] TCP bind hash table entries: 4096 (order: 4, 65536 bytes) [ 0.490057] TCP: Hash tables configured (established 4096 bind 4096) [ 0.490098] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.490108] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.490141] NET: Registered protocol family 1 [ 0.490189] Unpacking initramfs... [ 0.491086] Freeing initrd memory: 840K [ 0.491467] hypfs.7f5705: The hardware system does not support hypfs [ 0.491471] hypfs.7a79f0: Initialization of hypfs failed with rc=-61 [ 0.491664] Initialise system trusted keyrings [ 0.491670] Key type blacklist registered [ 0.491687] workingset: timestamp_bits=42 max_order=17 bucket_order=0 [ 0.492940] zbud: loaded [ 0.493396] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.493509] fuse init (API version 7.26) [ 0.494467] Key type asymmetric registered [ 0.494469] Asymmetric key parser 'x509' registered [ 0.494492] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.494517] io scheduler noop registered [ 0.494518] io scheduler deadline registered [ 0.494567] io scheduler cfq registered (default) [ 0.494667] hvc_iucv.691dff: The z/VM IUCV HVC device driver cannot be used without z/VM [ 0.495971] loop: module loaded [ 0.495998] tun: Universal TUN/TAP device driver, 1.6 [ 0.496052] device-mapper: uevent: version 1.0.3 [ 0.496092] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: