Libguestfs is tools and a library for accessing and modifying guest disk images

Overview
Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2020 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Comments
  • line 6: syntax error near unexpected token `|'

    line 6: syntax error near unexpected token `|'

    Hi! I'm getting an error when running this: I've an Artix Linux installation. I first tried installing libguestfs via pacman but it's failed because of a dependency named systemd-sysvcompat:

    resolving dependencies...
    warning: cannot resolve "systemd-sysvcompat", a dependency of "libguestfs"
    :: The following package cannot be upgraded due to unresolvable dependencies:
          libguestfs
    
    :: Do you want to skip the above package for this upgrade? [y/N]
    error: failed to prepare transaction (could not satisfy dependencies)
    :: unable to satisfy dependency 'systemd-sysvcompat' required by libguestfs
    

    Then tried installing libguestfs-dev libguestfs-git and this repository but it failed with the error below:

    Instructions: https://github.com/libguestfs/libguestfs/blob/master/docs/guestfs-building.pod#building-from-git Error:

      OCAMLCMI inspect.cmi
      OCAMLOPT inspect.cmx
      OCAMLCMI rpm.cmi
      OCAMLOPT rpm.cmx
      OCAMLCMI callbacks.cmi
      OCAMLOPT callbacks.cmx
      OCAMLCMI daemon.cmi
      OCAMLOPT daemon.cmx
    ocamlfind opt -output-obj -o camldaemon.o \
        -g -annot  -warn-error +C+D+E+F+L+M+P+S+U+V+Y+Z+X+52-3-6 -w -6 -ccopt '-fPIC -fno-strict-overflow -Wno-strict-overflow' -package str,unix,hivex -I ../bundled/ocaml-augeas -I ../common/mlstdutils -I ../common/mlutils -I ../common/utils/.libs -I ../common/mlpcre -I ../common/mlpcre/.libs -I ../gnulib/lib/.libs \
        -linkpkg \
        mlaugeas.cmxa \
        mlpcre.cmxa \
        mlstdutils.cmxa \
        mlcutils.cmxa \
        daemon_config.cmx utils.cmx structs.cmx optgroups.cmx sysroot.cmx mountable.cmx chroot.cmx blkid.cmx btrfs.cmx cryptsetup.cmx devsparts.cmx file.cmx filearch.cmx isoinfo.cmx is.cmx ldm.cmx link.cmx lvm.cmx lvm_utils.cmx lvm_dm.cmx findfs.cmx md.cmx mount.cmx mount_utils.cmx parted.cmx listfs.cmx realpath.cmx statvfs.cmx inspect_types.cmx inspect_utils.cmx inspect_fs_unix_fstab.cmx inspect_fs_unix.cmx inspect_fs_windows.cmx inspect_fs.cmx inspect.cmx rpm.cmx callbacks.cmx daemon.cmx
      CCLD     guestfsd
      POD      stamp-guestfsd.pod
    touch stamp-guestfsd.pod
    make[3]: Leaving directory '/home/unitythemaker/TMP/libguestfs/libguestfs/daemon'
    make[2]: Leaving directory '/home/unitythemaker/TMP/libguestfs/libguestfs/daemon'
    Making all in appliance
    make[2]: Entering directory '/home/unitythemaker/TMP/libguestfs/libguestfs/appliance'
      POD      stamp-libguestfs-make-fixed-appliance.pod
    touch stamp-libguestfs-make-fixed-appliance.pod
    cd .. && \
      ./config.status --file=appliance/make.sh-t:appliance/make.sh.in
    config.status: creating appliance/make.sh-t
    chmod +x make.sh-t
    cmp -s make.sh make.sh-t || mv make.sh-t make.sh
    rm -f make.sh-t
    /sbin/ldconfig -p > ld.so.cache.txt
    objdump -p ../daemon/guestfsd |\
    	sed -ne '/NEEDED/{s/ *NEEDED *//; p;}' |\
    	xargs -i grep -F {} ld.so.cache.txt |\
    	sed -ne '/ => /{s/.* => *//; p;}' |\
    	 |\
    	sort -u > guestfsd.deps.t
    /bin/sh: -c: line 6: syntax error near unexpected token `|'
    /bin/sh: -c: line 6: `	sort -u > guestfsd.deps.t'
    make[2]: *** [Makefile:1100: guestfsd.deps] Error 2
    make[2]: Leaving directory '/home/unitythemaker/TMP/libguestfs/libguestfs/appliance'
    make[1]: *** [Makefile:1084: all-recursive] Error 1
    make[1]: Leaving directory '/home/unitythemaker/TMP/libguestfs/libguestfs'
    make: *** [Makefile:990: all] Error 2
    
    opened by unitythemaker 18
  • 1.48.5: test_file_architecture_26 and test_xfs_growfs_0 failing

    1.48.5: test_file_architecture_26 and test_xfs_growfs_0 failing

    opened by dvzrv 14
  • Impossible to retreive :name attribute

    Impossible to retreive :name attribute

    It seems there is no way availabe in guestfish to retrieve the the value of name attribute specified when doing add-drive. It would be nice to have an API which given a drive or partition will return the result of drive_to_string function...

    opened by Vadiml1024 12
  • can't build with golang-1.16

    can't build with golang-1.16

    Hello, looks like new golang is requiring version to be defined?

    Making all in golang
    make[4]: Entering directory '/<<PKGBUILDDIR>>/debian/build-1/golang'
    [ ../../../golang != . ] && ln -s /<<PKGBUILDDIR>>/debian/build-1/../../golang/src ./src
    ../run go install libguestfs.org/guestfs
    run: warning: You used './configure --disable-appliance' so LIBGUESTFS_PATH
    run: warning: has not been set automatically.
    go install: version is required when current directory is not in a module
    	Try 'go install libguestfs.org/guestfs@latest' to install the latest version
    make[4]: *** [Makefile:2614: pkg/linux_amd64/libguestfs.org/guestfs.a] Error 1
    

    https://blog.golang.org/go116-module-changes this happens in Ubuntu, where go-1.16 is default now https://launchpadlibrarian.net/532321596/buildlog_ubuntu-hirsute-amd64.libguestfs_1%3A1.44.1-1ubuntu1_BUILDING.txt.gz

    opened by LocutusOfBorg 11
  • go import

    go import "libguestfs.org/guestfs"

    I'm a rookie, while import on goland, the error is libguestfs.org/guestfs: cannot find module providing package libguestfs.org/guestfs: unrecognized import path "libguestfs.org/guestfs": reading https://libguestfs.org/guestfs?go-get=1: 404 Not Found thank you

    opened by securityforsoftware 9
  • supermin: packages specified on the command line:

    supermin: packages specified on the command line:

    > supermin: packages specified on the command line:

    sdrausty13:01libguestfs$ pcss supermin
    community/supermin 5.3.1-1 [installed]
        Tool for creating supermin appliances
    

    I am using makelibguestfs to build libguestfs on my Android smartphone in TermuxArch and supermin still wants to download Arch Linux packages that are already installed if I strike --disable-appliance --disable-daemon from the build instructions; How can supermin be told not to download anything during compile time?

    opened by SDRausty 9
  • OpenSUSE dead image link renders virt-builder completely unusable

    OpenSUSE dead image link renders virt-builder completely unusable

    It appears OpenSUSE has sunset the virt-builder image repo

    causing even basic virt-builder functionality to end with a fatal error:

    $ virt-builder --list
     virt-builder: error: failed to download 
    http://download.opensuse.org/repositories/Virtualization:/virt-builder-images/images/index: 
    HTTP status code 404
    

    This breaks upstream libvirt integration CI. The workaround is to comment the URL in /etc/virt-builder/repos.d/opensuse.conf Note that fixing this properly will result in addressing https://github.com/libguestfs/libguestfs/issues/92 as well.

    opened by eskultety 7
  • resize with ubuntu-20.04

    resize with ubuntu-20.04

    Is there something I am missing to resize the disk in the ubuntu-20.04 template?

    # virt-builder ubuntu-20.04 --size 30G
    [   0.8] Downloading: http://builder.libguestfs.org/ubuntu-20.04.xz
    [   1.8] Planning how to build this image
    [   1.8] Uncompressing
    [  10.9] Resizing (using virt-resize) to expand the disk to 30.0G
    virt-resize: error: /dev/sda5: partition not found in the source disk image 
    (this error came from ‘--expand’ option on the command line).  Try 
    running this command: virt-filesystems --partitions --long -a 
    /var/tmp/vb7ee275.img
    
    If reporting bugs, run virt-resize with debugging enabled and include the 
    complete output:
    
      virt-resize -v -x [...]
    

    Or:

    # virt-list-partitions -lh ubuntu-20.04.img 
    /dev/sda1 vfat 512.0M
    /dev/sda2 unknown 1K
    /dev/sda5 ext4 5.5G
    # truncate -r ubuntu-20.04.img ubuntu-20.04-resized.img
    # truncate -s +5G ubuntu-20.04-resized.img 
    # virt-resize --expand /dev/sda5 ubuntu-20.04.img ubuntu-20.04-resized.img 
    [   0.0] Examining ubuntu-20.04.img
    virt-resize: error: /dev/sda5: partition not found in the source disk image 
    (this error came from ‘--expand’ option on the command line).  Try 
    running this command: virt-filesystems --partitions --long -a 
    ubuntu-20.04.img
    
    If reporting bugs, run virt-resize with debugging enabled and include the 
    complete output:
    
      virt-resize -v -x [...]
    

    The verbose log is attached.

    verbose.log

    opened by peterwillis 7
  • [Golang binding issue] StatNS struct fields are unexported

    [Golang binding issue] StatNS struct fields are unexported

    I am using the stable release for libguestfs golang binding.

    Issue I am trying to get the stats for some files(Located inside the disk) using the following function

    func (g *Guestfs) Statns (path string) (*StatNS, *GuestfsError) {
        if g.g == nil {
            return &StatNS{}, closed_handle_error ("statns")
        }
    
        c_path := C.CString (path)
        defer C.free (unsafe.Pointer (c_path))
    
        r := C.guestfs_statns (g.g, c_path)
    
        if r == nil {
            return &StatNS{}, get_error_from_handle (g, "statns")
        }
        defer C.guestfs_free_statns (r)
        return return_StatNS (r), nil
    }
    

    This function is returing the address of the StatNS struct. Following is the struct definition

    type StatNS struct {
        st_dev int64
        st_ino int64
        st_mode int64
        st_nlink int64
        st_uid int64
        st_gid int64
        st_rdev int64
        st_size int64
        st_blksize int64
        st_blocks int64
        st_atime_sec int64
        st_atime_nsec int64
        st_mtime_sec int64
        st_mtime_nsec int64
        st_ctime_sec int64
        st_ctime_nsec int64
        st_spare1 int64
        st_spare2 int64
        st_spare3 int64
        st_spare4 int64
        st_spare5 int64
        st_spare6 int64
    }
    
    

    Because of the unexported fields, I can not check the stat in my code and I don't see any getter functions for the same.

    Expected behavior All StatNS struct fields should be exported or some getter functions should be there.

    opened by anemade 6
  • make[2]: *** No rule to make target 'guestfs_protocol.c', needed by 'all'.  Stop.

    make[2]: *** No rule to make target 'guestfs_protocol.c', needed by 'all'. Stop.

    make[3]: Entering directory '/home/sdrausty/libguestfs/common/errnostring' CC liberrnostring_la-errnostring-gperf.lo CC liberrnostring_la-errnostring.lo CCLD liberrnostring.la make[3]: Leaving directory '/home/sdrausty/libguestfs/common/errnostring' make[2]: Leaving directory '/home/sdrausty/libguestfs/common/errnostring' Making all in common/protocol make[2]: Entering directory '/home/sdrausty/libguestfs/common/protocol' make[2]: *** No rule to make target 'guestfs_protocol.c', needed by 'all'. Stop. Screenshot_20220504-115446

    make[2]: Leaving directory '/home/sdrausty/libguestfs/common/protocol' make[1]: *** [Makefile:1085: all-recursive] Error 1 make[1]: Leaving directory '/home/sdrausty/libguestfs' make: *** [Makefile:991: all] Error 2

    TermuxArch MAKELIBGUESTFS NOTICE: Generated script signal 2 near or at line number 68 by 'make'!

    TermuxArch command 'makelibguestfs' version 2.1.646 [Exit Signal 2]: DONE 🏁 sdrausty11:51~$ um i686

    opened by SDRausty 5
  • Use on macOS

    Use on macOS

    I find very little documentation on using libguestfs on macOS, there is just a fairly outdated brew configuration somewhere.

    Are there official docs giving more details?

    opened by aparcar 4
  • Cannot use Nala front-end for libapt-pkg via virt-customize --install inside Ubuntu Jammy cloud image

    Cannot use Nala front-end for libapt-pkg via virt-customize --install inside Ubuntu Jammy cloud image

    The goal was to have nala (https://gitlab.com/volian/nala) installed into the cloud image https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img and then use it to install other packages. However, even nala update fails (see below). The host OS on arctic16 is Proxmox (Debian).

    root@arctic16:~/cloud-init-images# virt-customize -a jammy-server-cloudimg-amd64.img.custom --install nala
    root@arctic16:~/cloud-init-images# virt-customize -a jammy-server-cloudimg-amd64.img.custom --run-command 'sudo nala update' -x
    

    Produces

    [   0.0] Examining the guest ...
    libguestfs: trace: set_network true
    libguestfs: trace: set_network = 0
    libguestfs: trace: add_drive "jammy-server-cloudimg-amd64.img.custom" "readonly:false" "protocol:file" "discard:besteffort"
    libguestfs: trace: add_drive = 0
    libguestfs: trace: launch
    libguestfs: trace: max_disks
    libguestfs: trace: max_disks = 255
    libguestfs: trace: get_tmpdir
    libguestfs: trace: get_tmpdir = "/tmp"
    libguestfs: trace: get_cachedir
    libguestfs: trace: get_cachedir = "/var/tmp"
    libguestfs: trace: get_cachedir
    libguestfs: trace: get_cachedir = "/var/tmp"
    libguestfs: trace: get_backend_setting "force_tcg"
    libguestfs: trace: get_backend_setting = NULL (error)
    libguestfs: trace: get_sockdir
    libguestfs: trace: get_sockdir = "/tmp"
    libguestfs: trace: get_backend_setting "gdb"
    libguestfs: trace: get_backend_setting = NULL (error)
    libguestfs: trace: launch = 0
    libguestfs: trace: c_pointer
    libguestfs: trace: c_pointer = 94367519005344
    libguestfs: trace: list_partitions
    libguestfs: trace: list_partitions = ["/dev/sda1", "/dev/sda14", "/dev/sda15"]
    libguestfs: trace: vfs_type "/dev/sda1"
    libguestfs: trace: vfs_type = "ext4"
    libguestfs: trace: vfs_type "/dev/sda14"
    libguestfs: trace: vfs_type = ""
    libguestfs: trace: vfs_type "/dev/sda15"
    libguestfs: trace: vfs_type = "vfat"
    libguestfs: trace: inspect_os
    libguestfs: trace: inspect_os = ["/dev/sda1"]
    libguestfs: trace: inspect_get_mountpoints "/dev/sda1"
    libguestfs: trace: inspect_get_mountpoints = ["/boot/efi", "/dev/sda15", "/", "/dev/sda1"]
    libguestfs: trace: mount "/dev/sda1" "/"
    libguestfs: trace: mount = 0
    libguestfs: trace: mount "/dev/sda15" "/boot/efi"
    libguestfs: trace: mount = 0
    libguestfs: trace: inspect_get_type "/dev/sda1"
    libguestfs: trace: inspect_get_type = "linux"
    libguestfs: trace: is_dir "/tmp" "followsymlinks:true"
    libguestfs: trace: is_dir = 1
    [   3.9] Setting a random seed
    libguestfs: trace: inspect_get_type "/dev/sda1"
    libguestfs: trace: inspect_get_type = "linux"
    libguestfs: trace: is_file "/var/lib/random-seed"
    libguestfs: trace: is_file = 0
    libguestfs: trace: is_file "/var/lib/systemd/random-seed"
    libguestfs: trace: is_file = 0
    libguestfs: trace: is_file "/var/lib/urandom/random-seed"
    libguestfs: trace: is_file = 0
    libguestfs: trace: is_file "/var/lib/misc/random-seed"
    libguestfs: trace: is_file = 0
    libguestfs: trace: is_file "/etc/random-seed"
    libguestfs: trace: is_file = 0
    libguestfs: trace: inspect_get_distro "/dev/sda1"
    libguestfs: trace: inspect_get_distro = "ubuntu"
    libguestfs: trace: is_dir "/var/lib/urandom"
    libguestfs: trace: is_dir = 0
    virt-customize: warning: random seed could not be set for this type of 
    guest
    libguestfs: trace: lstatns "/etc/machine-id"
    libguestfs: trace: lstatns = <struct guestfs_statns = st_dev: 2049, st_ino: 603, st_mode: 33060, st_nlink: 1, st_uid: 0, st_gid: 0, st_rdev: 0, st_size: 33, st_blksize: 4096, st_blocks: 8, st_atime_sec: 1667501959, st_atime_nsec: 640000000, st_mtime_sec: 1667501949, st_mtime_nsec: 848000000, st_ctime_sec: 1667501949, st_ctime_nsec: 848000000, st_spare1: 0, st_spare2: 0, st_spare3: 0, st_spare4: 0, st_spare5: 0, st_spare6: 0, >
    [   3.9] Running: sudo nala update
    libguestfs: trace: inspect_get_arch "/dev/sda1"
    libguestfs: trace: inspect_get_arch = "x86_64"
    libguestfs: trace: sh "exec >>'/tmp/builder.log' 2>&1\n\n\nsudo nala update\n"
    libguestfs: trace: sh = NULL (error)
    libguestfs: trace: download "/tmp/builder.log" "/dev/stderr"
    Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
    Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
    Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
    Get:4 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [461 kB]
    Get:5 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [602 kB]
    Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [76.6 kB]
    Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [2408 B]
    Get:8 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [4192 B]
    Get:9 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [900 B]
    Get:10 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [228 B]
    Get:11 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
    Get:12 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB]
    Get:13 http://archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB]
    Get:14 http://archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]
    Get:15 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]
    Get:16 http://archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB]
    Get:17 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8372 B]
    Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [695 kB]
    Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [10.8 kB]
    Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [743 kB]
    Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [122 kB]
    Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [4404 B]
    Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [13.7 kB]
    Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [4228 B]
    Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [420 B]
    Get:26 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [3008 B]
    Get:27 http://archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [1432 B]
    Get:28 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [272 B]
    Get:29 http://archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]
    Get:30 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [6752 B]
    Get:31 http://archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [9360 B]
    Get:32 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [356 B]
    Get:33 http://archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]
    Fetched 23.5 MB in 5s (4423 kB/s)
    Reading package lists...
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
      black fonts-font-awesome fonts-lato javascript-common libjs-bootstrap4
      libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen
      libjs-jquery-metadata libjs-jquery-tablesorter
      libjs-jquery-throttle-debounce libjs-lunr libjs-modernizr libjs-popper.js
      libjs-sizzle mkdocs node-jquery pyflakes3 python3-anyio python3-bs4
      python3-charset-normalizer python3-commonmark python3-cov-core
      python3-coverage python3-execnet python3-flake8 python3-h11 python3-html5lib
      python3-httpcore python3-httpx python3-iniconfig python3-isort
      python3-livereload python3-lxml python3-markdown python3-mccabe python3-mypy
      python3-mypy-extensions python3-nose2 python3-packaging python3-pathspec
      python3-platformdirs python3-pluggy python3-psutil python3-py
      python3-pycodestyle python3-pyflakes python3-pygments python3-pyinotify
      python3-pytest python3-pytest-cov python3-pytest-forked python3-pytest-sugar
      python3-pytest-xdist python3-rfc3986 python3-rich python3-shellingham
      python3-sniffio python3-socksio python3-soupsieve python3-termcolor
      python3-toml python3-tomli python3-tornado python3-typed-ast python3-typer
      python3-typing-extensions python3-webencodings sphinx-rtd-theme-common
    Suggested packages:
      python-black-doc apache2 | lighttpd | httpd libjs-es5-shim ghp-import
      mkdocs-doc nodejs python-coverage-doc execnet-doc python3-genshi
      coffeescript node-less node-uglify python-livereload-doc python3-django
      python3-flask python3-slimmer python-lxml-doc python-markdown-doc
      python-nose2-doc python-psutil-doc subversion python-pygments-doc
      ttf-bitstream-vera python-pyinotify-doc python3-pycurl python-tornado-doc
      python-typer-doc
    The following NEW packages will be installed:
      black fonts-font-awesome fonts-lato javascript-common libjs-bootstrap4
      libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen
      libjs-jquery-metadata libjs-jquery-tablesorter
      libjs-jquery-throttle-debounce libjs-lunr libjs-modernizr libjs-popper.js
      libjs-sizzle mkdocs nala node-jquery pyflakes3 python3-anyio python3-bs4
      python3-charset-normalizer python3-commonmark python3-cov-core
      python3-coverage python3-execnet python3-flake8 python3-h11 python3-html5lib
      python3-httpcore python3-httpx python3-iniconfig python3-isort
      python3-livereload python3-lxml python3-markdown python3-mccabe python3-mypy
      python3-mypy-extensions python3-nose2 python3-packaging python3-pathspec
      python3-platformdirs python3-pluggy python3-psutil python3-py
      python3-pycodestyle python3-pyflakes python3-pygments python3-pyinotify
      python3-pytest python3-pytest-cov python3-pytest-forked python3-pytest-sugar
      python3-pytest-xdist python3-rfc3986 python3-rich python3-shellingham
      python3-sniffio python3-socksio python3-soupsieve python3-termcolor
      python3-toml python3-tomli python3-tornado python3-typed-ast python3-typer
      python3-typing-extensions python3-webencodings sphinx-rtd-theme-common
    0 upgraded, 70 newly installed, 0 to remove and 11 not upgraded.
    Need to get 24.3 MB of archives.
    After this operation, 107 MB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 fonts-lato all 2.0-2.1 [2696 kB]
    Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjs-jquery all 3.6.0+dfsg+~3.5.13-1 [321 kB]
    Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu1 [11.4 kB]
    Get:4 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-mypy-extensions all 0.4.3-2 [5752 B]
    Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pathspec all 0.9.0-1 [28.8 kB]
    Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-platformdirs all 2.5.1-1 [14.2 kB]
    Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-tomli all 1.2.2-2 [12.9 kB]
    Get:8 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-typing-extensions all 3.10.0.2-1 [35.7 kB]
    Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 black all 21.12b0-1 [126 kB]
    Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB]
    Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 javascript-common all 11+nmu1 [5936 B]
    Get:12 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-popper.js all 1.16.1+ds-5 [53.8 kB]
    Get:13 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-bootstrap4 all 4.6.0+dfsg1-4 [534 kB]
    Get:14 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-metadata all 12-3 [7096 B]
    Get:15 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB]
    Get:16 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB]
    Get:17 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-lunr all 2.3.9~dfsg-1 [67.0 kB]
    Get:18 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-sizzle all 2.3.6+ds+~2.3.3-1 [32.3 kB]
    Get:19 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-modernizr all 2.6.2+ds1-4 [47.1 kB]
    Get:20 http://archive.ubuntu.com/ubuntu jammy/main amd64 sphinx-rtd-theme-common all 1.0.0+dfsg-1 [991 kB]
    Get:21 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-tornado amd64 6.1.0-3build1 [287 kB]
    Get:22 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-livereload all 2.6.3-2 [24.7 kB]
    Get:23 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-markdown all 3.3.6-1 [68.5 kB]
    Get:24 http://archive.ubuntu.com/ubuntu jammy/universe amd64 mkdocs all 1.1.2+dfsg-2ubuntu1 [59.2 kB]
    Get:25 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-sniffio all 1.2.0-1 [6438 B]
    Get:26 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-anyio all 3.5.0-3ubuntu2 [53.5 kB]
    Get:27 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pygments all 2.11.2+dfsg-2 [750 kB]
    Get:28 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-commonmark all 0.9.1-3 [43.7 kB]
    Get:29 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-rich all 11.2.0-1 [177 kB]
    Get:30 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-charset-normalizer all 2.0.6-2 [32.2 kB]
    Get:31 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-h11 all 0.13.0-1 [50.9 kB]
    Get:32 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-httpcore all 0.14.5-1 [32.3 kB]
    Get:33 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-rfc3986 all 1.5.0-2 [22.6 kB]
    Get:34 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-httpx all 0.22.0-1 [70.0 kB]
    Get:35 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-coverage amd64 6.2+dfsg1-2build1 [131 kB]
    Get:36 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-mccabe all 0.6.1-3 [8488 B]
    Get:37 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pycodestyle all 2.8.0-2 [39.2 kB]
    Get:38 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pyflakes all 2.4.0-2 [57.6 kB]
    Get:39 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-flake8 all 4.0.1-2 [49.8 kB]
    Get:40 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-toml all 0.10.2-1 [16.5 kB]
    Get:41 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-isort all 5.6.4-1 [63.1 kB]
    Get:42 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-typed-ast amd64 1.4.3-1build1 [167 kB]
    Get:43 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-psutil amd64 5.9.0-1build1 [158 kB]
    Get:44 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-mypy amd64 0.942-1ubuntu1 [14.0 MB]
    Get:45 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pluggy all 0.13.0-7.1 [19.0 kB]
    Get:46 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-py all 1.10.0-1 [71.9 kB]
    Get:47 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B]
    Get:48 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-packaging all 21.3-1 [30.7 kB]
    Get:49 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest all 6.2.5-1ubuntu2 [214 kB]
    Get:50 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B]
    Get:51 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-nose2 all 0.9.2-1 [89.4 kB]
    Get:52 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-cov-core all 1.15.0-3build1 [7652 B]
    Get:53 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest-cov all 3.0.0-1 [21.0 kB]
    Get:54 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-termcolor all 1.1.0-3 [5624 B]
    Get:55 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest-sugar all 0.9.4-1ubuntu1 [10.2 kB]
    Get:56 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-execnet all 1.9.0-1 [33.5 kB]
    Get:57 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest-forked all 1.4.0-1 [7316 B]
    Get:58 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pytest-xdist all 2.5.0-1 [39.8 kB]
    Get:59 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-shellingham all 1.4.0-1 [9496 B]
    Get:60 http://archive.ubuntu.com/ubuntu jammy/universe amd64 python3-typer all 0.4.0-1 [23.7 kB]
    Get:61 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 nala all 0.11.1~bpo22.04.1 [104 kB]
    Get:62 http://archive.ubuntu.com/ubuntu jammy/universe amd64 node-jquery all 3.6.0+dfsg+~3.5.13-1 [160 kB]
    Get:63 http://archive.ubuntu.com/ubuntu jammy/universe amd64 pyflakes3 all 2.4.0-2 [3488 B]
    Get:64 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-soupsieve all 2.3.1-1 [33.0 kB]
    Get:65 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-bs4 all 4.10.0-2 [79.1 kB]
    Get:66 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-webencodings all 0.5.1-4 [11.8 kB]
    Get:67 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-html5lib all 1.1-3 [87.0 kB]
    Get:68 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-lxml amd64 4.8.0-1build1 [1150 kB]
    Get:69 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pyinotify all 0.9.6-1.3 [24.8 kB]
    Get:70 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 python3-socksio all 1.0.0-2~bpo22.04.1 [15.1 kB]
    Fetched 24.3 MB in 1s (19.1 MB/s)
    Selecting previously unselected package fonts-lato.
    (Reading database ... 64439 files and directories currently installed.)
    Preparing to unpack .../00-fonts-lato_2.0-2.1_all.deb ...
    Unpacking fonts-lato (2.0-2.1) ...
    Selecting previously unselected package libjs-jquery.
    Preparing to unpack .../01-libjs-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ...
    Unpacking libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
    Selecting previously unselected package libjs-jquery-hotkeys.
    Preparing to unpack .../02-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu1_all.deb ...
    Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu1) ...
    Selecting previously unselected package python3-mypy-extensions.
    Preparing to unpack .../03-python3-mypy-extensions_0.4.3-2_all.deb ...
    Unpacking python3-mypy-extensions (0.4.3-2) ...
    Selecting previously unselected package python3-pathspec.
    Preparing to unpack .../04-python3-pathspec_0.9.0-1_all.deb ...
    Unpacking python3-pathspec (0.9.0-1) ...
    Selecting previously unselected package python3-platformdirs.
    Preparing to unpack .../05-python3-platformdirs_2.5.1-1_all.deb ...
    Unpacking python3-platformdirs (2.5.1-1) ...
    Selecting previously unselected package python3-tomli.
    Preparing to unpack .../06-python3-tomli_1.2.2-2_all.deb ...
    Unpacking python3-tomli (1.2.2-2) ...
    Selecting previously unselected package python3-typing-extensions.
    Preparing to unpack .../07-python3-typing-extensions_3.10.0.2-1_all.deb ...
    Unpacking python3-typing-extensions (3.10.0.2-1) ...
    Selecting previously unselected package black.
    Preparing to unpack .../08-black_21.12b0-1_all.deb ...
    Unpacking black (21.12b0-1) ...
    Selecting previously unselected package fonts-font-awesome.
    Preparing to unpack .../09-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ...
    Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ...
    Selecting previously unselected package javascript-common.
    Preparing to unpack .../10-javascript-common_11+nmu1_all.deb ...
    Unpacking javascript-common (11+nmu1) ...
    Selecting previously unselected package libjs-popper.js.
    Preparing to unpack .../11-libjs-popper.js_1.16.1+ds-5_all.deb ...
    Unpacking libjs-popper.js (1.16.1+ds-5) ...
    Selecting previously unselected package libjs-bootstrap4.
    Preparing to unpack .../12-libjs-bootstrap4_4.6.0+dfsg1-4_all.deb ...
    Unpacking libjs-bootstrap4 (4.6.0+dfsg1-4) ...
    Selecting previously unselected package libjs-jquery-metadata.
    Preparing to unpack .../13-libjs-jquery-metadata_12-3_all.deb ...
    Unpacking libjs-jquery-metadata (12-3) ...
    Selecting previously unselected package libjs-jquery-tablesorter.
    Preparing to unpack .../14-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ...
    Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ...
    Selecting previously unselected package libjs-jquery-throttle-debounce.
    Preparing to unpack .../15-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ...
    Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ...
    Selecting previously unselected package libjs-lunr.
    Preparing to unpack .../16-libjs-lunr_2.3.9~dfsg-1_all.deb ...
    Unpacking libjs-lunr (2.3.9~dfsg-1) ...
    Selecting previously unselected package libjs-sizzle.
    Preparing to unpack .../17-libjs-sizzle_2.3.6+ds+~2.3.3-1_all.deb ...
    Unpacking libjs-sizzle (2.3.6+ds+~2.3.3-1) ...
    Selecting previously unselected package libjs-modernizr.
    Preparing to unpack .../18-libjs-modernizr_2.6.2+ds1-4_all.deb ...
    Unpacking libjs-modernizr (2.6.2+ds1-4) ...
    Selecting previously unselected package sphinx-rtd-theme-common.
    Preparing to unpack .../19-sphinx-rtd-theme-common_1.0.0+dfsg-1_all.deb ...
    Unpacking sphinx-rtd-theme-common (1.0.0+dfsg-1) ...
    Selecting previously unselected package python3-tornado.
    Preparing to unpack .../20-python3-tornado_6.1.0-3build1_amd64.deb ...
    Unpacking python3-tornado (6.1.0-3build1) ...
    Selecting previously unselected package python3-livereload.
    Preparing to unpack .../21-python3-livereload_2.6.3-2_all.deb ...
    Unpacking python3-livereload (2.6.3-2) ...
    Selecting previously unselected package python3-markdown.
    Preparing to unpack .../22-python3-markdown_3.3.6-1_all.deb ...
    Unpacking python3-markdown (3.3.6-1) ...
    Selecting previously unselected package mkdocs.
    Preparing to unpack .../23-mkdocs_1.1.2+dfsg-2ubuntu1_all.deb ...
    Unpacking mkdocs (1.1.2+dfsg-2ubuntu1) ...
    Selecting previously unselected package python3-sniffio.
    Preparing to unpack .../24-python3-sniffio_1.2.0-1_all.deb ...
    Unpacking python3-sniffio (1.2.0-1) ...
    Selecting previously unselected package python3-anyio.
    Preparing to unpack .../25-python3-anyio_3.5.0-3ubuntu2_all.deb ...
    Unpacking python3-anyio (3.5.0-3ubuntu2) ...
    Selecting previously unselected package python3-pygments.
    Preparing to unpack .../26-python3-pygments_2.11.2+dfsg-2_all.deb ...
    Unpacking python3-pygments (2.11.2+dfsg-2) ...
    Selecting previously unselected package python3-commonmark.
    Preparing to unpack .../27-python3-commonmark_0.9.1-3_all.deb ...
    Unpacking python3-commonmark (0.9.1-3) ...
    Selecting previously unselected package python3-rich.
    Preparing to unpack .../28-python3-rich_11.2.0-1_all.deb ...
    Unpacking python3-rich (11.2.0-1) ...
    Selecting previously unselected package python3-charset-normalizer.
    Preparing to unpack .../29-python3-charset-normalizer_2.0.6-2_all.deb ...
    Unpacking python3-charset-normalizer (2.0.6-2) ...
    Selecting previously unselected package python3-h11.
    Preparing to unpack .../30-python3-h11_0.13.0-1_all.deb ...
    Unpacking python3-h11 (0.13.0-1) ...
    Selecting previously unselected package python3-httpcore.
    Preparing to unpack .../31-python3-httpcore_0.14.5-1_all.deb ...
    Unpacking python3-httpcore (0.14.5-1) ...
    Selecting previously unselected package python3-rfc3986.
    Preparing to unpack .../32-python3-rfc3986_1.5.0-2_all.deb ...
    Unpacking python3-rfc3986 (1.5.0-2) ...
    Selecting previously unselected package python3-httpx.
    Preparing to unpack .../33-python3-httpx_0.22.0-1_all.deb ...
    Unpacking python3-httpx (0.22.0-1) ...
    Selecting previously unselected package python3-coverage.
    Preparing to unpack .../34-python3-coverage_6.2+dfsg1-2build1_amd64.deb ...
    Unpacking python3-coverage (6.2+dfsg1-2build1) ...
    Selecting previously unselected package python3-mccabe.
    Preparing to unpack .../35-python3-mccabe_0.6.1-3_all.deb ...
    Unpacking python3-mccabe (0.6.1-3) ...
    Selecting previously unselected package python3-pycodestyle.
    Preparing to unpack .../36-python3-pycodestyle_2.8.0-2_all.deb ...
    Unpacking python3-pycodestyle (2.8.0-2) ...
    Selecting previously unselected package python3-pyflakes.
    Preparing to unpack .../37-python3-pyflakes_2.4.0-2_all.deb ...
    Unpacking python3-pyflakes (2.4.0-2) ...
    Selecting previously unselected package python3-flake8.
    Preparing to unpack .../38-python3-flake8_4.0.1-2_all.deb ...
    Unpacking python3-flake8 (4.0.1-2) ...
    Selecting previously unselected package python3-toml.
    Preparing to unpack .../39-python3-toml_0.10.2-1_all.deb ...
    Unpacking python3-toml (0.10.2-1) ...
    Selecting previously unselected package python3-isort.
    Preparing to unpack .../40-python3-isort_5.6.4-1_all.deb ...
    Unpacking python3-isort (5.6.4-1) ...
    Selecting previously unselected package python3-typed-ast.
    Preparing to unpack .../41-python3-typed-ast_1.4.3-1build1_amd64.deb ...
    Unpacking python3-typed-ast (1.4.3-1build1) ...
    Selecting previously unselected package python3-psutil.
    Preparing to unpack .../42-python3-psutil_5.9.0-1build1_amd64.deb ...
    Unpacking python3-psutil (5.9.0-1build1) ...
    Selecting previously unselected package python3-mypy.
    Preparing to unpack .../43-python3-mypy_0.942-1ubuntu1_amd64.deb ...
    Unpacking python3-mypy (0.942-1ubuntu1) ...
    Selecting previously unselected package python3-pluggy.
    Preparing to unpack .../44-python3-pluggy_0.13.0-7.1_all.deb ...
    Unpacking python3-pluggy (0.13.0-7.1) ...
    Selecting previously unselected package python3-py.
    Preparing to unpack .../45-python3-py_1.10.0-1_all.deb ...
    Unpacking python3-py (1.10.0-1) ...
    Selecting previously unselected package python3-iniconfig.
    Preparing to unpack .../46-python3-iniconfig_1.1.1-2_all.deb ...
    Unpacking python3-iniconfig (1.1.1-2) ...
    Selecting previously unselected package python3-packaging.
    Preparing to unpack .../47-python3-packaging_21.3-1_all.deb ...
    Unpacking python3-packaging (21.3-1) ...
    Selecting previously unselected package python3-pytest.
    Preparing to unpack .../48-python3-pytest_6.2.5-1ubuntu2_all.deb ...
    Unpacking python3-pytest (6.2.5-1ubuntu2) ...
    Selecting previously unselected package libjs-jquery-isonscreen.
    Preparing to unpack .../49-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ...
    Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ...
    Selecting previously unselected package python3-nose2.
    Preparing to unpack .../50-python3-nose2_0.9.2-1_all.deb ...
    Unpacking python3-nose2 (0.9.2-1) ...
    Selecting previously unselected package python3-cov-core.
    Preparing to unpack .../51-python3-cov-core_1.15.0-3build1_all.deb ...
    Unpacking python3-cov-core (1.15.0-3build1) ...
    Selecting previously unselected package python3-pytest-cov.
    Preparing to unpack .../52-python3-pytest-cov_3.0.0-1_all.deb ...
    Unpacking python3-pytest-cov (3.0.0-1) ...
    Selecting previously unselected package python3-termcolor.
    Preparing to unpack .../53-python3-termcolor_1.1.0-3_all.deb ...
    Unpacking python3-termcolor (1.1.0-3) ...
    Selecting previously unselected package python3-pytest-sugar.
    Preparing to unpack .../54-python3-pytest-sugar_0.9.4-1ubuntu1_all.deb ...
    Unpacking python3-pytest-sugar (0.9.4-1ubuntu1) ...
    Selecting previously unselected package python3-execnet.
    Preparing to unpack .../55-python3-execnet_1.9.0-1_all.deb ...
    Unpacking python3-execnet (1.9.0-1) ...
    Selecting previously unselected package python3-pytest-forked.
    Preparing to unpack .../56-python3-pytest-forked_1.4.0-1_all.deb ...
    Unpacking python3-pytest-forked (1.4.0-1) ...
    Selecting previously unselected package python3-pytest-xdist.
    Preparing to unpack .../57-python3-pytest-xdist_2.5.0-1_all.deb ...
    Unpacking python3-pytest-xdist (2.5.0-1) ...
    Selecting previously unselected package python3-shellingham.
    Preparing to unpack .../58-python3-shellingham_1.4.0-1_all.deb ...
    Unpacking python3-shellingham (1.4.0-1) ...
    Selecting previously unselected package python3-typer.
    Preparing to unpack .../59-python3-typer_0.4.0-1_all.deb ...
    Unpacking python3-typer (0.4.0-1) ...
    Selecting previously unselected package nala.
    Preparing to unpack .../60-nala_0.11.1~bpo22.04.1_all.deb ...
    Unpacking nala (0.11.1~bpo22.04.1) ...
    Selecting previously unselected package node-jquery.
    Preparing to unpack .../61-node-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ...
    Unpacking node-jquery (3.6.0+dfsg+~3.5.13-1) ...
    Selecting previously unselected package pyflakes3.
    Preparing to unpack .../62-pyflakes3_2.4.0-2_all.deb ...
    Unpacking pyflakes3 (2.4.0-2) ...
    Selecting previously unselected package python3-soupsieve.
    Preparing to unpack .../63-python3-soupsieve_2.3.1-1_all.deb ...
    Unpacking python3-soupsieve (2.3.1-1) ...
    Selecting previously unselected package python3-bs4.
    Preparing to unpack .../64-python3-bs4_4.10.0-2_all.deb ...
    Unpacking python3-bs4 (4.10.0-2) ...
    Selecting previously unselected package python3-webencodings.
    Preparing to unpack .../65-python3-webencodings_0.5.1-4_all.deb ...
    Unpacking python3-webencodings (0.5.1-4) ...
    Selecting previously unselected package python3-html5lib.
    Preparing to unpack .../66-python3-html5lib_1.1-3_all.deb ...
    Unpacking python3-html5lib (1.1-3) ...
    Selecting previously unselected package python3-lxml:amd64.
    Preparing to unpack .../67-python3-lxml_4.8.0-1build1_amd64.deb ...
    Unpacking python3-lxml:amd64 (4.8.0-1build1) ...
    Selecting previously unselected package python3-pyinotify.
    Preparing to unpack .../68-python3-pyinotify_0.9.6-1.3_all.deb ...
    Unpacking python3-pyinotify (0.9.6-1.3) ...
    Selecting previously unselected package python3-socksio.
    Preparing to unpack .../69-python3-socksio_1.0.0-2~bpo22.04.1_all.deb ...
    Unpacking python3-socksio (1.0.0-2~bpo22.04.1) ...
    Setting up python3-termcolor (1.1.0-3) ...
    Setting up javascript-common (11+nmu1) ...
    Setting up python3-iniconfig (1.1.1-2) ...
    Setting up python3-sniffio (1.2.0-1) ...
    Setting up python3-tornado (6.1.0-3build1) ...
    Setting up python3-socksio (1.0.0-2~bpo22.04.1) ...
    Setting up fonts-lato (2.0-2.1) ...
    Setting up python3-tomli (1.2.2-2) ...
    Setting up python3-py (1.10.0-1) ...
    Setting up python3-anyio (3.5.0-3ubuntu2) ...
    Setting up libjs-popper.js (1.16.1+ds-5) ...
    Setting up python3-typed-ast (1.4.3-1build1) ...
    Setting up python3-charset-normalizer (2.0.6-2) ...
    Setting up python3-mypy-extensions (0.4.3-2) ...
    Setting up libjs-lunr (2.3.9~dfsg-1) ...
    Setting up python3-pyinotify (0.9.6-1.3) ...
    Setting up python3-pyflakes (2.4.0-2) ...
    Setting up python3-coverage (6.2+dfsg1-2build1) ...
    Setting up python3-nose2 (0.9.2-1) ...
    Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ...
    Setting up libjs-sizzle (2.3.6+ds+~2.3.3-1) ...
    Setting up libjs-modernizr (2.6.2+ds1-4) ...
    Setting up python3-webencodings (0.5.1-4) ...
    Setting up python3-platformdirs (2.5.1-1) ...
    Setting up python3-psutil (5.9.0-1build1) ...
    Setting up python3-pycodestyle (2.8.0-2) ...
    Setting up python3-pygments (2.11.2+dfsg-2) ...
    Setting up python3-packaging (21.3-1) ...
    Setting up python3-rfc3986 (1.5.0-2) ...
    Setting up python3-markdown (3.3.6-1) ...
    Setting up python3-h11 (0.13.0-1) ...
    Setting up python3-typing-extensions (3.10.0.2-1) ...
    Setting up python3-html5lib (1.1-3) ...
    Setting up python3-toml (0.10.2-1) ...
    Setting up python3-isort (5.6.4-1) ...
    Setting up python3-pluggy (0.13.0-7.1) ...
    Setting up python3-lxml:amd64 (4.8.0-1build1) ...
    Setting up python3-livereload (2.6.3-2) ...
    Setting up python3-mccabe (0.6.1-3) ...
    Setting up libjs-bootstrap4 (4.6.0+dfsg1-4) ...
    Setting up libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
    Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu1) ...
    Setting up python3-execnet (1.9.0-1) ...
    Setting up python3-shellingham (1.4.0-1) ...
    Setting up python3-pathspec (0.9.0-1) ...
    Setting up python3-soupsieve (2.3.1-1) ...
    Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ...
    Setting up sphinx-rtd-theme-common (1.0.0+dfsg-1) ...
    Setting up node-jquery (3.6.0+dfsg+~3.5.13-1) ...
    Setting up python3-commonmark (0.9.1-3) ...
    Setting up python3-httpcore (0.14.5-1) ...
    Setting up pyflakes3 (2.4.0-2) ...
    Setting up python3-cov-core (1.15.0-3build1) ...
    Setting up python3-rich (11.2.0-1) ...
    Setting up python3-pytest (6.2.5-1ubuntu2) ...
    Setting up black (21.12b0-1) ...
    Setting up python3-bs4 (4.10.0-2) ...
    Setting up python3-flake8 (4.0.1-2) ...
    Setting up python3-pytest-forked (1.4.0-1) ...
    Setting up python3-httpx (0.22.0-1) ...
    Setting up libjs-jquery-metadata (12-3) ...
    Setting up libjs-jquery-isonscreen (1.2.0-1.1) ...
    Setting up python3-mypy (0.942-1ubuntu1) ...
    Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ...
    Setting up python3-pytest-sugar (0.9.4-1ubuntu1) ...
    Setting up mkdocs (1.1.2+dfsg-2ubuntu1) ...
    Setting up python3-pytest-xdist (2.5.0-1) ...
    Setting up python3-pytest-cov (3.0.0-1) ...
    Setting up python3-typer (0.4.0-1) ...
    Setting up nala (0.11.1~bpo22.04.1) ...
    Processing triggers for man-db (2.10.2-1) ...
    NEEDRESTART-VER: 3.5
    NEEDRESTART-KCUR: 5.15.35-2-pve
    NEEDRESTART-KEXP: 5.15.0-52-generic
    NEEDRESTART-KSTA: 3
    NEEDRESTART-UCSTA: 0
    sudo: unable to resolve host (none): Name or service not known
    Traceback (most recent call last):
      File "/usr/bin/nala", line 8, in <module>
        sys.exit(main())
      File "/usr/lib/python3/dist-packages/nala/__main__.py", line 50, in main
        raise error from error
      File "/usr/lib/python3/dist-packages/nala/__main__.py", line 41, in main
        nala()
      File "/usr/lib/python3/dist-packages/typer/main.py", line 214, in __call__
        return get_command(self)(*args, **kwargs)
      File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
        return self.main(*args, **kwargs)
      File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
        rv = self.invoke(ctx)
      File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
        return __callback(*args, **kwargs)
      File "/usr/lib/python3/dist-packages/typer/main.py", line 500, in wrapper
        return callback(**use_params)  # type: ignore
      File "/usr/lib/python3/dist-packages/nala/nala.py", line 236, in _update
        sudo_check()
      File "/usr/lib/python3/dist-packages/nala/utils.py", line 368, in sudo_check
        NALA_LOCK_FILE.touch(exist_ok=True)
      File "/usr/lib/python3.10/pathlib.py", line 1168, in touch
        self._accessor.touch(self, mode, exist_ok)
      File "/usr/lib/python3.10/pathlib.py", line 331, in touch
        fd = os.open(path, flags, mode)
    FileNotFoundError: [Errno 2] No such file or directory: '/var/lock/nala.lock'
    libguestfs: trace: download = 0
    virt-customize: error: sudo nala update: command exited with an error
    
    If reporting bugs, run virt-customize with debugging enabled and include 
    the complete output:
    
      virt-customize -v -x [...]
    libguestfs: trace: close
    libguestfs: trace: internal_autosync
    libguestfs: trace: internal_autosync = 0
    
    opened by pgagarinov 2
  • guestfs kernel choosing wrong root disk (under load/race condition)

    guestfs kernel choosing wrong root disk (under load/race condition)

    • libguestfs version: 1:1.36.13-1ubuntu3.3
    • OS: Ubuntu 18.04
    • Kernel: 5.4.0-77-generic #86~18.04.1-Ubuntu (HWE)
    • Hardware: Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz

    I am using guestfish to create prepare and upload multiple disk images. Each guestfs VM has a number of disk images attached, and uploads to them in turn. Additionally, there are multiple guestfs VMs running concurrently to prepare additional images, in order to make use of concurrency in my (quad-core) CPU. These concurrent instances are creating and uploading completely separate files (except that they all clone a shared qcow2 base image).

    What I find is that under such load, guestfs intermittently fails to boot. I have made a standalone set of scripts to reproduce this.

    It appears to be some sort of race condition: if I set LIBGUESTFS_DEBUG=1 and LIBGUESTFS_TRACE=1 and allow the output to go to the screen, then the problem occurs much less frequently. However I have now been able to reproduce the problem with LIBGUESTFS_DEBUG=1 and the results are included below.

    Reproducer

    • gf-par.py
    • gf-run.py
    • Make an empty msdos image called mybase.img. I used mformat -C -f 1440 -i mybase.img :: from mtools.

    Run ./gf-par.py.

    It will spawn multiple concurrent copies of ./gf-run.py and if the problem occurs will leave its temporary files lying around, including the captured stdout/stderr from guestfish. Each instance creates a number of qcow2 clones of the mybase.img file and uploads some data.

    Note: it doesn't reproduce every time. You may need to run it multiple times. I haven't got to the bottom of what makes it sometimes reproduce easily and sometimes not. In my real-world application, sometimes only running two guestfs instances concurrently is enough to trigger the problem.

    Results

    An example of when guestfs fails is here - full debug output.

    In short, it appears to get confused about which disk is the root disk. It chooses sdau as the root disk:

    [    0.000000] Command line: ... root=/dev/sdau
    

    And yet, sdau is one of the qcow2 image clones; the supermin disk appears to be sdat (looking at the size)

    [    0.830155] scsi 2:0:44:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
    [    0.832186] scsi 2:0:46:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
    [    1.094846] scsi 2:0:44:0: Attached scsi generic sg44 type 0
    [    1.099462] sd 2:0:46:0: Power-on or device reset occurred
    [    1.100347] sd 2:0:46:0: [sdat] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
    [    1.101121] sd 2:0:46:0: [sdat] Write Protect is off
    [    1.101683] sd 2:0:46:0: [sdat] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    1.105412] sd 2:0:44:0: Power-on or device reset occurred
    [    1.106313] sd 2:0:44:0: [sdau] 2880 512-byte logical blocks: (1.47 MB/1.41 MiB)
    [    1.108897] sd 2:0:46:0: Attached scsi generic sg46 type 0
    [    1.113986] sd 2:0:46:0: [sdat] Attached SCSI disk
    [    1.114502] sd 2:0:44:0: [sdau] Write Protect is off
    [    1.118211] sd 2:0:44:0: [sdau] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    1.121151]  sdau: sdau1
    [    1.122104] sd 2:0:44:0: [sdau] Attached SCSI disk
    ...
    supermin: picked /sys/block/sdau/dev (66:224) as root device
    supermin: creating /dev/root as block special 66:224
    supermin: mounting new root on /root
    [    1.135304] EXT4-fs (sdau): VFS: Can't find ext4 filesystem
    mount: /root: Invalid argument
    [    1.136398] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
    
    opened by candlerb 3
  • virt-builder and other tools need a mechanism to specify the subsequent image blocksize (sectorsize)

    virt-builder and other tools need a mechanism to specify the subsequent image blocksize (sectorsize)

    I found reference to using uefi to boot VM's and also reference to --blocksize in virt-install,However I dont see a way of telling virt-builder to build for a 4k sector target. This also has the side effect that it must also specify uefi/ocmf as a boot scheme and also the use of a gpt instead of mbr. I think most distros faced with a 4K sector target disk will install using uefi/gpt but I don't see a way to tell virt-builder to build a 4K target and how it needs to launch it using uefii. Unless there is a way of using qemu-img to build a 4k sector image followed by some way to induce virt-builder to deal with that and know that to boot it involves uefi. If this is referenced or documented somewhere I'd be happy to refer to that.

    opened by anon99 0
  • Unable to inspect VM

    Unable to inspect VM

    I have already installed libguestfs and also downloaded libguestfs.org/guestfs

    when i try to run inspect-vm.go file initially was getting error of -lguestfs not found in /usr/bin/ld

    Secondly when tried resolving this encontered new error "go build libguestfs.org/guestfs: invalid flag in #cgo CFLAGS: -UGUESTFS_NO_DEPRECATED"

    Any help or advice is appreciable!

    opened by rishabhkemni 1
