Bug 32497 - mc displays an error when entering many types of archive files (but mostly opens them correctly anyway).
Summary: mc displays an error when entering many types of archive files (but mostly op...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-11-06 11:29 CET by Oleg Bosis
Modified: 2023-11-20 12:05 CET (History)
5 users (show)

See Also:
Source RPM: mc-4.8.29-1.mga9.src.rpm
CVE:
Status comment: Fixed by version 4.8.30


Attachments

Description Oleg Bosis 2023-11-06 11:29:10 CET
Description of problem:
I get an "Inconsistent archive" error message on entering inside many types of archives file using mc.

The only properly working archive types are tar-based ones (tar.gz, tar.bz2, tar.xz etc). All the other types I've tested (including rpm and deb packages) cause this error.

I've tried to update mc locally to version 4.8.30 and the problem disappeared, so it maybe requires update to fix the bug.

Version-Release number of selected component (if applicable):
mc-4.8.29-1.mga9

How reproducible:
Always

Steps to Reproduce:
1. Run mc
2. Try to enter inside some non-tar archive file (rpm, zip, 7z, deb)
3.
Comment 1 Lewis Smith 2023-11-06 21:57:14 CET
Thank you for the helpful report.

From package Description:
"Its coolest feature is the ability to ftp, view tar, zip
files, and poke into RPMs for specific files."

After playing with MC with various archive types, it seems that the bug is only that on entering most non-tar based archive files, it pops this orange error box:
 Error
 EXTFS virtual file systems:
 Inconsistent archive
but just pressing Enter, it *does* look into the archive apparently correctly. Sometimes it does not display this error on a file type it has already reported; sometimes the error message is repeated.
The message notwithstanding, I was able to look inside many non-tar archive types including rpm, cpio, zip, iso. The only real failures were lzh (nothing; terminal output:
 $ ./test-1.23.lzh
 bash: ./test-1.23.lzh: cannot execute binary file: Exec format error
)
and deb (complaints about dpkg-deb not found, and listed contained directories not entered).

"I've tried to update mc locally to version 4.8.30 and the problem disappeared"
Thank you for that confirmation.

Assigning to Stig, you are the principle updater of mc.

Assignee: bugsquad => smelror
Status comment: (none) => Fixed by version 4.8.30
Summary: mc can not properly open many types of archives => mc displays an error when entering many types of archive files (but mostly opens them correctly anyway).

Comment 2 David GEIGER 2023-11-08 17:47:56 CET
Please test upcoming mc-4.8.30-1.mga9 in 9/Core/Updates_testing repo!

Packages in 9/Core/Updates_testing:
======================
mc-4.8.30-1.mga9

From SRPMS:
mc-4.8.30-1.mga9.src.rpm

Assignee: smelror => qa-bugs
CC: (none) => geiger.david68210

Comment 3 Oleg Bosis 2023-11-09 19:55:27 CET
Tested. The bug seems to be fixed, no error message on entering inside archives.

The only notice is that I've looked at upcoming .31 release changelog and saw a couple of fixes of bugs reported against current .30 version that I think worth to be also applied (https://midnight-commander.org/wiki/NEWS-4.8.31). I mean these ones:

- Diff viewer: segfault when display of line numbers is enabled (#4500)
- Tar VFS: broken handling of hard links (#4494)
Comment 4 Marja Van Waes 2023-11-10 18:41:51 CET
The following advisory has been uploaded to SVN:

type: bugfix
subject: Updated mc package fixes bugs
src:
  9:
   core:
     - mc-4.8.30-1.mga9
description: |
  This is a bugfix release with many solved issues.
  It also solves a (mostly needless) error message on opening many archive
  types (mga#32497)
references:
 - https://bugs.mageia.org/show_bug.cgi?id=32497
 - https://midnight-commander.org/wiki/NEWS-4.8.30


Please remove the "advisory" keyword if it needs to be changed. It also helps when obsolete advisories are tagged as "obsolete"

CC: (none) => marja11
Keywords: (none) => advisory

Comment 5 Herman Viaene 2023-11-17 16:18:25 CET
MGA9-64 Xfce on Acer Aspire 5253
No installation issues.
My God, running this is 30 (or more) years back in time. But I could find anything wrong with it, opening tar.gz and .rpm files.

CC: (none) => herman.viaene
Whiteboard: (none) => MGA9-64-OK

Comment 6 Thomas Andrews 2023-11-17 20:08:37 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 7 Mageia Robot 2023-11-20 12:05:51 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0122.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.