# Installed package version inconsistent across the builds

**URL:** <https://discuss.circleci.com/t/installed-package-version-inconsistent-across-the-builds/13994>\
**Category:** Bug Reports\
**Created:** [July 5, 2017, 8:42pm UTC](https://discuss.circleci.com/t/installed-package-version-inconsistent-across-the-builds/13994 "2017-07-05T20:42:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrey.fedorov](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/andrey.fedorov/32/10365_2.png) [@andrey.fedorov](https://discuss.circleci.com/u/andrey.fedorov)\
**Post date:** [July 5, 2017, 8:42pm UTC](https://discuss.circleci.com/t/installed-package-version-inconsistent-across-the-builds/13994/1 "2017-07-05T20:42:15Z")

</div>

I am installing gcov and lcov using `sudo apt-get install lcov`.

It appears that the version of gcov varies across my builds.

Here is what I get ssh-ing to one machine at one point (I am not sure why I had venv in the prompt here, and whether it has any role):

```auto
(venv-2.7.11) ubuntu@box3002:~$ gcov --version
gcov (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

(venv-2.7.11) ubuntu@box3002:~$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

```

And this is what I get ssh-ing to a machine from another build today:

```auto
ubuntu@box434:~$ gcov --version
gcov (Ubuntu/Linaro 4.6.4-1ubuntu1~12.04) 4.6.4
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

ubuntu@box434:~$ gcc --version
gcc (Ubuntu 4.9.2-0ubuntu1~12.04) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

```

This is my config file: [https://github.com/QIICR/dcmqi/blob/master/circle.yml](https://github.com/QIICR/dcmqi/blob/master/circle.yml)

---

<div class="post-metadata">

**Author:** ![andrey.fedorov](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/andrey.fedorov/32/10365_2.png) [@andrey.fedorov](https://discuss.circleci.com/u/andrey.fedorov)\
**Post date:** [July 5, 2017, 8:49pm UTC](https://discuss.circleci.com/t/installed-package-version-inconsistent-across-the-builds/13994/2 "2017-07-05T20:49:33Z")

</div>

Reading my own post, I see I have different versions of Ubuntu, which explains it I guess, but I don’t see why I am getting different versions of Ubuntu for the same project.

I have Trusty selected in the project settings “Build environment”.

When I do `sudo apt-get install lcov`, I am getting messages that seem to indicate Trusty packages are queried:

![](https://global.discourse-cdn.com/circleci/original/3X/1/b/1b68b85d4f5db4d14571812e495a89b613d46a1e.png)

But command line says I am on 12.04:

```auto
ubuntu@box515:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.5 LTS
Release:	12.04
Codename:	precise
ubuntu@box515:~$

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:34am UTC](https://discuss.circleci.com/t/installed-package-version-inconsistent-across-the-builds/13994/3 "2018-06-18T11:34:50Z")

</div>

Closed on June 18, 2018, 11:34am UTC


