Opened 15 months ago
Last modified 15 months ago
#21902 new defect
VBoxGuestAdditions.iso: Decompression failed
Reported by: | ccobb | Owned by: | |
---|---|---|---|
Component: | guest additions/x11/graphics | Version: | VirtualBox-7.0.12 |
Keywords: | VBoxGuestAdditions.iso Decompression failed | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
I created a VM for Oracle Linux 9.2.
# cat /etc/os-release NAME="Oracle Linux Server" VERSION="9.2" ID="ol" ID_LIKE="fedora" VARIANT="Server" VARIANT_ID="server" VERSION_ID="9.2" PLATFORM_ID="platform:el9" PRETTY_NAME="Oracle Linux Server 9.2" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:oracle:linux:9:2:server" HOME_URL="https://linux.oracle.com/" BUG_REPORT_URL="https://github.com/oracle/oracle-linux" ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9" ORACLE_BUGZILLA_PRODUCT_VERSION=9.2 ORACLE_SUPPORT_PRODUCT="Oracle Linux" ORACLE_SUPPORT_PRODUCT_VERSION=9.2
I got a decompression failed error when trying to install Guest Additions. The VBoxGuestAdditions.iso is mounted to /dev/sr0.
$ sha256sum VBoxGuestAdditions.iso b37f6aabe5a32e8b96ccca01f37fb49f4fd06674f1b29bc8fe0f423ead37b917 *VBoxGuestAdditions.iso
# mount /dev/sr0 /mnt/sr0 # cd /mnt/sr0 # ls -l -r--r--r--. 1 root root 1048 Jul 26 12:44 AUTORUN.INF -r-xr-xr-x. 1 root root 6848 Oct 12 12:56 autorun.sh* dr-xr-xr-x. 2 root root 1468 Oct 12 13:41 cert/ dr-xr-xr-x. 2 root root 1252 Oct 12 13:41 NT3x/ dr-xr-xr-x. 2 root root 2828 Oct 12 13:41 OS2/ -r-xr-xr-x. 1 root root 5096 Oct 12 12:56 runasroot.sh* -r--r--r--. 1 root root 592 Oct 12 13:41 TRANS.TBL -r--r--r--. 1 root root 2203724 Oct 12 13:00 VBoxDarwinAdditions.pkg -r-xr-xr-x. 1 root root 4224 Oct 12 13:00 VBoxDarwinAdditionsUninstall.tool* -r-xr-xr-x. 1 root root 6306248 Oct 12 12:56 VBoxLinuxAdditions.run* -r--r--r--. 1 root root 9405440 Oct 12 12:56 VBoxSolarisAdditions.pkg -r-xr-xr-x. 1 root root 15729536 Oct 12 13:41 VBoxWindowsAdditions-amd64.exe* -r-xr-xr-x. 1 root root 242272 Oct 12 12:57 VBoxWindowsAdditions.exe* -r-xr-xr-x. 1 root root 9232920 Oct 12 13:19 VBoxWindowsAdditions-x86.exe* -r--r--r--. 1 root root 261 Jul 26 12:44 windows11-bypass.reg
# ./VBoxLinuxAdditions.run Verifying archive integrity... 100% MD5 checksums are OK. All good. Uncompressing VirtualBox 7.0.12 Guest Additions for Linux ... Extraction failed. 0% ... **Decompression failed.** 100% Signal caught, cleaning up
# sha256sum VBoxLinuxAdditions.run 7ababe0666bf065264c15a9d0257d34452337e5c81fc1bb5f6ed60d8bda4f9d2 VBoxLinuxAdditions.run
# sh -x VBoxLinuxAdditions.run ++ umask + ORIG_UMASK=0077 + test n = n + umask 077 + CRCsum=3938453441 + MD5=5861318e2f5283d6af6cca722af2f7cd + SHA=0000000000000000000000000000000000000000000000000000000000000000 + SIGNATURE= + TMPROOT=/tmp + USER_PWD=/mnt/sr0 + export USER_PWD ++ dirname VBoxLinuxAdditions.run + ARCHIVE_DIR=. + export ARCHIVE_DIR + label='VirtualBox 7.0.12 Guest Additions for Linux' + script=/bin/sh + scriptargs='./install.sh VBoxLinuxAdditions.run' + cleanup_script= + licensetxt= + helpheader= + targetdir=install + filesizes=6287360 + totalsize=6287360 + keep=n + nooverwrite=n + quiet=n + accept=n + nodiskspace=n + export_conf=n + decrypt_cmd= + skip=717 + print_cmd_arg= + type printf + print_cmd=printf + test -d /usr/xpg4/bin + test -d /usr/sfw/bin + unset CDPATH + finish=true + xterm_loop= + noprogress=n + nox11=n + copy=none + ownership=n + verbose=n + cleanup=y + cleanupargs= + sig_key= + initargs= + true + case "$1" in + break + test xn = xy -a xn = xy ++ id -u + test xn = xy -a 0 -ne 0 + test xnone '!=' xphase2 + MS_PrintLicense + PAGER=more + test x '!=' x + case "$copy" in + test xn = xn + tty -s + : + test xinstall = x. + test xn = xy + tmpdir=/tmp/selfgz15653955 + dashp= + mkdir /tmp/selfgz15653955 ++ pwd + location=/mnt/sr0 + test x '!=' x1 + MS_Check VBoxLinuxAdditions.run + OLD_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin + MD5_ARG= ++ exec + MD5_PATH=/usr/bin/md5sum + test -x /usr/bin/md5sum + test -x /usr/bin/md5sum + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/bin ++ exec + SHA_PATH=/usr/bin/shasum + test -x /usr/bin/shasum + test xn = xn + MS_Printf 'Verifying archive integrity...' + printf 'Verifying archive integrity...' Verifying archive integrity...++ tr -d ' ' ++ wc -c ++ head -n 717 VBoxLinuxAdditions.run + offset=18888 ++ tr -d ' ' ++ wc -c ++ cat VBoxLinuxAdditions.run + fsize=6306248 ++ expr 6306248 - 18888 + test 6287360 -ne 6287360 + verb= + i=1 + for s in $filesizes ++ cut '-d ' -f1 ++ echo 3938453441 + crc=3938453441 + test -x /usr/bin/shasum ++ basename /usr/bin/shasum + test xshasum = xshasum + SHA_ARG='-a 256' ++ cut '-d ' -f1 ++ echo 0000000000000000000000000000000000000000000000000000000000000000 + sha=0000000000000000000000000000000000000000000000000000000000000000 + test x0000000000000000000000000000000000000000000000000000000000000000 = x0000000000000000000000000000000000000000000000000000000000000000 + test x = xy + test -x /usr/bin/md5sum ++ basename /usr/bin/md5sum + test xmd5sum = xdigest ++ cut '-d ' -f1 ++ echo 5861318e2f5283d6af6cca722af2f7cd + md5=5861318e2f5283d6af6cca722af2f7cd + test x5861318e2f5283d6af6cca722af2f7cd = x00000000000000000000000000000000 ++ cut -b-32 ++ eval '/usr/bin/md5sum ' +++ /usr/bin/md5sum ++ MS_dd_Progress VBoxLinuxAdditions.run 18888 6287360 ++ test xn = xy ++ file=VBoxLinuxAdditions.run ++ offset=18888 ++ length=6287360 ++ pos=0 ++ bsize=4194304 ++ test 4194304 -gt 6287360 +++ expr 6287360 / 4194304 ++ blocks=1 +++ expr 6287360 % 4194304 ++ bytes=2093056 ++ dd ibs=18888 skip=1 count=0 +++ expr 0 + 4194304 ++ pos=4194304 ++ MS_Printf ' 0%% ' ++ printf ' 0%% ' 0% ++ test 1 -gt 0 ++ test 4194304 -le 6287360 ++ dd bs=4194304 count=1 +++ expr 6287360 / 100 ++ pcent=62873 +++ expr 4194304 / 62873 ++ pcent=66 ++ test 66 -lt 100 ++ MS_Printf '\b\b\b\b\b\b\b' ++ printf '\b\b\b\b\b\b\b' ++ test 66 -lt 10 ++ MS_Printf ' 66%% ' ++ printf ' 66%% ' 66% +++ expr 4194304 + 4194304 ++ pos=8388608 ++ test 8388608 -le 6287360 ++ test 2093056 -gt 0 ++ dd bs=2093056 count=1 ++ MS_Printf '\b\b\b\b\b\b\b' ++ printf '\b\b\b\b\b\b\b' ++ MS_Printf ' 100%% ' ++ printf ' 100%% ' 100% + md5sum=5861318e2f5283d6af6cca722af2f7cd + test x5861318e2f5283d6af6cca722af2f7cd '!=' x5861318e2f5283d6af6cca722af2f7cd + test xn = xn + MS_Printf ' MD5 checksums are OK.' + printf ' MD5 checksums are OK.' MD5 checksums are OK.+ crc=0000000000 + verb=n + test x0000000000 = x0000000000 + test xn = xy ++ expr 1 + 1 + i=2 ++ expr 18888 + 6287360 + offset=6306248 + test xn = xn + echo ' All good.' All good. ++ tr -d ' ' ++ wc -c ++ head -n 717 VBoxLinuxAdditions.run + offset=18888 + test xn = xy + test xn = xn + test xn = xopenssl + MS_Printf 'Uncompressing VirtualBox 7.0.12 Guest Additions for Linux' + printf 'Uncompressing VirtualBox 7.0.12 Guest Additions for Linux' Uncompressing VirtualBox 7.0.12 Guest Additions for Linux+ res=3 + test xn = xn + trap MS_cleanup 1 2 3 15 + test xn = xn ++ MS_diskspace /tmp/selfgz15653955 ++ awk '{ if ($4 ~ /%/) {print $3} else {print $4} }' ++ tail -1 ++ df -kP /tmp/selfgz15653955 + leftspace=69713836 + test -n 69713836 + test 69713836 -lt 6140 + for s in $filesizes + cd /tmp/selfgz15653955 + umask 0077 + UnTAR xp + test xn = xn + MS_Decompress + tar xpvf - + test x '!=' x + eval cat ++ cat + MS_dd_Progress VBoxLinuxAdditions.run 18888 6287360 + test xn = xy + file=VBoxLinuxAdditions.run + offset=18888 + length=6287360 + pos=0 + bsize=4194304 + test 4194304 -gt 6287360 + echo ' ... Extraction failed.' ... Extraction failed. + kill -15 1565 ++ expr 6287360 / 4194304 + blocks=1 ++ expr 6287360 % 4194304 + bytes=2093056 + dd ibs=18888 skip=1 count=0 ++ expr 0 + 4194304 + pos=4194304 + MS_Printf ' 0%% ' + printf ' 0%% ' 0% + test 1 -gt 0 + test 4194304 -le 6287360 + dd bs=4194304 count=1 + test 141 -ne 0 + echo ' ... Decompression failed.' ... Decompression failed. ++ expr 6287360 / 100 + pcent=62873 ++ expr 4194304 / 62873 + pcent=66 + test 66 -lt 100 + MS_Printf '\b\b\b\b\b\b\b' + printf '\b\b\b\b\b\b\b' + test 66 -lt 10 + MS_Printf ' 66%% ' + printf ' 66%% ' 66% ++ expr 4194304 + 4194304 + pos=8388608 + test 8388608 -le 6287360 + test 2093056 -gt 0 + dd bs=2093056 count=1 + MS_Printf '\b\b\b\b\b\b\b' + printf '\b\b\b\b\b\b\b' + MS_Printf ' 100%% ' + printf ' 100%% ' 100% ++ MS_cleanup ++ echo 'Signal caught, cleaning up' Signal caught, cleaning up ++ MS_exec_cleanup ++ test xy = xy ++ test x '!=' x ++ cd /tmp ++ rm -rf /tmp/selfgz15653955 ++ eval true +++ true ++ exit 15
Change History (3)
comment:1 by , 15 months ago
comment:2 by , 15 months ago
For this installation, I chose "minimal installation." Everything else used the defaults.
comment:3 by , 15 months ago
The "Decompression failed" message means that "cat" failed. The "Extraction failed" message means that "tar" returned an error.
The output shows that "cat" returned exit status 141, which is an exit due to signal 13, SIGPIPE. Which usually means that the receiving end (tar) exited before reading all. Overall it looks like "tar" is there but doesn't work properly.
My guess is that for some reason things can't be written to the temp directory (you can see that the script creates a directory in /tmp to which things should get unpacked). Mysterious, because there is a free space check which comes out successful (GA needs ~6MB of space and you have over 6GB free there). No hints what exactly is going wrong, though.
Hi ccobb,
Do you see anything suspicious in guest system logs (dmesg, journalctl)? 7.0.12 Linux Additions installer works on my end (OL 9.2 guest as well).