# Trying to install package: remote-shell-lib

**URL:** <https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034>\
**Category:** Questions & Answers\
**Created:** [July 16, 2024, 10:09pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034 "2024-07-16T22:09:05Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 16, 2024, 10:09pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/1 "2024-07-16T22:09:05Z")

</div>

Trying to install package: remote-shell-lib on macos.  
When I try Package Install  
Pacckage Source: https:://download.racket-lang-org/releases/8.7/catalog  
I see this:  
Downloading cechsum for catalog  
ssl-connect: connect failed (error:1415F086:SSl routines:tls\_process-server-certificate:certificate context...:  
/Applications/Racket v8.13/collects/openssl/mzssl.rkt369:0: error/network  
etc.  
Any ideas?

---

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [July 17, 2024, 5:50pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/2 "2024-07-17T17:50:25Z")

</div>

I'm confused by a number of things about your post. It looks like you're using version 8.13, but it also looks like ... you're using a v8.7 catalog? Also, it's not clear to me whether you're installing this by using `raco pkg install remote-shell-lib` at the command-line or by using the Package Manager that's a part of DrRacket. Finally, it's strange to me that you're installing remote-shell-lib rather than the parent package remote-shell, but perhaps you're trying to avoid downloading the documentation?

---

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 18, 2024, 2:58am UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/3 "2024-07-18T02:58:00Z")

</div>

When I type on a mac terminal:  
raco pkg install remote-shell  
I get:  
Resolving "remote-shell" via [Package Catalog](https://download.racket-lang.org/releases/8.13/catalog)  
ssl-connect: connect failed (error:... routines:tls\_process\_server-certificate:certificate verify failed.  
I think the problem is on my mac, not in racket.  
I removed all certificates on the mac and tried the above raco command.  
Same error.  
Any ideas?  
Thanks.

---

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 19, 2024, 6:33pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/4 "2024-07-19T18:33:31Z")

</div>

My issue on my MacOS v10.11.6, is the same as one I have found below with the same title:

Title: Raco unable to install packages on macOS due to SSL/TLS certificate issues #4108

rmculpepper added 3 commits 2 years ago

/[github.com/racket/racket/pull/4117](http://github.com/racket/racket/pull/4117)

openssl: use SecTrustCopyAnchorCertificates by default on Mac OS

Related to racket#4108

If I understand correctly, Ryan Culpepper's submit regarding: use SecTrustCopyAnchorCertificates by default on MacOS, is for a change to Racket.

I suspect the fix is not in-place on my Racket v8.13.

Is there a way for me to manually apply the fix to my instance of Racket?

Thanks.

Don Green

---

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 19, 2024, 6:37pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/5 "2024-07-19T18:37:53Z")

</div>

Hi Tom,  
I am using raco.  
I was not aware that the parent pkg is: remote-shell  
That is what I am after. It runs fine on my linux box.  
Having trouble obtaining the pkg on my mac box.  
Error message:  
ssl-connect: connect failed ...; SSL routines: tls\_process\_server\_certificate verify failed.  
Thanks

---

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 19, 2024, 6:38pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/6 "2024-07-19T18:38:48Z")

</div>

John,  
Sorry about calling you Tom.  
Don

---

<div class="post-metadata">

**Author:** ![LiberalArtist](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/liberalartist/32/151_2.png) [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Post date:** [July 19, 2024, 6:57pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/7 "2024-07-19T18:57:38Z")

</div>

> [@Don](#):
>
> If I understand correctly, Ryan Culpepper's submit regarding: use SecTrustCopyAnchorCertificates by default on MacOS, is for a change to Racket.
> 
> I suspect the fix is not in-place on my Racket v8.13.

That fix has been included since Racket 8.5, so it is definitely in 8.13.

The symptoms you are seeing can have many different root causes.

> [@Don](#):
>
> Pacckage Source: https:://download.racket-lang-org/releases/8.7/catalog  
> I see this:  
> Downloading cechsum for catalog  
> ssl-connect: connect failed (error:1415F086:SSl routines:tls\_process-server-certificate:certificate context...:  
> /Applications/Racket v8.13/collects/openssl/mzssl.rkt369:0: error/network

As @jbclements noted, a Racket 8.13 installation should never use https:://download.racket-lang-org/releases/8.7/catalog: quite aside from the network issues, that source would provide packages for the 8.7 release, not 8.13.

It would help to see the result of the following commands:

```sh
philip@bastet:~$ racket --version
Welcome to Racket v8.13 [cs].
philip@bastet:~$ raco pkg config catalogs
https://download.racket-lang.org/releases/8.13/catalog/
https://pkgs.racket-lang.org
https://planet-compats.racket-lang.org

```

It might also help to share the contents of the file `config.rktd` in the directory returned by `(find-system-path 'config-dir)`.

---

<div class="post-metadata">

**Author:** ![LiberalArtist](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/liberalartist/32/151_2.png) [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Post date:** [July 19, 2024, 7:05pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/8 "2024-07-19T19:05:21Z")

</div>

> [@Don](#):
>
> I removed all certificates on the mac

If you really removed **all** certificates on the mac, the error:

> [@Don](#):
>
> ssl-connect: connect failed (error:... routines:tls\_process\_server-certificate:certificate verify failed.

would be expected, because there would be no trusted root certificate to verify the server's certificate.

I suspect you have not actually removed **all** certificates, though, because that would also break every other application trying to use HTTPS (potentially including your attempt to access this website, unless your browser distributes its own set of root certificates).

---

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 19, 2024, 8:41pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/9 "2024-07-19T20:41:38Z")

</div>

Dons-iMac:~don: racket --version  
Welcome to Racket v8.13 [cs].  
Dons-iMac:~don: raco pkg config catalogs  
[https://download.racket-lang.org/releases/8.13/catalog/](https://download.racket-lang.org/releases/8.13/catalog/)  
[https://pkgs.racket-lang.org](https://pkgs.racket-lang.org)  
[https://planet-compats.racket-lang.org](https://planet-compats.racket-lang.org)

```scheme
(find-system-path 'config-dir)
returns: #<path:../../../../etc/>
```

---

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 19, 2024, 8:51pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/10 "2024-07-19T20:51:02Z")

</div>

## You are correct. I did not delete any certificates under headings: System System Roots

---

<div class="post-metadata">

**Author:** ![LiberalArtist](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/liberalartist/32/151_2.png) [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Post date:** [July 20, 2024, 6:16pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/11 "2024-07-20T18:16:45Z")

</div>

> [@Don](#):
>
> Dons-iMac:~don: racket --version  
> Welcome to Racket v8.13 [cs].  
> Dons-iMac:~don: raco pkg config catalogs  
> [Package Catalog](https://download.racket-lang.org/releases/8.13/catalog/)  
> [https://pkgs.racket-lang.org](https://pkgs.racket-lang.org)  
> [https://planet-compats.racket-lang.org](https://planet-compats.racket-lang.org)

This is as expected for Racket 8.13, which should not produce this message:

> [@Don](#):
>
> When I try Package Install  
> Pacckage Source: https:://download.racket-lang-org/releases/8.7/catalog

referring to the 8.7 catalog. Are you sure that is in the error message you got? Could you possibly have been running different versions of the `raco` command? How did you install Racket? Are there any other unusual aspects of your configuration or environment?

What if you try avoiding the catalog lookup, like this?

```scheme
raco pkg install git://github.com/racket/remote-shell/?path=remote-shell

```

Are you able to install other packages from the catalog?

---

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 22, 2024, 10:41pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/12 "2024-07-22T22:41:40Z")

</div>

When I try:

```scheme
raco pkg install git://github.com/racket/remote-shell/?path=remote

```

## I get messages: Querying Git references for remote-shell at git://github ... Using cached1721... for git://... The following uninstalled packages are listed as dependencies of remote-shell: remote-shell-lib remobe-shell-doc Would you like to install these dependencies? (Y/n/...) If I enter Y, then I get a ssl-connect error. If I enter n, then I get: raco pkg install: missing dependencies missing packages: remote-shell-lib remobe-shell-doc

I don't believe remote-shell has installed because when I then go to Racket/Package Manager/ Installed Packages/and search for: remote-shell, it is not found.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Don](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Don](https://racket.discourse.group/u/Don)\
**Post date:** [July 22, 2024, 10:58pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/13 "2024-07-22T22:58:10Z")

</div>

Package Manager does not currently show any packages installed.  
I'll look up the name of one from my linux box and see if it installs via git  
but if it happens to have dependencies then I expect the same ssl-connect error.  
Don

---

<div class="post-metadata">

**Author:** ![jbclements](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jbclements/32/11_2.png) [@jbclements](https://racket.discourse.group/u/jbclements)\
**Post date:** [July 23, 2024, 5:30pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/14 "2024-07-23T17:30:32Z")

</div>

I notice that "remote-shell-doc" is misspelled as "remobe-shell-doc" in two separate places in your message, which is strange. Are these typos? If so, are you manually retyping everything by hand? It should definitely be possible to copy and paste from the terminal, or from the DrRacket package manager. If these are _not_ typos, then something genuinely weird is going on.

---

<div class="post-metadata">

**Author:** ![LiberalArtist](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/liberalartist/32/151_2.png) [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Post date:** [July 23, 2024, 8:59pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034/15 "2024-07-23T20:59:21Z")

</div>

> [@Don](#):
>
> If I enter n, then I get:  
> raco pkg install: missing dependencies

You can modify the instructions to manually install the dependencies:

```scheme
raco pkg install git://github.com/racket/remote-shell/?path=remote-shell-lib && raco pkg install git://github.com/racket/remote-shell/?path=remote-shell-doc && raco pkg install git://github.com/racket/remote-shell/?path=remote-shell

```
