mc does not open/view deb packages
Bug #2076503 reported by
Attila Fülöp
This bug report is a duplicate of:
Bug #2062968: mc (Midnight commander) not opening/navigating archives by enter.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
When I press Enter (for open) or F3 (for view) on a deb package in midnight commander, not the expected action ("cd into" package , show details of package) is performed.
I found this in the /etc/mc/mc.ext.ini for deb:
```bash
[deb]
Regex=\.u?deb$
Open=%cd %p/deb://
View=%view{ascii} /usr/lib/
```
After I comment out the Regex line and insert the line below, mc works as expected:
```bash
Shell=.deb
```
Ubuntu release:
== 0 ==> lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04 LTS
Release: 24.04
== 0 ==> apt-cache policy mc
mc:
Installed: 3:4.8.30-1build2
Candidate: 3:4.8.30-1build2
Thanks,
Attila
To post a comment you must log in.
Can you confirm that it's a duplicate of #2062968 ? If so, workaround:
sudo wget https:/ /raw.githubuser content. com/MidnightCom mander/ mc/master/ misc/mc. ext.ini. in -O /etc/mc/mc.ext.ini
Substitute @EXTHELPERSDIR@ by /usr/lib/mc/ext.d .