Tools to read Dragon32 VDK disk image files

Quick and dirty UNIX port of ddosutils This is originally an MSDOS tool to read Dragon 32 floppy disks. This version is crudely converted to operate o

Adrien Destugues 3 Sep 20, 2022
A React Native library for accessing an ArrayBuffer of a Blob instance.

react-native-blob-jsi-helper A React Native library for directly accessing an ArrayBuffer of a Blob instance. Note: This is a workaround. A long-term

Marc Rousavy 82 Nov 17, 2022
Two PoC of accessing process virtual memory via NT Kernel

ProcessVmAccess Two PoC of accessing process virtual memory via NT Kernel Detail You've never interested in accessing process virtual memory through N

Kento Oki 16 Aug 11, 2022
A console application using CPP that manages the guest details and check in and quarantine period of individual

A console application using CPP that manages the guest details and check in and quarantine period of individual(14 days). Efficient searching of guest, sorting and availability of room details can be found using the applications.

KAZI SAHARIAR RAHI 2 Nov 24, 2021
PoC for CVE-2021-28476 a guest-to-host "Hyper-V Remote Code Execution Vulnerability" in vmswitch.sys.

CVE-2021-28476: a guest-to-host "Microsoft Hyper-V Remote Code Execution Vulnerability" in vmswitch.sys. This is a proof of concept for CVE-2021-28476

