Public bug reported:

Moving from Ubuntu 24.04 to 25.10, 7z extraction of executable archives
produced 0byte files and archive errors. Upon testing the file on
Windows, Ubuntu 24.04 and Manjaro, the file extracted successfully even
when using the same version of 7z reported by Ubuntu 25.10.

==========

Affected version of 7z:

==========

7-Zip 25.01 (x64) : Copyright (c) 1999-2025 Igor Pavlov : 2025-08-03
 64-bit locale=en_US.UTF-8 Threads:32 OPEN_MAX:1024, ASM

Error output from Ubuntu 25.10:

7z x gfx_win_101.8331.exe -o/home/administrator/test

7-Zip 25.01 (x64) : Copyright (c) 1999-2025 Igor Pavlov : 2025-08-03
 64-bit locale=en_US.UTF-8 Threads:32 OPEN_MAX:1024, ASM

Scanning the drive for archives:
1 file, 1295928376 bytes (1236 MiB)

Extracting archive: gfx_win_101.8331.exe
--       
Path = gfx_win_101.8331.exe
Type = PE
Physical Size = 1295928376
CPU = x64
64-bit = +
Characteristics = Executable LargeAddress
Created = 2025-07-28 09:26:23
Headers Size = 1024
Checksum = 1295978659
Image Size = 667648
Section Alignment = 4096
File Alignment = 512
Code Size = 314368
Initialized Data Size = 276992
Uninitialized Data Size = 0
Linker Version = 14.44
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = HighEntropyVA Relocated NX-Compatible GuardCF 
TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Virtual Address = 0x140000000
Comment = 
{

Data Directories: 16
{
index=0 name=EXPORT VA=0x62280 Size=52
index=1 name=IMPORT VA=0x622B4 Size=80
index=2 name=RESOURCE VA=0x79000 Size=164360
index=3 name=EXCEPTION VA=0x73000 Size=13152
index=4 name=SECURITY VA=0x4D3E1EC8 Size=11632
index=5 name=BASERELOC VA=0xA2000 Size=2460
index=6 name=DEBUG VA=0x5B908 Size=84
index=9 name=TLS VA=0x5BB00 Size=40
index=10 name=LOAD_CONFIG VA=0x53550 Size=320
index=12 name=IAT VA=0x4E000 Size=1328
index=13 name=DELAY_IMPORT VA=0x6121C Size=288
}
}
----
Path = [0]
Size = 1295324360
Packed Size = 1295324360
Virtual Size = 1295324360
Offset = 592384
--
Path = [0]
Type = Rar5
Physical Size = 1295324356
Tail Size = 4
Characteristics = Solid Locator QuickOpen:1295308583 Comment
Encrypted = -
Solid = +
Blocks = 1
Method = v6:256M:m5
Multivolume = -
Volumes = 1
Comment = 
{
Title=Intel(R) Graphics Driver Software

Setup="%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe"
-NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command
"$expected=[System.Numerics.BigInteger]::Parse('16386635959351132041868489301709860007919684935598609714299379717015182179351285');
$args = [Environment]::GetEnvironmentVariable('sfxcmd', 'Process'); $sum
= [System.Numerics.BigInteger]::Zero; Get-ChildItem . -Recurse -File |
ForEach-Object { $hash = Get-FileHash $_.FullName -Algorithm SHA256;
$sum += [System.Numerics.BigInteger]::Parse('00' + $hash.Hash,
[System.Globalization.NumberStyles]::HexNumber) }; if ($sum -eq
$expected) {$proc = Start-Process Installer.exe -ArgumentList $args
-Wait -PassThru; exit $proc.ExitCode} else { Add-Type -AssemblyName
System.Windows.Forms; $msg = \"The installation cannot start because the
file integrity check failed. The package appears to be corrupted or
modified. Please download the driver and try again. If the problem
persists, visit www.intel.com/support for assistance.\";
[System.Windows.Forms.MessageBox]::Show($msg,'Error',[System.Windows.Forms.MessageBoxButtons]::OK,[System.Windows.Forms.MessageBoxIcon]::Error)
}"

Overwrite=1

TempMode
SetupCode
}

ERROR: Unsupported Method : readme.txt

==========

Manjaro and Ubuntu 24.04 had no such issues:

==========

7z x gfx_win_101.8331.exe -o/home/solaris17/Onedrive/Downloads/Test
 ✔


7-Zip 25.01 (x64) : Copyright (c) 1999-2025 Igor Pavlov : 2025-08-03
 64-bit locale=en_US.UTF-8 Threads:32 OPEN_MAX:1024, ASM

