# Apt-get update fails on builds with Ubuntu images

**URL:** <https://travis-ci.community/t/apt-get-update-fails-on-builds-with-ubuntu-images/11572>\
**Category:** Crystal\
**Created:** [May 7, 2021, 4:06pm UTC](https://travis-ci.community/t/apt-get-update-fails-on-builds-with-ubuntu-images/11572 "2021-05-07T16:06:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![olbat](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/olbat/32/2870_2.png) [@olbat](https://travis-ci.community/u/olbat)\
**Post date:** [May 7, 2021, 4:06pm UTC](https://travis-ci.community/t/apt-get-update-fails-on-builds-with-ubuntu-images/11572/1 "2021-05-07T16:06:10Z")

</div>

Jobs running _apt-get update_ are currently failing for my projects.

Here is [an example](https://travis-ci.org/github/olbat/libgen/jobs/769497160) with the Xenial image and [another one](https://travis-ci.org/github/olbat/icu.cr/jobs/769787416) with the Bionic image.

It looks like there is something wrong with the config or the setup of Bintray’s APT repository (HTTP#403 error when being accessed from Travis CI workers).

(@jhass, @bcardiff)

---

<div class="post-metadata">

**Author:** ![jhass](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jhass/32/357_2.png) [@jhass](https://travis-ci.community/u/jhass)\
**Post date:** [May 7, 2021, 4:25pm UTC](https://travis-ci.community/t/apt-get-update-fails-on-builds-with-ubuntu-images/11572/2 "2021-05-07T16:25:27Z")

</div>

~~Ah we forgot about Travis 🙈~~ Bintray has shut down, see: [Announcing new apt and rpm repositories - The Crystal Programming Language](https://crystal-lang.org/2021/04/30/new-apt-and-rpm-repositories.html)

Further reading also at: [Bintray will be gone at the end of April · Issue #10626 · crystal-lang/crystal · GitHub](https://github.com/crystal-lang/crystal/issues/10626)

Also consider this: [The Travis CI Blog: ORG Shutdown](https://blog.travis-ci.com/2021-05-07-orgshutdown)

~~I’ll look into updating the Travis integration to use the new repositories.~~

Johannes actually thought of it, it’s just that nobody from Travis reacted to it in time: [Update repository for crystal to OBS by straight-shoota · Pull Request #1987 · travis-ci/travis-build · GitHub](https://github.com/travis-ci/travis-build/pull/1987)

---

<div class="post-metadata">

**Author:** ![olbat](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/olbat/32/2870_2.png) [@olbat](https://travis-ci.community/u/olbat)\
**Post date:** [May 8, 2021, 8:55am UTC](https://travis-ci.community/t/apt-get-update-fails-on-builds-with-ubuntu-images/11572/3 "2021-05-08T08:55:13Z")

</div>

Oh ok, sorry I didn’t see the announcement. I guess the problem will be fix once Johannes’ PR gets merged?

Thank you for the quick answer and for sharing about the [travis-ci.org](http://travis-ci.org) shutdown, I wasn’t aware of it 🙂

---

<div class="post-metadata">

**Author:** ![jhass](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jhass/32/357_2.png) [@jhass](https://travis-ci.community/u/jhass)\
**Post date:** [May 8, 2021, 8:59am UTC](https://travis-ci.community/t/apt-get-update-fails-on-builds-with-ubuntu-images/11572/4 "2021-05-08T08:59:05Z")

</div>

Yes once that’s merged and deployed (not sure they’ll still deploy to .org though…) it’ll be fixed.