Axel Souchet 208 Nov 26, 2022
Header-only VMWare Backdoor API Implementation & Effortless VMX Patcher for Custom Guest-to-Host RPCs

VmxHijack Header-only VMWare Backdoor API Implementation & Effortless VMX Patcher for Custom Guest-to-Host RPCs Sample // --- RPC Server Code (VmxHija

null 27 Sep 9, 2022
This is a helper library to abstract away interfacing with floppy disk drives in a cross-platform and open source library.

Adafruit Floppy This is a helper library to abstract away interfacing with floppy disk drives in a cross-platform and open source library. Adafruit Fl

Adafruit Industries 142 Dec 19, 2022
Creates a virtual disk in memory and provides the user a shell to interact with it

Tiny-File-System Creates a virtual disk in memory and provides the user a shell to interact with it Known bugs with Export missing chars at the end of

Alex Fuller 2 Oct 7, 2022
Comparing data of module exports from disk and memory, then caching any differences.

Inline-PatchFinder Need to see if the process you're reversing/analyzing is patching/hooking any loaded module's exports? Well, look no further. Inlin

null 14 Oct 15, 2022
Graphs the disk IO in a linux terminal.

diskgraph Monitor for disk IO Introduction The diskgraph tool will graph disk IO under linux, in a terminal. Examples: $ ./diskgraph /dev/nvme0n1 $ ./

