# Please update Ubuntu Focal 20.04 LTS base installation due to a compiling error with gcc 9.2.1

**URL:** <https://travis-ci.community/t/please-update-ubuntu-focal-20-04-lts-base-installation-due-to-a-compiling-error-with-gcc-9-2-1/8658>\
**Category:** Linux\
**Tags:** bug\
**Created:** [May 17, 2020, 7:06pm UTC](https://travis-ci.community/t/please-update-ubuntu-focal-20-04-lts-base-installation-due-to-a-compiling-error-with-gcc-9-2-1/8658 "2020-05-17T19:06:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmxp](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/bmxp/32/4616_2.png) [@bmxp](https://travis-ci.community/u/bmxp)\
**Post date:** [May 17, 2020, 7:06pm UTC](https://travis-ci.community/t/please-update-ubuntu-focal-20-04-lts-base-installation-due-to-a-compiling-error-with-gcc-9-2-1/8658/1 "2020-05-17T19:06:23Z")

</div>

We have trouble in building a wheel for python psutil 5.7.0. See at [https://travis-ci.org/github/smarthomeNG/smarthome/jobs/688112865](https://travis-ci.org/github/smarthomeNG/smarthome/jobs/688112865)

It seems as if a newer version of gcc will cure this. Currently Travis is using `gcc (Ubuntu 9.2.1-28ubuntu1) 9.2.1 20200203` but a normal desktop or server installation is using `gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)`

The problem seems to be here as well: [steinbergmedia/vst3sdk#55](https://github.com/steinbergmedia/vst3sdk/issues/55)

---

<div class="post-metadata">

**Author:** ![bmxp](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/bmxp/32/4616_2.png) [@bmxp](https://travis-ci.community/u/bmxp)\
**Post date:** [May 18, 2020, 3:11pm UTC](https://travis-ci.community/t/please-update-ubuntu-focal-20-04-lts-base-installation-due-to-a-compiling-error-with-gcc-9-2-1/8658/2 "2020-05-18T15:11:00Z")

</div>

Until there is a fix in sight, the following snippet added in our `.travis.yml`

```auto
before_install:
    - sudo apt-get update
    - sudo apt-get install gcc --only-upgrade

```

did the trick.

---

<div class="post-metadata">

**Author:** ![bmxp](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/bmxp/32/4616_2.png) [@bmxp](https://travis-ci.community/u/bmxp)\
**Post date:** [May 25, 2020, 12:16pm UTC](https://travis-ci.community/t/please-update-ubuntu-focal-20-04-lts-base-installation-due-to-a-compiling-error-with-gcc-9-2-1/8658/3 "2020-05-25T12:16:27Z")

</div>

Since Travis team updated gcc to 9.3.0 for the provided version of Ubuntu the problem is solved.
