# CircleCI failing when using sudo apt-get update

**URL:** <https://discuss.circleci.com/t/circleci-failing-when-using-sudo-apt-get-update/29269>\
**Category:** Build Environment\
**Created:** [March 26, 2019, 2:33pm UTC](https://discuss.circleci.com/t/circleci-failing-when-using-sudo-apt-get-update/29269 "2019-03-26T14:33:32Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![drazisil](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/drazisil/32/24029_2.png) [@drazisil](https://discuss.circleci.com/u/drazisil)\
**Post date:** [March 28, 2019, 1:01pm UTC](https://discuss.circleci.com/t/circleci-failing-when-using-sudo-apt-get-update/29269/7 "2019-03-28T13:01:49Z")

</div>

Ruby is not being maintained upstream [https://hub.docker.com/\_/ruby](https://hub.docker.com/_/ruby)

Therefore we will not be updating it. `2.3-stretch-node-browsers-legacy` is the oldest tag currently, and it has been updated.

If you need to use 2.2 and can not make your own image, you can add the changes from [Apt-get update return 404](https://discuss.circleci.com/t/apt-get-update-return-404/29237/4) as a step prior to running `apt update`

---

_[View the full topic](https://discuss.circleci.com/t/circleci-failing-when-using-sudo-apt-get-update/29269)._