Bram Stolk 184 Nov 14, 2022
Microcontroller based switchless ROM switcher for the Commodore 1541-II disk drive

Retroninja 1541-II Switchless Multi-ROM A microcontroller based switchless ROM switcher for the Commodore 1541-II disk drive. Switch between stock CBM

retroninja 5 Sep 3, 2022
Hide SMBIOS/disk/NIC serials from EFI bootkit

Rainbow Rainbow is a bootkit like HWID spoofer for Windows. It abuses several hooks in EFI runtime services and uses clever DKOM to hide hardware seri

Samuel Tulach 184 Jan 6, 2023
A small proof-of-concept for using disk devices for DMA on Windows.

ddma A small proof-of-concept for using disk devices for DMA on Windows. Why Some native hypervisors (i.e. Hyper-V) allow the guest unvirtualized devi

null 55 Dec 30, 2022
A method from GH on how to stream a dll without touching disk, TAGS: fortnite cheat fortnite injector dll injector

dll-encryptor People who make pay hacks typically have down syndrome and are incapable of using their brains in any fashion, and yet these bath salt s

Micca 2 Nov 24, 2021
ImDisk Virtual Disk Driver

ImDisk Virtual Disk Driver for Windows NT/2000/XP/2003/Vista/7/8/8.1/10. This driver emulates harddisk partitions, floppy drives and CD/DVD-ROM d

