Skip to content

Instantly share code, notes, and snippets.

@QGB
Created October 22, 2019 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QGB/c7e3fdccbdc3c1557456781c9d55ab5d to your computer and use it in GitHub Desktop.
Save QGB/c7e3fdccbdc3c1557456781c9d55ab5d to your computer and use it in GitHub Desktop.
load key bad permission
:直接在 vscode terminal 里 ssh-keygen,然后修改 IdentityFile ~/.ssh/id_rsa
[13:25:24.777]"install"terminal command done
[13:25:24.777]Install terminal quit with output:过程试图写入的管道不存在。
[13:25:24.778]Received install output:过程试图写入的管道不存在。
[13:25:24.779]Failed to parse remote port from server output
[13:25:24.780]Resolver error:
[13:25:24.782]TELEMETRY:{"eventName":"resolver","properties":
{"outcome":"failure","reason":"Unparsableoutput","askedPw":"0",
"askedPassphrase":"o","asked2fa":"o","askedHostkey":"o",
"gotunrecognizedprompt":"e","remoteInconfigFile":"1"},"measures":
{"resolveAttempts":1,"retries":1}}
[13:25:24.783]-------
@QGB
Copy link
Author

QGB commented Oct 29, 2019

Visual Studio Live Share Linux Dependency Installer

See https://aka.ms/vsls-docs/linux-prerequisites

Visual Studio Live Share requires a number of prerequisites that this script
will attempt to install for you. This process requires admin / root access.

To begin the installation process, your OS will now ask you to enter your
admin / root (sudo) password.

[sudo] password for qgb:
[sudo] password for qgb:

(*) Detected RHL / Fedora / CentOS

() Updating package lists...
^A
(
) Verifying .NET Core dependencies...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.cn99.com
  • epel: mirror01.idc.hinet.net
  • extras: mirrors.cn99.com
  • updates: mirrors.cn99.com
    getpagespeed-extras-noarch | 26 kB 00:00:00
    https://extras.getpagespeed.com/redhat/7/noarch/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for getpagespeed-extras-noarch: Damaged repomd.xml file
    Trying other mirror.
    Package 1:openssl-libs-1.0.2k-19.el7.x86_64 already installed and latest version
    Package krb5-libs-1.15.1-37.el7_7.2.x86_64 already installed and latest version
    Package libicu-50.2-3.el7.x86_64 already installed and latest version
    Package zlib-1.2.7-18.el7.x86_64 already installed and latest version
    Nothing to do
    (*) compat-openssl10 not required.

(*) Verifying keyring dependencies...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.cn99.com
  • epel: mirror01.idc.hinet.net
  • extras: mirrors.cn99.com
  • updates: mirrors.cn99.com
    getpagespeed-extras-noarch | 26 kB 00:00:00
    https://extras.getpagespeed.com/redhat/7/noarch/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for getpagespeed-extras-noarch: Damaged repomd.xml file
    Trying other mirror.
    Resolving Dependencies
    There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).

@QGB
Copy link
Author

QGB commented Oct 29, 2019

--> Running transaction check
---> Package gnome-keyring.x86_64 0:3.28.2-1.el7 will be installed
base/7/x86_64/filelists_db | 7.3 MB 00:00:00
--> Processing Dependency: /usr/libexec/gcr-ssh-askpass for package: gnome-keyring-3.28.2-1.el7.x86_64
docker-ce-stable/x86_64/filelists_db | 18 kB 00:00:00
epel/x86_64/filelists_db | 12 MB 00:00:01
extras/7/x86_64/filelists_db | 207 kB 00:00:00
https://extras.getpagespeed.com/redhat/7/noarch/repodata/b7cc25a2fc5f548817b09fda0b5d07df8a72e6581229efb7feb7e708a18443f9-filelists.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

One of the configured repositories failed (GetPageSpeed packages for Enterprise Linux 7 - noarch),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
        yum --disablerepo=getpagespeed-extras-noarch ...

 4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

        yum-config-manager --disable getpagespeed-extras-noarch
    or
        subscription-manager repos --disable=getpagespeed-extras-noarch

 5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=getpagespeed-extras-noarch.skip_if_unavailable=true

failure: repodata/b7cc25a2fc5f548817b09fda0b5d07df8a72e6581229efb7feb7e708a18443f9-filelists.sqlite.bz2 from getpagespeed-extras-noarch: [Errno 256] No more mirrors to try.
https://extras.getpagespeed.com/redhat/7/noarch/repodata/b7cc25a2fc5f548817b09fda0b5d07df8a72e6581229efb7feb7e708a18443f9-filelists.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
(!) Keyring installation failed!

Press enter to dismiss this message

@QGB
Copy link
Author

QGB commented Oct 29, 2019

The dependency installer failed. Try installing dependencies manually.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment