# Changelog 88 failing

**URL:** <https://forum.dimagi.com/t/changelog-88-failing/11957>\
**Category:** Developers\
**Created:** [August 23, 2025, 2:17pm UTC](https://forum.dimagi.com/t/changelog-88-failing/11957 "2025-08-23T14:17:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![erobinson](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/erobinson/32/2652_2.png) [@erobinson](https://forum.dimagi.com/u/erobinson)\
**Post date:** [August 23, 2025, 2:17pm UTC](https://forum.dimagi.com/t/changelog-88-failing/11957/1 "2025-08-23T14:17:41Z")

</div>

Running a deploy-stack on monolith fails on the pgbouncer install step:

> ```auto
> TASK [pgbouncer : pgbouncer install] *****************************************************************************************************************************************************
> fatal: [10.2.0.4]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: unknown reason"}
> 
> ```

> ```auto
> PLAY RECAP *******************************************************************************************************************************************************************************
> 10.2.0.4 : ok=145 changed=11 unreachable=0 failed=1 skipped=109 rescued=0 ignored=0
> 
> ```

The apt log at /var/log/apt/history.log shows:

`Start-Date: 2025-08-23 10:42:35`  
`Commandline: /usr/bin/apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install git`  
`Requested-By: ansible (3001)`  
`Upgrade: git:amd64 (1:2.49.0-2~ppa1~ubuntu22.04.1, 1:2.51.0-0ppa2~ubuntu22.04.1), git-man:amd64 (1:2.49.0-2~ppa1~ubuntu22.04.1, 1:2.51.0-0ppa2~ubuntu22.04.1)`  
`End-Date: 2025-08-23 10:42:41`

When running  
`/usr/bin/apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install git`  
as the ansible user, the error is

`sudo -u ansible /usr/bin/apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install git`  
`E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)`  
`E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?`

I assume it needs to be run with sudo but isn’t being?

Thanks

---

<div class="post-metadata">

**Author:** ![erobinson](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/erobinson/32/2652_2.png) [@erobinson](https://forum.dimagi.com/u/erobinson)\
**Post date:** [August 27, 2025, 11:57am UTC](https://forum.dimagi.com/t/changelog-88-failing/11957/2 "2025-08-27T11:57:00Z")

</div>

Just bumping this as it’s affecting an upgrade on a server, should I be opening a JIRA ticket?  
Thanks!

---

<div class="post-metadata">

**Author:** ![erobinson](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/erobinson/32/2652_2.png) [@erobinson](https://forum.dimagi.com/u/erobinson)\
**Post date:** [September 28, 2025, 11:47am UTC](https://forum.dimagi.com/t/changelog-88-failing/11957/3 "2025-09-28T11:47:50Z")

</div>

The server in question is now on commit [Merge pull request #36980 from dimagi/create-pull-request/update-tran… · dimagi/commcare-hq@3a8f328 · GitHub](https://github.com/dimagi/commcare-hq/commit/3a8f328a3cef83a520259541ffd6d81c8523047b) but I’m still unable to run a deploy-stack because of the apt-get failure during PGBouncer install:

```auto
ASK [pgbouncer : pgbouncer install] ********************************************************************************************************************************************************************************* fatal: [10.2.0.4]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: unknown reason"}

```

Any reason why this would fail? Also, should I be concerned about not being able to apply changelog 88 if uv is installed?

`(cchq) ccc@monolith:~/commcare-cloud$ uv -V`  
`uv 0.7.5`