Olof Lagerkvist 135 Jan 6, 2023
Suckless-tools - My fork of suckless tools.

suckless-tools Here is my fork of suckless tools. I didn't include tabbed, i was using but not actively. I am using xfce4-terminal instead of st. Beca

null 2 Jan 7, 2022
The Vulkan Profiles Tools are a collection of tools delivered with the Vulkan SDK for Vulkan application developers to leverage Vulkan Profiles while developing a Vulkan application

Copyright © 2021-2022 LunarG, Inc. Vulkan Profiles Tools (BETA) The Vulkan Profiles Tools are a collection of tools delivered with the Vulkan SDK for

The Khronos Group 73 Dec 25, 2022
hb-libgd is a graphics library for the dynamic manipulation of images.

hb-libgd Harbour bindings for libGD 2.3.3, GD is an open source code library for the dynamic creation of images by programmers. GD has builtin support

Rafał Jopek 0 Dec 10, 2021
Second life for famous JPEGView - fast and tiny viewer/editor for JPEG, BMP, PNG, WEBP, TGA, GIF and TIFF images with a minimalist GUI and base image processing.

JPEGView-Image-Viewer-and-Editor Updated Dec 07 2021. Version 1.1.1.0 has been released. Download link1, link2 added. Second life for famous JPEGView

Ann Hatt 40 Dec 27, 2022