Comment 15 for bug 1793056

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Pre-Upgrade to proposed:

sudo guestfish -a test.img

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: 'help' for help on commands
      'man' to read the manual
      'quit' to quit the shell

><fs> run
 100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00
><fs> tar-out / - | tar tf -
libguestfs: error: file receive cancelled by daemon
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
><fs>

---
Upgrade

$ sudo apt install libguestfs0 libguestfs-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libguestfs-hfsplus libguestfs-perl libguestfs-reiserfs libguestfs-xfs
Suggested packages:
  libguestfs-gfs2 libguestfs-jfs libguestfs-nilfs libguestfs-rescue libguestfs-rsync libguestfs-zfs
The following packages will be upgraded:
  libguestfs-hfsplus libguestfs-perl libguestfs-reiserfs libguestfs-tools libguestfs-xfs libguestfs0
6 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
Need to get 7727 kB of archives.
After this operation, 0 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 ppc64el libguestfs-xfs ppc64el 1:1.36.13-1ubuntu3.2 [1784 B]
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe ppc64el libguestfs-tools ppc64el 1:1.36.13-1ubuntu3.2 [5089 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe ppc64el libguestfs-perl ppc64el 1:1.36.13-1ubuntu3.2 [301 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe ppc64el libguestfs-reiserfs ppc64el 1:1.36.13-1ubuntu3.2 [1784 B]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe ppc64el libguestfs-hfsplus ppc64el 1:1.36.13-1ubuntu3.2 [1780 B]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/universe ppc64el libguestfs0 ppc64el 1:1.36.13-1ubuntu3.2 [2332 kB]
Fetched 7727 kB in 3s (2396 kB/s)
(Reading database ... 73754 files and directories currently installed.)
Preparing to unpack .../0-libguestfs-xfs_1%3a1.36.13-1ubuntu3.2_ppc64el.deb ...
Unpacking libguestfs-xfs:ppc64el (1:1.36.13-1ubuntu3.2) over (1:1.36.13-1ubuntu3.1) ...
Preparing to unpack .../1-libguestfs-tools_1%3a1.36.13-1ubuntu3.2_ppc64el.deb ...
Unpacking libguestfs-tools (1:1.36.13-1ubuntu3.2) over (1:1.36.13-1ubuntu3.1) ...
Preparing to unpack .../2-libguestfs-perl_1%3a1.36.13-1ubuntu3.2_ppc64el.deb ...
Unpacking libguestfs-perl (1:1.36.13-1ubuntu3.2) over (1:1.36.13-1ubuntu3.1) ...
Preparing to unpack .../3-libguestfs-reiserfs_1%3a1.36.13-1ubuntu3.2_ppc64el.deb ...
Unpacking libguestfs-reiserfs:ppc64el (1:1.36.13-1ubuntu3.2) over (1:1.36.13-1ubuntu3.1) ...
Preparing to unpack .../4-libguestfs-hfsplus_1%3a1.36.13-1ubuntu3.2_ppc64el.deb ...
Unpacking libguestfs-hfsplus:ppc64el (1:1.36.13-1ubuntu3.2) over (1:1.36.13-1ubuntu3.1) ...
Preparing to unpack .../5-libguestfs0_1%3a1.36.13-1ubuntu3.2_ppc64el.deb ...
Unpacking libguestfs0:ppc64el (1:1.36.13-1ubuntu3.2) over (1:1.36.13-1ubuntu3.1) ...
Setting up libguestfs0:ppc64el (1:1.36.13-1ubuntu3.2) ...
Setting up libguestfs-reiserfs:ppc64el (1:1.36.13-1ubuntu3.2) ...
Setting up libguestfs-perl (1:1.36.13-1ubuntu3.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libguestfs-hfsplus:ppc64el (1:1.36.13-1ubuntu3.2) ...
Setting up libguestfs-tools (1:1.36.13-1ubuntu3.2) ...
Setting up libguestfs-xfs:ppc64el (1:1.36.13-1ubuntu3.2) ...

---

$ sudo guestfish -a test.img

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: 'help' for help on commands
      'man' to read the manual
      'quit' to quit the shell

><fs> run
 100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00
><fs> tar-out / - | tar tf -
./
><fs>

Working as intended.
The change already was part of a full regression check run when on the PPA we used to verify the fix.

Overall, verification suceeded