Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install qemu-user-static #366

Open
WSLUser opened this issue Mar 27, 2019 · 5 comments
Open

Unable to install qemu-user-static #366

WSLUser opened this issue Mar 27, 2019 · 5 comments
Labels
Triage We need to figure out what is going on here.

Comments

@WSLUser
Copy link

WSLUser commented Mar 27, 2019

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

Install PengWin from Store.
Run Wlinux-setup, select as many things as you want (I did not install Cassandra or neovim but basically everything else).
apt install qemu-user-static

Expected behavior
A clear and concise description of what you expected to happen.

I expect qemu-user-static to successfully install and run 32 bit apps.

Screenshots
If applicable, add screenshots to help explain your problem.

N/A

Additional context
Add any other context about the problem here.

See below.

Basic Troubleshooting Checklist

[x] I have searched Google for the error message.
[x] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[x] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[x] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[x] I have disabled and re-enabled WSL in Windows Features.
[x] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted?

Insert here:

WLinux Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here: 1.1.28

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.17134 N/A Build 17134
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
BIOS Version: American Megatrends Inc. E1781IMS.104, 7/31/2014

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

root@DESKTOP-150NBLM:/proc/sys/fs/binfmt_misc#  file /usr/bin/gcc-8
/usr/bin/gcc-8: symbolic link to i686-linux-gnu-gcc-8
service binfmt-support start
[....] Enabling additional executable binary formats: binfmt-supportupdate-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: Invalid argument
update-binfmts: exiting due to previous errors
 failed!

Looks like there's an issue preventing binfmt from starting and I believe it has to do with the post-install script for qemu-user-static failing to configure. Attempting to dpkg --configure -a yields
Setting up qemu-user-static (1:3.1+dfsg-4) ... update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: Invalid argument update-binfmts: warning: unable to enable binary format qemu-aarch64 update-binfmts: exiting due to previous errors dpkg: error processing package qemu-user-static (--configure): installed qemu-user-static package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: qemu-user-static

