# Pkg.update() throws an error

**URL:** <https://discourse.julialang.org/t/pkg-update-throws-an-error/10797>\
**Category:** General Usage\
**Created:** [May 9, 2018, 1:16pm UTC](https://discourse.julialang.org/t/pkg-update-throws-an-error/10797 "2018-05-09T13:16:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Philippe\_Maincon1](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Post date:** [May 14, 2018, 1:16pm UTC](https://discourse.julialang.org/t/pkg-update-throws-an-error/10797/2 "2018-05-14T13:16:14Z")

</div>

Dear Philippe,

Since nobody seems to be in a position to help, here is the solution. Enjoy!

Philippe

> [@Errors for Git / Pkg](https://discourse.julialang.org/t/errors-for-git-pkg/9351):
>
> There have been various reports of issues running package operations recently. They manifest as one of the following messages on running any package operations, such as Pkg.init or Pkg.add: ERROR: GitError(Code:ERROR, Class:Net, SSL error: error:1407742E:SSL routines:SSL23\_GET\_SERVER\_HELLO:tlsv1 alert protocol version) or ERROR: GitError(Code:ECERTIFICATE, Class:OS, user cancelled certificate check: ) This is happening because GitHub stopped supporting TLS 1.0 in February: The error occu…

---

_[View the full topic](https://discourse.julialang.org/t/pkg-update-throws-an-error/10797)._
