Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Common.c: unimplemented subshell type 1

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Balanga
      last edited by

      After running numerous pkg add commands on pfSense 2.3.5 i386 I was finally able to install Midnight Commander, only to find that it would not run, giving the error

      common.c: unimplemented subshell type 1
      read (subshell_pty….):  No error: 0 (0)

      Any ideas on what I need to do to get it working?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        If you pkg added a load of things it may well have overwritten something required by pfSense.

        Why are you trying to install MC though? Just use SCP and some remote file system manager.

        Steve

        1 Reply Last reply Reply Quote 0
        • B
          Balanga
          last edited by

          @stephenw10:

          If you pkg added a load of things it may well have overwritten something required by pfSense.

          Why are you trying to install MC though? Just use SCP and some remote file system manager.

          Steve

          MC is the app I use most and am lost without it. It's even included in the base build of FreeNAS. If you are not familiar with it you are not aware of how powerful it is, especially for accessing the filesystem. I have it on my normal pfSense box but it is a pain to install because of all the dependencies… I've just noticed that pfSense contains /usr/local/etc/pkg/repos/FreeBSD.conf  which has enabled: no set. If I change that to yes can I then run pkg install mc as I would on FreeBSD and automatically install all the dependencies?

          1 Reply Last reply Reply Quote 0
          • GrimsonG
            Grimson Banned
            last edited by

            There is no reason to access the filesystem on a pfSense installation, even in emergency cases you at most have to copy the config to a different storage device. So including/adding something like MC doesn't make any sense. Use something like WinSCP on your client, if you really need a filemanager, and don't mess up your firewall.

            1 Reply Last reply Reply Quote 0
            • B
              Balanga
              last edited by

              In case anyone else has this problem the workaround is to run mc -u

              https://forums.freebsd.org/threads/misc-mc-problem.55627/

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.