From that I'd say the handle for binfmt is failing to close and open again. As per microsoft/WSL#2468 (comment), it does appear gcc versions above 5 may also be part of the problem. But it doesn't even get that far since dpkg fails to configure qemu. However that is probably going to be the next problem to hit. This potentially could be a bug in the qemu-user-static package or binfmt-updates but last time someone filed a bug for qemu, it was rejected. So either a workaround or patch to the upstream qemu-user-static (or standalone package that simply syncs with upstream if they won't accept PR) or binfmt-updates.

I tried to attach the strace but had issue so posting below.

execve("/usr/bin/dpkg", ["dpkg", "--configure", "-a"], 0x7fffc3e5e280 /* 22 vars */) = 0 brk(NULL) = 0x7fffe000b000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=48175, ...}) = 0 mmap(NULL, 48175, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc5d0f84000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@k\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=155296, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc5d0f80000 mmap(NULL, 2259632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc5d0d50000 mprotect(0x7fc5d0d75000, 2093056, PROT_NONE) = 0 mmap(0x7fc5d0f74000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7fc5d0f74000 mmap(0x7fc5d0f76000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc5d0f76000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc5d0b80000 mprotect(0x7fc5d0ba2000, 1658880, PROT_NONE) = 0 mmap(0x7fc5d0ba2000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fc5d0ba2000 mmap(0x7fc5d0cea000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7fc5d0cea000 mmap(0x7fc5d0d37000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7fc5d0d37000 mmap(0x7fc5d0d3d000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc5d0d3d000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=468944, ...}) = 0 mmap(NULL, 471304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc5d0b00000 mmap(0x7fc5d0b02000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fc5d0b02000 mmap(0x7fc5d0b54000, 122880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x54000) = 0x7fc5d0b54000 mmap(0x7fc5d0b72000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7fc5d0b72000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc5d0af0000 mmap(0x7fc5d0af1000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fc5d0af1000 mmap(0x7fc5d0af2000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fc5d0af2000 mmap(0x7fc5d0af3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fc5d0af3000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc5d0acf000 mmap(0x7fc5d0ad5000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fc5d0ad5000 mmap(0x7fc5d0ae4000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7fc5d0ae4000 mmap(0x7fc5d0aea000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7fc5d0aea000 mmap(0x7fc5d0aec000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc5d0aec000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc5d0ac0000 arch_prctl(ARCH_SET_FS, 0x7fc5d0ac1380) = 0 mprotect(0x7fc5d0d37000, 16384, PROT_READ) = 0 mprotect(0x7fc5d0aea000, 4096, PROT_READ) = 0 mprotect(0x7fc5d0af3000, 4096, PROT_READ) = 0 mprotect(0x7fc5d0b72000, 4096, PROT_READ) = 0 mprotect(0x7fc5d0f74000, 4096, PROT_READ) = 0 mprotect(0x7fc5d1005000, 12288, PROT_READ) = 0 mprotect(0x7fc5d0fb7000, 4096, PROT_READ) = 0 munmap(0x7fc5d0f84000, 48175) = 0 set_tid_address(0x7fc5d0ac1650) = 5784 set_robust_list(0x7fc5d0ac1660, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7fc5d0ad56b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fc5d0ae1730}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7fc5d0ad5740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fc5d0ae1730}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 statfs("/sys/fs/selinux", 0x7fffe70f59d0) = -1 ENOENT (No such file or directory) statfs("/selinux", 0x7fffe70f59d0) = -1 ENOENT (No such file or directory) brk(NULL) = 0x7fffe000b000 brk(0x7fffe002c000) = 0x7fffe002c000 openat(AT_FDCWD, "/proc/filesystems", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 4096) = 312 read(3, "", 4096) = 0 close(3) = 0 access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory) ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 umask(022) = 022 openat(AT_FDCWD, "/etc/dpkg/dpkg.cfg.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 fstat(3, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 getdents64(3, /* 2 entries */, 32768) = 48 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 openat(AT_FDCWD, "/etc/dpkg/dpkg.cfg", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=446, ...}) = 0 read(3, "# dpkg configuration file\n#\n# Th"..., 512) = 446 read(3, "", 512) = 0 close(3) = 0 openat(AT_FDCWD, "/root/.dpkg.cfg", O_RDONLY) = -1 ENOENT (No such file or directory) getuid() = 0 setgid(0) = 0 getuid() = 0 geteuid() = 0 access("/var/lib/dpkg", W_OK) = 0 openat(AT_FDCWD, "/var/lib/dpkg/lock-frontend", O_RDWR|O_CREAT|O_TRUNC, 0660) = 3 openat(AT_FDCWD, "/var/lib/dpkg/lock", O_RDWR|O_CREAT|O_TRUNC, 0660) = 4 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fcntl(3, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fcntl(4, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 openat(AT_FDCWD, "/var/lib/dpkg/arch", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=11, ...}) = 0 read(5, "amd64\ni386\n", 512) = 11 read(5, "", 512) = 0 close(5) = 0 openat(AT_FDCWD, "/var/lib/dpkg/status", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=592504, ...}) = 0 mmap(NULL, 593920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc5d0a20000 read(5, "Package: adduser\nStatus: install"..., 592504) = 592504 brk(0x7fffe004e000) = 0x7fffe004e000 brk(0x7fffe006f000) = 0x7fffe006f000 brk(0x7fffe0091000) = 0x7fffe0091000 brk(0x7fffe00b3000) = 0x7fffe00b3000 brk(0x7fffe00d5000) = 0x7fffe00d5000 brk(0x7fffe00f7000) = 0x7fffe00f7000 brk(0x7fffe0119000) = 0x7fffe0119000 brk(0x7fffe013b000) = 0x7fffe013b000 brk(0x7fffe015d000) = 0x7fffe015d000 brk(0x7fffe017f000) = 0x7fffe017f000 brk(0x7fffe01a1000) = 0x7fffe01a1000 brk(0x7fffe01c3000) = 0x7fffe01c3000 brk(0x7fffe01e5000) = 0x7fffe01e5000 close(5) = 0 munmap(0x7fc5d0a20000, 593920) = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 fstat(5, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 getdents64(5, /* 2 entries */, 32768) = 48 getdents64(5, /* 0 entries */, 32768) = 0 close(5) = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/tmp.i", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5 fcntl(5, F_GETFD) = 0 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 write(5, "#padding\n#padding\n#padding\n#padd"..., 512) = 512 write(5, "\n#padding\n#padding\n#padding\n#pad"..., 512) = 512 write(5, "g\n#padding\n#padding\n#padding\n#pa"..., 512) = 512 write(5, "ng\n#padding\n#padding\n#padding\n#p"..., 512) = 512 write(5, "ing\n#padding\n#padding\n#padding\n#"..., 512) = 512 write(5, "ding\n#padding\n#padding\n#padding\n"..., 512) = 512 write(5, "dding\n#padding\n#padding\n#padding"..., 512) = 512 write(5, "adding\n#padding\n#padding\n#paddin"..., 512) = 512 write(5, "padding\n#padding\n#padding\n#paddi"..., 512) = 512 lseek(5, 0, SEEK_SET) = 0 openat(AT_FDCWD, "/var/lib/dpkg/triggers/File", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0644, st_size=1370, ...}) = 0 read(6, "/etc/dbus-1/system.d dbus/noawai"..., 512) = 512 read(6, "/mime/packages mime-support/noaw"..., 512) = 512 read(6, "10.0/loaders libgdk-pixbuf2.0-0:"..., 512) = 346 read(6, "", 512) = 0 close(6) = 0 openat(AT_FDCWD, "/var/lib/dpkg/triggers/Lock", O_RDWR|O_CREAT|O_TRUNC, 0600) = 6 fcntl(6, F_GETFD) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fcntl(6, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 openat(AT_FDCWD, "/var/lib/dpkg/triggers/Unincorp", O_RDONLY) = 7 fcntl(7, F_GETFD) = 0 fcntl(7, F_SETFD, FD_CLOEXEC) = 0 fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 fcntl(6, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 stat("/usr/local/sbin/sh", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/sh", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/sbin/sh", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/bin/sh", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/sbin/sh", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=121464, ...}) = 0 stat("/usr/local/sbin/rm", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/rm", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/sbin/rm", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/bin/rm", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/sbin/rm", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/bin/rm", {st_mode=S_IFREG|0755, st_size=68416, ...}) = 0 stat("/usr/local/sbin/tar", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/tar", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/sbin/tar", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/bin/tar", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/sbin/tar", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/bin/tar", {st_mode=S_IFREG|0755, st_size=441464, ...}) = 0 stat("/usr/local/sbin/diff", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/diff", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/sbin/diff", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/bin/diff", {st_mode=S_IFREG|0755, st_size=220448, ...}) = 0 stat("/usr/local/sbin/dpkg-deb", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/dpkg-deb", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/sbin/dpkg-deb", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/bin/dpkg-deb", {st_mode=S_IFREG|0755, st_size=166280, ...}) = 0 stat("/usr/local/sbin/ldconfig", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/ldconfig", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/sbin/ldconfig", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/bin/ldconfig", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/sbin/ldconfig", {st_mode=S_IFREG|0755, st_size=909096, ...}) = 0 stat("/usr/local/sbin/start-stop-daemon", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/start-stop-daemon", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/sbin/start-stop-daemon", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/usr/bin/start-stop-daemon", 0x7fffe70f5900) = -1 ENOENT (No such file or directory) stat("/sbin/start-stop-daemon", {st_mode=S_IFREG|0755, st_size=44200, ...}) = 0 openat(AT_FDCWD, "/var/lib/dpkg/info/format", O_RDONLY) = 8 fstat(8, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0 read(8, "1\n", 512) = 2 close(8) = 0 stat("/var/lib/dpkg/info/format-new", 0x7fffe70f5860) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/var/log/dpkg.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 8 lseek(8, 0, SEEK_END) = 518146 fcntl(8, F_GETFD) = 0 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 time([1552698653 /* 2019-03-15T21:10:53-0400 */]) = 1552698653 (2019-03-15T21:10:53-0400) openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 9 fstat(9, {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0 fstat(9, {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0 read(9, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\2\0\0\0\0"..., 512) = 512 lseek(9, -124, SEEK_CUR) = 388 read(9, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\2\0\0\0\0"..., 512) = 512 read(9, "z\236\205p\0\0\0\0{\330<\0\0\0\0|~gp\0\0\0\0}\270\36\0\0\0\0"..., 512) = 172 close(9) = 0 fstat(8, {st_mode=S_IFREG|0644, st_size=518146, ...}) = 0 write(8, "2019-03-15 21:10:53 startup pack"..., 47) = 47 openat(AT_FDCWD, "/var/lib/dpkg/diversions", O_RDONLY) = 9 fcntl(9, F_GETFD) = 0 fcntl(9, F_SETFD, FD_CLOEXEC) = 0 fstat(9, {st_mode=S_IFREG|0644, st_size=268, ...}) = 0 fstat(9, {st_mode=S_IFREG|0644, st_size=268, ...}) = 0 read(9, "/usr/share/man/man1/sh.1.gz\n/usr"..., 512) = 268 read(9, "", 512) = 0 write(1, "Setting up qemu-user-static (1:3"..., 47Setting up qemu-user-static (1:3.1+dfsg-4) ... ) = 47 time([1552698653 /* 2019-03-15T21:10:53-0400 */]) = 1552698653 (2019-03-15T21:10:53-0400) stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0 write(8, "2019-03-15 21:10:53 configure qe"..., 73) = 73 openat(AT_FDCWD, "/var/lib/dpkg/info/qemu-user-static.triggers", O_RDONLY) = -1 ENOENT (No such file or directory) time([1552698653 /* 2019-03-15T21:10:53-0400 */]) = 1552698653 (2019-03-15T21:10:53-0400) stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0 write(8, "2019-03-15 21:10:53 status half-"..., 79) = 79 write(5, "Package: qemu-user-static\nStatus"..., 1024) = 1024 write(5, " foreign binaries\n directly.\nBui"..., 180) = 180 ftruncate(5, 1204) = 0 fsync(5) = 0 close(5) = 0 rename("/var/lib/dpkg/updates/tmp.i", "/var/lib/dpkg/updates/0000") = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 fstat(5, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 brk(0x7fffe0208000) = 0x7fffe0208000 fsync(5) = 0 close(5) = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/tmp.i", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5 fcntl(5, F_GETFD) = 0 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 write(5, "#padding\n#padding\n#padding\n#padd"..., 512) = 512 write(5, "\n#padding\n#padding\n#padding\n#pad"..., 512) = 512 write(5, "g\n#padding\n#padding\n#padding\n#pa"..., 512) = 512 write(5, "ng\n#padding\n#padding\n#padding\n#p"..., 512) = 512 write(5, "ing\n#padding\n#padding\n#padding\n#"..., 512) = 512 write(5, "ding\n#padding\n#padding\n#padding\n"..., 512) = 512 write(5, "dding\n#padding\n#padding\n#padding"..., 512) = 512 write(5, "adding\n#padding\n#padding\n#paddin"..., 512) = 512 write(5, "padding\n#padding\n#padding\n#paddi"..., 512) = 512 lseek(5, 0, SEEK_SET) = 0 stat("/var/lib/dpkg/info/qemu-user-static.postinst", {st_mode=S_IFREG|0755, st_size=7722, ...}) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc5d0ac1650) = 5785 rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fc5d0bb7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f4c39c97940}, 8) = 0 rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fc5d0bb7940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f4c39c97940}, 8) = 0 wait4(5785, update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: Invalid argument update-binfmts: warning: unable to enable binary format qemu-aarch64 update-binfmts: exiting due to previous errors [{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0, NULL) = 5785 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5785, si_uid=0, si_status=2, si_utime=0, si_stime=0} --- ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 write(2, "\33[1mdpkg:\33[0m error processing p"..., 172dpkg: error processing package qemu-user-static (--configure): installed qemu-user-static package post-installation script subprocess returned error exit status 2 ) = 172 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fc5d0bb7940}, NULL, 8) = 0 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7fc5d0bb7940}, NULL, 8) = 0 openat(AT_FDCWD, "/var/lib/dpkg/diversions", O_RDONLY) = 10 fcntl(10, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 fstat(10, {st_mode=S_IFREG|0644, st_size=268, ...}) = 0 close(10) = 0 fcntl(6, F_GETFD) = 0x1 (flags FD_CLOEXEC) fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fcntl(6, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 close(7) = 0 openat(AT_FDCWD, "/var/lib/dpkg/triggers/Unincorp", O_RDONLY) = 7 fcntl(7, F_GETFD) = 0 fcntl(7, F_SETFD, FD_CLOEXEC) = 0 fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 fcntl(6, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 openat(AT_FDCWD, "/var/lib/dpkg/status-new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 fchmod(10, 0644) = 0 sysinfo({uptime=10750, loads=[33984, 37856, 38400], totalram=25720369152, freeram=12056121344, sharedram=0, bufferram=0, totalswap=31761747968, freeswap=31582445568, procs=15, totalhigh=142548992, freehigh=278528, mem_unit=1}) = 0 write(10, "Package: adduser\nStatus: install"..., 8192) = 8192 write(10, "ty: required\nSection: admin\nInst"..., 8192) = 8192 write(10, "ner: Sergei Golovan <sgolovan@de"..., 8192) = 8192 write(10, "tify4, libnss3 (>= 2:3.26), gnup"..., 8192) = 8192 write(10, "ompliant shell\n The Debian Almqu"..., 8192) = 8192 write(10, "ction: misc\nInstalled-Size: 141\n"..., 8192) = 8192 write(10, " amd64\nVersion: 2.1.9-1\nDepends:"..., 8192) = 8192 write(10, " exim4-config-2, hula-mta, masqm"..., 8192) = 8192 write(10, "ont@debian.org>\nArchitecture: am"..., 8192) = 8192 write(10, "g/\n\nPackage: fonts-dejavu-extra\n"..., 8192) = 8192 write(10, "Package: gir1.2-glib-2.0\nStatus:"..., 8192) = 8192 write(10, " of Adwaita, the standard GNOME "..., 8192) = 8192 write(10, " protocol.\n .\n A Web Key Service"..., 8192) = 8192 write(10, "collection of GSettings schemas "..., 8192) = 8192 write(10, ": foreign\nVersion: 8:6.9.10.23+d"..., 8192) = 8192 write(10, "c0c53634c4667fe22\n /etc/init.d/s"..., 8192) = 8192 write(10, ".alioth.debian.org>\nArchitecture"..., 8192) = 8192 write(10, "pha+20120614), libstdc++6 (>= 5."..., 8192) = 8192 write(10, "libatk1.0-data (>= 2.30.0-2)\nDes"..., 8192) = 8192 write(10, "tus: install ok installed\nPriori"..., 8192) = 8192 write(10, "gobject2\nStatus: install ok inst"..., 8192) = 8192 write(10, "libuuid1 (>= 2.16)\nDescription: "..., 8192) = 8192 write(10, "installed\nPriority: optional\nSec"..., 8192) = 8192 write(10, "cale::gettext\n - Dpkg::IPC: spa"..., 8192) = 8192 write(10, "tr\nVersion: 0.1.10-2.1\nDepends: "..., 8192) = 8192 write(10, "ners@lists.alioth.debian.org>\nAr"..., 8192) = 8192 write(10, "ement.\nHomepage: http://www.hboe"..., 8192) = 8192 write(10, "packages@qa.debian.org>\nArchitec"..., 8192) = 8192 write(10, " does not include the modules th"..., 8192) = 8192 write(10, " source file into a font using\n "..., 8192) = 8192 write(10, "on: common files for the GTK+ gr"..., 8192) = 8192 write(10, " libstdc++6 (>= 5.2)\nDescription"..., 8192) = 8192 write(10, "bounded by linear constraints\n i"..., 8192) = 8192 write(10, "ON data types.\n .\n This package "..., 8192) = 8192 write(10, "ed library.\nHomepage: http://fal"..., 8192) = 8192 write(10, " in other processes. Used by\n lt"..., 8192) = 8192 write(10, "ze: 2365\nMaintainer: Jordi Malla"..., 8192) = 8192 write(10, "with correct rounding. The comp"..., 8192) = 8192 write(10, "ibrary for netfilter related\n ke"..., 8192) = 8192 write(10, " software distribution. New"..., 8192) = 8192 write(10, "ndering of scalable fonts using "..., 8192) = 8192 write(10, "compat4 (>= 1.16), libgdbm6 (>= "..., 8192) = 8192 write(10, "hen\n linked to libpthread, while"..., 8192) = 8192 write(10, "nteractive, object-oriented lang"..., 8192) = 8192 write(10, "C's\n iPlayer high quality stream"..., 8192) = 8192 write(10, "ty: optional\nSection: utils\nInst"..., 8192) = 8192 write(10, "bian GNOME Maintainers <pkg-gnom"..., 8192) = 8192 write(10, "ntains an additional runtime lib"..., 8192) = 8192 write(10, ".\n This package contains the sha"..., 8192) = 8192 write(10, "ithin the space\n of all such ide"..., 8192) = 8192 write(10, " libx11.\n .\n More information ab"..., 8192) = 8192 write(10, "dow System protocol,\n designed t"..., 8192) = 8192 write(10, "nds: libc6 (>= 2.4), libx11-6 (>"..., 8192) = 8192 write(10, "eated as belonging together, and"..., 8192) = 8192 write(10, "bxslt is a C library which\n impl"..., 8192) = 8192 write(10, "d-packaging@lists.alioth.debian."..., 8192) = 8192 write(10, "tecture available in Debian. Ex"..., 8192) = 8192 write(10, "dard\nSection: net\nInstalled-Size"..., 8192) = 8192 write(10, "ks: bash-static (<< 4.4.18-1.1),"..., 8192) = 8192 write(10, "09c50033f825eff7fc70419aaf30317\n"..., 8192) = 8192 write(10, "olkit-gobject-1-0 (>= 0.99), lib"..., 8192) = 8192 write(10, " libfile-path-perl (<< 2.15), li"..., 8192) = 8192 write(10, "fonts-ipafont-mincho, fonts-japa"..., 8192) = 8192 write(10, "such as:\n .\n - Access to the AP"..., 8192) = 8192 write(10, "hon3 (<< 3.8), python3 (>= 3.6~)"..., 8192) = 8192 write(10, "upported by GNOME Keyring\n (>= 2"..., 8192) = 8192 write(10, "gramming, system administration,"..., 8192) = 8192 write(10, "python3-software-properties (<< "..., 8192) = 8192 write(10, "erv (>> 1.12.0-10), startpar, sy"..., 8192) = 8192 write(10, "nds: systemd-sysv | cron | cron-"..., 8192) = 8192 write(10, "rsion: 0.52.20-8\nDepends: libc6 "..., 8192) = 8192 write(10, "< 2018.3), x11proto-xcmisc-dev ("..., 8192) = 8192 write(10, "od found\n in gzip and PKZIP. Th"..., 2680) = 2680 fsync(10) = 0 close(10) = 0 unlink("/var/lib/dpkg/status-old") = 0 link("/var/lib/dpkg/status", "/var/lib/dpkg/status-old") = 0 rename("/var/lib/dpkg/status-new", "/var/lib/dpkg/status") = 0 openat(AT_FDCWD, "/var/lib/dpkg", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 10 fstat(10, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 fsync(10) = 0 close(10) = 0 unlink("/var/lib/dpkg/updates/0000") = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 10 fstat(10, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 fsync(10) = 0 close(10) = 0 close(5) = 0 unlink("/var/lib/dpkg/updates/tmp.i") = 0 fcntl(4, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 write(2, "Errors were encountered while pr"..., 42Errors were encountered while processing: ) = 42 write(2, " qemu-user-static\n", 18 qemu-user-static ) = 18 exit_group(1) = ? +++ exited with 1 +++ root@DESKTOP-150NBLM:/proc/sys/fs/binfmt_misc# strace dpkg --configure -a > dpkgconfigurestrace.txt bash: dpkgconfigurestrace.txt: Operation not permitted root@DESKTOP-150NBLM:/proc/sys/fs/binfmt_misc# strace dpkg --configure -a > dpkgconfigurestrace.out bash: dpkgconfigurestrace.out: Operation not permitted root@DESKTOP-150NBLM:/proc/sys/fs/binfmt_misc# strace dpkg --configure -a | more execve("/usr/bin/dpkg", ["dpkg", "--configure", "-a"], 0x7ffff08d0020 /* 22 vars */) = 0 brk(NULL) = 0x7fffb9db8000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=48175, ...}) = 0 mmap(NULL, 48175, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f11eba04000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@k\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=155296, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11eba00000 mmap(NULL, 2259632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f11eb7d0000 mprotect(0x7f11eb7f5000, 2093056, PROT_NONE) = 0 mmap(0x7f11eb9f4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f11eb9f4000 mmap(0x7f11eb9f6000, 6832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f11eb9f6000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260A\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1824496, ...}) = 0 mmap(NULL, 1837056, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f11eb600000 mprotect(0x7f11eb622000, 1658880, PROT_NONE) = 0 mmap(0x7f11eb622000, 1343488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f11eb622000 mmap(0x7f11eb76a000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16a000) = 0x7f11eb76a000 mmap(0x7f11eb7b7000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7f11eb7b7000 mmap(0x7f11eb7bd000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f11eb7bd000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=468944, ...}) = 0 mmap(NULL, 471304, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f11eb580000 mmap(0x7f11eb582000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f11eb582000 mmap(0x7f11eb5d4000, 122880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x54000) = 0x7f11eb5d4000 mmap(0x7f11eb5f2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x71000) = 0x7f11eb5f2000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\21\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=14592, ...}) = 0 mmap(NULL, 16656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f11eb570000 mmap(0x7f11eb571000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f11eb571000 mmap(0x7f11eb572000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f11eb572000 mmap(0x7f11eb573000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f11eb573000 close(3) = 0 openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@l\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=146968, ...}) = 0 mmap(NULL, 132288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f11eb54f000 mmap(0x7f11eb555000, 61440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f11eb555000 mmap(0x7f11eb564000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f11eb564000 mmap(0x7f11eb56a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a000) = 0x7f11eb56a000 mmap(0x7f11eb56c000, 13504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f11eb56c000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11eb540000 arch_prctl(ARCH_SET_FS, 0x7f11eb541380) = 0 mprotect(0x7f11eb7b7000, 16384, PROT_READ) = 0 mprotect(0x7f11eb56a000, 4096, PROT_READ) = 0 mprotect(0x7f11eb573000, 4096, PROT_READ) = 0 mprotect(0x7f11eb5f2000, 4096, PROT_READ) = 0 mprotect(0x7f11eb9f4000, 4096, PROT_READ) = 0 mprotect(0x7f11eba83000, 12288, PROT_READ) = 0 mprotect(0x7f11eba37000, 4096, PROT_READ) = 0 munmap(0x7f11eba04000, 48175) = 0 set_tid_address(0x7f11eb541650) = 5794 set_robust_list(0x7f11eb541660, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f11eb5556b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f11eb561730}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f11eb555740, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f11eb561730}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 statfs("/sys/fs/selinux", 0x7fffc1decdb0) = -1 ENOENT (No such file or directory) statfs("/selinux", 0x7fffc1decdb0) = -1 ENOENT (No such file or directory) brk(NULL) = 0x7fffb9db8000 brk(0x7fffb9dd9000) = 0x7fffb9dd9000 openat(AT_FDCWD, "/proc/filesystems", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 4096) = 312 read(3, "", 4096) = 0 close(3) = 0 access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory) ioctl(1, TCGETS, 0x7fffc1decd50) = -1 ENOTTY (Inappropriate ioctl for device) umask(022) = 022 openat(AT_FDCWD, "/etc/dpkg/dpkg.cfg.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 fstat(3, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 getdents64(3, /* 2 entries */, 32768) = 48 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 openat(AT_FDCWD, "/etc/dpkg/dpkg.cfg", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=446, ...}) = 0 read(3, "# dpkg configuration file\n#\n# Th"..., 512) = 446 read(3, "", 512) = 0 close(3) = 0 openat(AT_FDCWD, "/root/.dpkg.cfg", O_RDONLY) = -1 ENOENT (No such file or directory) getuid() = 0 setgid(0) = 0 getuid() = 0 geteuid() = 0 access("/var/lib/dpkg", W_OK) = 0 openat(AT_FDCWD, "/var/lib/dpkg/lock-frontend", O_RDWR|O_CREAT|O_TRUNC, 0660) = 3 openat(AT_FDCWD, "/var/lib/dpkg/lock", O_RDWR|O_CREAT|O_TRUNC, 0660) = 4 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fcntl(3, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fcntl(4, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 openat(AT_FDCWD, "/var/lib/dpkg/arch", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=11, ...}) = 0 read(5, "amd64\ni386\n", 512) = 11 read(5, "", 512) = 0 close(5) = 0 openat(AT_FDCWD, "/var/lib/dpkg/status", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=592504, ...}) = 0 mmap(NULL, 593920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11eb4a0000 read(5, "Package: adduser\nStatus: install"..., 592504) = 592504 brk(0x7fffb9dfb000) = 0x7fffb9dfb000 brk(0x7fffb9e1c000) = 0x7fffb9e1c000 brk(0x7fffb9e3e000) = 0x7fffb9e3e000 brk(0x7fffb9e60000) = 0x7fffb9e60000 brk(0x7fffb9e82000) = 0x7fffb9e82000 brk(0x7fffb9ea4000) = 0x7fffb9ea4000 brk(0x7fffb9ec6000) = 0x7fffb9ec6000 brk(0x7fffb9ee8000) = 0x7fffb9ee8000 brk(0x7fffb9f0a000) = 0x7fffb9f0a000 brk(0x7fffb9f2c000) = 0x7fffb9f2c000 brk(0x7fffb9f4e000) = 0x7fffb9f4e000 brk(0x7fffb9f70000) = 0x7fffb9f70000 brk(0x7fffb9f92000) = 0x7fffb9f92000 close(5) = 0 munmap(0x7f11eb4a0000, 593920) = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 fstat(5, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 getdents64(5, /* 2 entries */, 32768) = 48 getdents64(5, /* 0 entries */, 32768) = 0 close(5) = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/tmp.i", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5 fcntl(5, F_GETFD) = 0 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 write(5, "#padding\n#padding\n#padding\n#padd"..., 512) = 512 write(5, "\n#padding\n#padding\n#padding\n#pad"..., 512) = 512 write(5, "g\n#padding\n#padding\n#padding\n#pa"..., 512) = 512 write(5, "ng\n#padding\n#padding\n#padding\n#p"..., 512) = 512 write(5, "ing\n#padding\n#padding\n#padding\n#"..., 512) = 512 write(5, "ding\n#padding\n#padding\n#padding\n"..., 512) = 512 write(5, "dding\n#padding\n#padding\n#padding"..., 512) = 512 write(5, "adding\n#padding\n#padding\n#paddin"..., 512) = 512 write(5, "padding\n#padding\n#padding\n#paddi"..., 512) = 512 lseek(5, 0, SEEK_SET) = 0 openat(AT_FDCWD, "/var/lib/dpkg/triggers/File", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0644, st_size=1370, ...}) = 0 read(6, "/etc/dbus-1/system.d dbus/noawai"..., 512) = 512 read(6, "/mime/packages mime-support/noaw"..., 512) = 512 read(6, "10.0/loaders libgdk-pixbuf2.0-0:"..., 512) = 346 read(6, "", 512) = 0 close(6) = 0 openat(AT_FDCWD, "/var/lib/dpkg/triggers/Lock", O_RDWR|O_CREAT|O_TRUNC, 0600) = 6 fcntl(6, F_GETFD) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fcntl(6, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 openat(AT_FDCWD, "/var/lib/dpkg/triggers/Unincorp", O_RDONLY) = 7 fcntl(7, F_GETFD) = 0 fcntl(7, F_SETFD, FD_CLOEXEC) = 0 fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 fcntl(6, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 stat("/usr/local/sbin/sh", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/sh", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/sh", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/bin/sh", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/sbin/sh", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/bin/sh", {st_mode=S_IFREG|0755, st_size=121464, ...}) = 0 stat("/usr/local/sbin/rm", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/rm", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/rm", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/bin/rm", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/sbin/rm", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/bin/rm", {st_mode=S_IFREG|0755, st_size=68416, ...}) = 0 stat("/usr/local/sbin/tar", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/tar", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/tar", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/bin/tar", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/sbin/tar", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/bin/tar", {st_mode=S_IFREG|0755, st_size=441464, ...}) = 0 stat("/usr/local/sbin/diff", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/diff", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/diff", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/bin/diff", {st_mode=S_IFREG|0755, st_size=220448, ...}) = 0 stat("/usr/local/sbin/dpkg-deb", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/dpkg-deb", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/dpkg-deb", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/bin/dpkg-deb", {st_mode=S_IFREG|0755, st_size=166280, ...}) = 0 stat("/usr/local/sbin/ldconfig", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/ldconfig", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/ldconfig", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/bin/ldconfig", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/sbin/ldconfig", {st_mode=S_IFREG|0755, st_size=909096, ...}) = 0 stat("/usr/local/sbin/start-stop-daemon", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/start-stop-daemon", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/sbin/start-stop-daemon", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/usr/bin/start-stop-daemon", 0x7fffc1decce0) = -1 ENOENT (No such file or directory) stat("/sbin/start-stop-daemon", {st_mode=S_IFREG|0755, st_size=44200, ...}) = 0 openat(AT_FDCWD, "/var/lib/dpkg/info/format", O_RDONLY) = 8 fstat(8, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0 read(8, "1\n", 512) = 2 close(8) = 0 stat("/var/lib/dpkg/info/format-new", 0x7fffc1decc40) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/var/log/dpkg.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 8 lseek(8, 0, SEEK_END) = 518345 fcntl(8, F_GETFD) = 0 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 time([1552698749 /* 2019-03-15T21:12:29-0400 */]) = 1552698749 (2019-03-15T21:12:29-0400) openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 9 fstat(9, {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0 fstat(9, {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0 read(9, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\2\0\0\0\0"..., 512) = 512 lseek(9, -124, SEEK_CUR) = 388 read(9, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\2\0\0\0\0"..., 512) = 512 read(9, "z\236\205p\0\0\0\0{\330<\0\0\0\0|~gp\0\0\0\0}\270\36\0\0\0\0"..., 512) = 172 close(9) = 0 fstat(8, {st_mode=S_IFREG|0644, st_size=518345, ...}) = 0 write(8, "2019-03-15 21:12:29 startup pack"..., 47) = 47 openat(AT_FDCWD, "/var/lib/dpkg/diversions", O_RDONLY) = 9 fcntl(9, F_GETFD) = 0 fcntl(9, F_SETFD, FD_CLOEXEC) = 0 fstat(9, {st_mode=S_IFREG|0644, st_size=268, ...}) = 0 fstat(9, {st_mode=S_IFREG|0644, st_size=268, ...}) = 0 read(9, "/usr/share/man/man1/sh.1.gz\n/usr"..., 512) = 268 read(9, "", 512) = 0 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 write(1, "Setting up qemu-user-static (1:3"..., 47) = 47 Setting up qemu-user-static (1:3.1+dfsg-4) ... time([1552698749 /* 2019-03-15T21:12:29-0400 */]) = 1552698749 (2019-03-15T21:12:29-0400) stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0 write(8, "2019-03-15 21:12:29 configure qe"..., 73) = 73 openat(AT_FDCWD, "/var/lib/dpkg/info/qemu-user-static.triggers", O_RDONLY) = -1 ENOENT (No such file or directory) time([1552698749 /* 2019-03-15T21:12:29-0400 */]) = 1552698749 (2019-03-15T21:12:29-0400) stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0 write(8, "2019-03-15 21:12:29 status half-"..., 79) = 79 write(5, "Package: qemu-user-static\nStatus"..., 1024) = 1024 write(5, " foreign binaries\n directly.\nBui"..., 180) = 180 ftruncate(5, 1204) = 0 fsync(5) = 0 close(5) = 0 rename("/var/lib/dpkg/updates/tmp.i", "/var/lib/dpkg/updates/0000") = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 fstat(5, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 brk(0x7fffb9fb6000) = 0x7fffb9fb6000 fsync(5) = 0 close(5) = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/tmp.i", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5 fcntl(5, F_GETFD) = 0 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 write(5, "#padding\n#padding\n#padding\n#padd"..., 512) = 512 write(5, "\n#padding\n#padding\n#padding\n#pad"..., 512) = 512 write(5, "g\n#padding\n#padding\n#padding\n#pa"..., 512) = 512 write(5, "ng\n#padding\n#padding\n#padding\n#p"..., 512) = 512 write(5, "ing\n#padding\n#padding\n#padding\n#"..., 512) = 512 write(5, "ding\n#padding\n#padding\n#padding\n"..., 512) = 512 write(5, "dding\n#padding\n#padding\n#padding"..., 512) = 512 write(5, "adding\n#padding\n#padding\n#paddin"..., 512) = 512 write(5, "padding\n#padding\n#padding\n#paddi"..., 512) = 512 lseek(5, 0, SEEK_SET) = 0 stat("/var/lib/dpkg/info/qemu-user-static.postinst", {st_mode=S_IFREG|0755, st_size=7722, ...}) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f11eb541650) = 5795 rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f11eb637940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f4c39c97940}, 8) = 0 rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f11eb637940}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f4c39c97940}, 8) = 0 wait4(5795, update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: Invalid argument update-binfmts: warning: unable to enable binary format qemu-aarch64 update-binfmts: exiting due to previous errors [{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0, NULL) = 5795 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5795, si_uid=0, si_status=2, si_utime=0, si_stime=0} --- ioctl(1, TCGETS, 0x7fffc1dec980) = -1 ENOTTY (Inappropriate ioctl for device) write(2, "dpkg: error processing package q"..., 164dpkg: error processing package qemu-user-static (--configure): installed qemu-user-static package post-installation script subprocess returned error exit status 2 ) = 164 rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f11eb637940}, NULL, 8) = 0 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f11eb637940}, NULL, 8) = 0 openat(AT_FDCWD, "/var/lib/dpkg/diversions", O_RDONLY) = 10 fcntl(10, F_GETFD) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 fstat(10, {st_mode=S_IFREG|0644, st_size=268, ...}) = 0 close(10) = 0 fcntl(6, F_GETFD) = 0x1 (flags FD_CLOEXEC) fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fcntl(6, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 close(7) = 0 openat(AT_FDCWD, "/var/lib/dpkg/triggers/Unincorp", O_RDONLY) = 7 fcntl(7, F_GETFD) = 0 fcntl(7, F_SETFD, FD_CLOEXEC) = 0 fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 fcntl(6, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 openat(AT_FDCWD, "/var/lib/dpkg/status-new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10 fchmod(10, 0644) = 0 sysinfo({uptime=10846, loads=[33984, 37856, 38400], totalram=25720369152, freeram=12118630400, sharedram=0, bufferram=0, totalswap=31761747968, freeswap=31582445568, procs=16, totalhigh=142548992, freehigh=278528, mem_unit=1}) = 0 write(10, "Package: adduser\nStatus: install"..., 8192) = 8192 write(10, "ty: required\nSection: admin\nInst"..., 8192) = 8192 write(10, "ner: Sergei Golovan <sgolovan@de"..., 8192) = 8192 write(10, "tify4, libnss3 (>= 2:3.26), gnup"..., 8192) = 8192 write(10, "ompliant shell\n The Debian Almqu"..., 8192) = 8192 write(10, "ction: misc\nInstalled-Size: 141\n"..., 8192) = 8192 write(10, " amd64\nVersion: 2.1.9-1\nDepends:"..., 8192) = 8192 write(10, " exim4-config-2, hula-mta, masqm"..., 8192) = 8192 write(10, "ont@debian.org>\nArchitecture: am"..., 8192) = 8192 write(10, "g/\n\nPackage: fonts-dejavu-extra\n"..., 8192) = 8192 write(10, "Package: gir1.2-glib-2.0\nStatus:"..., 8192) = 8192 write(10, " of Adwaita, the standard GNOME "..., 8192) = 8192 write(10, " protocol.\n .\n A Web Key Service"..., 8192) = 8192 write(10, "collection of GSettings schemas "..., 8192) = 8192 write(10, ": foreign\nVersion: 8:6.9.10.23+d"..., 8192) = 8192 write(10, "c0c53634c4667fe22\n /etc/init.d/s"..., 8192) = 8192 write(10, ".alioth.debian.org>\nArchitecture"..., 8192) = 8192 write(10, "pha+20120614), libstdc++6 (>= 5."..., 8192) = 8192 write(10, "libatk1.0-data (>= 2.30.0-2)\nDes"..., 8192) = 8192 write(10, "tus: install ok installed\nPriori"..., 8192) = 8192 write(10, "gobject2\nStatus: install ok inst"..., 8192) = 8192 write(10, "libuuid1 (>= 2.16)\nDescription: "..., 8192) = 8192 write(10, "installed\nPriority: optional\nSec"..., 8192) = 8192 write(10, "cale::gettext\n - Dpkg::IPC: spa"..., 8192) = 8192 write(10, "tr\nVersion: 0.1.10-2.1\nDepends: "..., 8192) = 8192 write(10, "ners@lists.alioth.debian.org>\nAr"..., 8192) = 8192 write(10, "ement.\nHomepage: http://www.hboe"..., 8192) = 8192 write(10, "packages@qa.debian.org>\nArchitec"..., 8192) = 8192 write(10, " does not include the modules th"..., 8192) = 8192 write(10, " source file into a font using\n "..., 8192) = 8192 write(10, "on: common files for the GTK+ gr"..., 8192) = 8192 write(10, " libstdc++6 (>= 5.2)\nDescription"..., 8192) = 8192 write(10, "bounded by linear constraints\n i"..., 8192) = 8192 write(10, "ON data types.\n .\n This package "..., 8192) = 8192 write(10, "ed library.\nHomepage: http://fal"..., 8192) = 8192 write(10, " in other processes. Used by\n lt"..., 8192) = 8192 write(10, "ze: 2365\nMaintainer: Jordi Malla"..., 8192) = 8192 write(10, "with correct rounding. The comp"..., 8192) = 8192 write(10, "ibrary for netfilter related\n ke"..., 8192) = 8192 write(10, " software distribution. New"..., 8192) = 8192 write(10, "ndering of scalable fonts using "..., 8192) = 8192 write(10, "compat4 (>= 1.16), libgdbm6 (>= "..., 8192) = 8192 write(10, "hen\n linked to libpthread, while"..., 8192) = 8192 write(10, "nteractive, object-oriented lang"..., 8192) = 8192 write(10, "C's\n iPlayer high quality stream"..., 8192) = 8192 write(10, "ty: optional\nSection: utils\nInst"..., 8192) = 8192 write(10, "bian GNOME Maintainers <pkg-gnom"..., 8192) = 8192 write(10, "ntains an additional runtime lib"..., 8192) = 8192 write(10, ".\n This package contains the sha"..., 8192) = 8192 write(10, "ithin the space\n of all such ide"..., 8192) = 8192 write(10, " libx11.\n .\n More information ab"..., 8192) = 8192 write(10, "dow System protocol,\n designed t"..., 8192) = 8192 write(10, "nds: libc6 (>= 2.4), libx11-6 (>"..., 8192) = 8192 write(10, "eated as belonging together, and"..., 8192) = 8192 write(10, "bxslt is a C library which\n impl"..., 8192) = 8192 write(10, "d-packaging@lists.alioth.debian."..., 8192) = 8192 write(10, "tecture available in Debian. Ex"..., 8192) = 8192 write(10, "dard\nSection: net\nInstalled-Size"..., 8192) = 8192 write(10, "ks: bash-static (<< 4.4.18-1.1),"..., 8192) = 8192 write(10, "09c50033f825eff7fc70419aaf30317\n"..., 8192) = 8192 write(10, "olkit-gobject-1-0 (>= 0.99), lib"..., 8192) = 8192 write(10, " libfile-path-perl (<< 2.15), li"..., 8192) = 8192 write(10, "fonts-ipafont-mincho, fonts-japa"..., 8192) = 8192 write(10, "such as:\n .\n - Access to the AP"..., 8192) = 8192 write(10, "hon3 (<< 3.8), python3 (>= 3.6~)"..., 8192) = 8192 write(10, "upported by GNOME Keyring\n (>= 2"..., 8192) = 8192 write(10, "gramming, system administration,"..., 8192) = 8192 write(10, "python3-software-properties (<< "..., 8192) = 8192 write(10, "erv (>> 1.12.0-10), startpar, sy"..., 8192) = 8192 write(10, "nds: systemd-sysv | cron | cron-"..., 8192) = 8192 write(10, "rsion: 0.52.20-8\nDepends: libc6 "..., 8192) = 8192 write(10, "< 2018.3), x11proto-xcmisc-dev ("..., 8192) = 8192 write(10, "od found\n in gzip and PKZIP. Th"..., 2680) = 2680 fsync(10) = 0 close(10) = 0 unlink("/var/lib/dpkg/status-old") = 0 link("/var/lib/dpkg/status", "/var/lib/dpkg/status-old") = 0 rename("/var/lib/dpkg/status-new", "/var/lib/dpkg/status") = 0 openat(AT_FDCWD, "/var/lib/dpkg", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 10 fstat(10, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 fsync(10) = 0 close(10) = 0 unlink("/var/lib/dpkg/updates/0000") = 0 openat(AT_FDCWD, "/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 10 fstat(10, {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 fsync(10) = 0 close(10) = 0 close(5) = 0 unlink("/var/lib/dpkg/updates/tmp.i") = 0 fcntl(4, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 write(2, "Errors were encountered while pr"..., 42Errors were encountered while processing: ) = 42 write(2, " qemu-user-static\n", 18 qemu-user-static ) = 18 exit_group(1) = ? +++ exited with 1 +++

@WSLUser WSLUser changed the title Unable install qemu-user-static Unable to install qemu-user-static Mar 27, 2019
@sirredbeard sirredbeard added the Triage We need to figure out what is going on here. label Mar 28, 2019
@WSLUser
Copy link
Author

WSLUser commented Apr 24, 2019

Any investigation to cause?

@crramirez
Copy link
Collaborator

Hello,

I followed this and it worked:

#273 (comment)

32bit support via qemu is in our roadmap

Regards

@WSLUser
Copy link
Author

WSLUser commented Apr 24, 2019

Ok, I'll give that a try. I was hoping to bring the feature to pengwin-setup but then came across the error and had to stop there since the few things I tried didn't work and I'm not exactly an expert with qemu or binfmt.

@seisdr
Copy link

seisdr commented Jul 31, 2020

why I can't run strace or anything that involves ptrace under qemu-user-staric

@glarty
Copy link

glarty commented Jan 19, 2021

Why I don't know, but ->
/var/lib/dpkg/info/qemu-user-static.postinst
Find ->
update-binfmts --package qemu-user-static --install qemu-$fmt /usr/bin/qemu-$fmt-static \
--magic "$magic" --mask "$mask" --offset 0 --credential yes --fix-binary yes
Replace with ->
update-binfmts --install $fmt /usr/bin/qemu-$fmt-static --magic "$magic" --mask "$mask"
No more errors for me.
Before this the script would create one file in \var\lib\binfmts, it had "yes" on 2 lines, something not right with the --credential and --fix-binary switches, just removing them didn't work though, got rid of --package *, qemu- prefix, --offset and then happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage We need to figure out what is going on here.
Projects
None yet
Development

No branches or pull requests

5 participants