Hi,

It is similar, but I opened only for "deb" extension (but other
extensions can also be problematic, I did not check).

The original configuration came with the package is:
```bash
[deb]
Regex=\.u?deb$
Open=%cd %p/deb://
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view deb
```

According to the above workaround I should substitute the
@EXTHELPERSDIR@ by /usr/lib/mc/ext.d from the file I download with wget,
but it is already that path. Additionaly, mc never complain to me that
package.sh is not found, this line might not be triggered with the
"Regex=" detection.


In my "fix" I used the "Shell=.deb" expression instead of "Regex=\.u?deb$". I 
also tried to change the "Regex=" expression, for example remove the "u" 
letter...but did not solve the issue. 

I suspect an issue with regular expression processing, because when I
used the shell expression it worked instantly, without any other
modification.

I saw this comment in the you mailed me(#2062968): "Detection by type is
broken due to wrong escaping. Reopened upstream. Thanks for reporting."

What if the Regex type detection is also broken and for now, only the
Shell works?

Thanks

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

Title:
  mc does not open/view deb packages

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


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

Reply via email to