代码之家  ›  专栏  ›  技术社区  ›  6be709c0

Parrotos上的vscode:err_internet_已断开连接

  •  2
  • 6be709c0  · 技术社区  · 7 年前

    我刚安装 ParrotOS 并从 documentation 以下内容:

    curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > 
    microsoft.gpg
    sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
    sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
    sudo apt-get update
    sudo apt-get install code
    

    但我不能加载任何扩展。如果我打开开发人员工具,我会看到以下错误:

    ERR net::ERR_INTERNET_DISCONNECTED: Error: net::ERR_INTERNET_DISCONNECTED
    

    如何授权vscode进行连接?

    3 回复  |  直到 6 年前
        1
  •  3
  •   Stuart Gray    6 年前
        2
  •  0
  •   Alesanco    7 年前

    Configuring sandbox profiles...
    Sandbox profiles updated!
    

    Parrot 3.9 there is the sandbox feature firejail Networking rules

    net none
    

    # This file is overwritten after every install/update
    

     Configuration file '/etc/firejail/code.profile'
     ==> Modified (by you or by a script) since installation.
     ==> Package distributor has shipped an updated version.
       What would you like to do about it ?  Your options are:
        Y or I  : install the package maintainer's version
        N or O  : keep your currently-installed version
          D     : show the differences between the versions
          Z     : start a shell to examine the situation
     The default action is to keep your current version.
    *** code.profile (Y/I/N/O/D/Z) [default=N] ? 
    
        3
  •  0
  •   basebandit    6 年前

    /usr/bin/<appname>