Scanning the drive for archives:
1 file, 1295928376 bytes (1236 MiB)

Extracting archive: gfx_win_101.8331.exe
--       
Path = gfx_win_101.8331.exe
Type = PE
Physical Size = 1295928376
CPU = x64
64-bit = +
Characteristics = Executable LargeAddress
Created = 2025-07-28 03:26:23
Headers Size = 1024
Checksum = 1295978659
Image Size = 667648
Section Alignment = 4096
File Alignment = 512
Code Size = 314368
Initialized Data Size = 276992
Uninitialized Data Size = 0
Linker Version = 14.44
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = HighEntropyVA Relocated NX-Compatible GuardCF 
TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Virtual Address = 0x140000000
Comment = 
{

Data Directories: 16
{
index=0 name=EXPORT VA=0x62280 Size=52
index=1 name=IMPORT VA=0x622B4 Size=80
index=2 name=RESOURCE VA=0x79000 Size=164360
index=3 name=EXCEPTION VA=0x73000 Size=13152
index=4 name=SECURITY VA=0x4D3E1EC8 Size=11632
index=5 name=BASERELOC VA=0xA2000 Size=2460
index=6 name=DEBUG VA=0x5B908 Size=84
index=9 name=TLS VA=0x5BB00 Size=40
index=10 name=LOAD_CONFIG VA=0x53550 Size=320
index=12 name=IAT VA=0x4E000 Size=1328
index=13 name=DELAY_IMPORT VA=0x6121C Size=288
}
}
----
Path = [0]
Size = 1295324360
Packed Size = 1295324360
Virtual Size = 1295324360
Offset = 592384
--
Path = [0]
Type = Rar5
Physical Size = 1295324356
Tail Size = 4
Characteristics = Solid Locator QuickOpen:1295308583 Comment
Encrypted = -
Solid = +
Blocks = 1
Method = v6:256M:m5
Multivolume = -
Volumes = 1
Comment = 
{
Title=Intel(R) Graphics Driver Software

Setup="%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe"
-NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command
"$expected=[System.Numerics.BigInteger]::Parse('16386635959351132041868489301709860007919684935598609714299379717015182179351285');
$args = [Environment]::GetEnvironmentVariable('sfxcmd', 'Process'); $sum
= [System.Numerics.BigInteger]::Zero; Get-ChildItem . -Recurse -File |
ForEach-Object { $hash = Get-FileHash $_.FullName -Algorithm SHA256;
$sum += [System.Numerics.BigInteger]::Parse('00' + $hash.Hash,
[System.Globalization.NumberStyles]::HexNumber) }; if ($sum -eq
$expected) {$proc = Start-Process Installer.exe -ArgumentList $args
-Wait -PassThru; exit $proc.ExitCode} else { Add-Type -AssemblyName
System.Windows.Forms; $msg = \"The installation cannot start because the
file integrity check failed. The package appears to be corrupted or
modified. Please download the driver and try again. If the problem
persists, visit www.intel.com/support for assistance.\";
[System.Windows.Forms.MessageBox]::Show($msg,'Error',[System.Windows.Forms.MessageBoxButtons]::OK,[System.Windows.Forms.MessageBoxIcon]::Error)
}"

Overwrite=1

TempMode
SetupCode
}

Everything is Ok

Folders: 40
Files: 287
Size:       3253890915
Compressed: 1295928376

==========

Checking for support on both systems I found the following:

==========

Manjaro:

7z i | grep -i rar
 ✔  9s 

 0  ...F..................  Rar      rar r00       R a r ! 1A 07 00
 0  ...F..................  Rar5     rar r00       R a r ! 1A 07 01 00
 0   D     40301 Rar1
 0   D     40302 Rar2
 0   D     40303 Rar3
 0   D     40305 Rar5


==========

Ubuntu 25.10:

==========

7z i | grep -i rar
 0  ...F..................  Rar      rar r00       R a r ! 1A 07 00
 0  ...F..................  Rar5     rar r00       R a r ! 1A 07 01 00

ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: p7zip-full (not installed)
ProcVersionSignature: Ubuntu 6.17.0-8.8-generic 6.17.2
Uname: Linux 6.17.0-8-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Dec 30 22:34:39 2025
InstallationDate: Installed on 2025-12-27 (3 days ago)
InstallationMedia: Ubuntu-Server 25.10 "Questing Quokka" - Release amd64 
(20251007.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: p7zip
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: p7zip (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug questing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137285

Title:
  p7zip-full rar5 decoders disabled or not present

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/p7zip/+bug/2137285/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to