# Dpkg error when trying to install influxdb from the official repo

**URL:** <https://community.influxdata.com/t/dpkg-error-when-trying-to-install-influxdb-from-the-official-repo/58166>\
**Category:** InfluxDB 1\
**Created:** [December 12, 2025, 1:52am UTC](https://community.influxdata.com/t/dpkg-error-when-trying-to-install-influxdb-from-the-official-repo/58166 "2025-12-12T01:52:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zaite455](https://avatars.discourse-cdn.com/v4/letter/z/8baadc/32.png) [@Zaite455](https://community.influxdata.com/u/Zaite455)\
**Post date:** [December 12, 2025, 1:52am UTC](https://community.influxdata.com/t/dpkg-error-when-trying-to-install-influxdb-from-the-official-repo/58166/1 "2025-12-12T01:52:19Z")

</div>

Hello,

I am trying to install influxdb (v1) from the official repo. I am getting this error:

`Unpacking influxdb (1.12.2-4) …`  
`dpkg: error processing archive /var/cache/apt/archives/influxdb_1.12.2-4_amd64.deb (–unpack):`  
**`trying to overwrite ‘/usr/bin/influx’, which is also in package influxdb-client 1.6.7~rc0-2ubuntu0.24.04.3`  
 `dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)`**  
`influxdb.service is not a native service, redirecting to systemd-sysv-install.`  
`Executing: /usr/lib/systemd/systemd-sysv-install disable influxdb`  
`Errors were encountered while processing:`  
`/var/cache/apt/archives/influxdb_1.12.2-4_amd64.deb`

/usr/bin/influx does not exist - I have specifically deleted it.

I’ve searched around and can’t find much on this error. If anyone knows what to do, would be greatly appreciated. I’ve had to disable the sources for now and use the older version from the ubuntu repos instead.

Thanks

---

<div class="post-metadata">

**Author:** ![suyash](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/suyash/32/15791_2.png) [@suyash](https://community.influxdata.com/u/suyash)\
**Post date:** [December 12, 2025, 11:49am UTC](https://community.influxdata.com/t/dpkg-error-when-trying-to-install-influxdb-from-the-official-repo/58166/2 "2025-12-12T11:49:24Z")

</div>

@davidby-influx if you can please share some insight. Thanks

---

<div class="post-metadata">

**Author:** ![davidby-influx](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/davidby-influx/32/20357_2.png) [@davidby-influx](https://community.influxdata.com/u/davidby-influx)\
**Post date:** [December 12, 2025, 7:07pm UTC](https://community.influxdata.com/t/dpkg-error-when-trying-to-install-influxdb-from-the-official-repo/58166/3 "2025-12-12T19:07:29Z")

</div>

@devanbenz - any thoughts?

@Zaite455 - you may need to uninstall `usr/bin/influx`, not merely delete it. But I defer to the greater expertise of my tagged colleague.

---

<div class="post-metadata">

**Author:** ![Zaite455](https://avatars.discourse-cdn.com/v4/letter/z/8baadc/32.png) [@Zaite455](https://community.influxdata.com/u/Zaite455)\
**Post date:** [December 12, 2025, 7:13pm UTC](https://community.influxdata.com/t/dpkg-error-when-trying-to-install-influxdb-from-the-official-repo/58166/4 "2025-12-12T19:13:55Z")

</div>

Thanks for the reply,

I did try removing influxdb and influxdb-client packages first, and verified that /usr/bin/influx no longer exists. I then enabled the Influx repo followed by apt update / apt install influxdb. This also generates the same error.

---

<div class="post-metadata">

**Author:** ![devanbenz](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/devanbenz/32/17180_2.png) [@devanbenz](https://community.influxdata.com/u/devanbenz)\
**Post date:** [December 12, 2025, 8:15pm UTC](https://community.influxdata.com/t/dpkg-error-when-trying-to-install-influxdb-from-the-official-repo/58166/5 "2025-12-12T20:15:00Z")

</div>

@Zaite455 Could you please try installing influxdb using the following method?  
```  
wget [https://repos.influxdata.com/packages/influxdb\_1.12.2-1\_amd64.deb](https://repos.influxdata.com/packages/influxdb_1.12.2-1_amd64.deb)

sudo dpkg -i influxdb\_1.12.2-1\_amd64.deb  
```  
In the meantime I’m going to check on our official repo documentation and attempt to reproduce the issue you are experiencing.

---

<div class="post-metadata">

**Author:** ![Zaite455](https://avatars.discourse-cdn.com/v4/letter/z/8baadc/32.png) [@Zaite455](https://community.influxdata.com/u/Zaite455)\
**Post date:** [December 13, 2025, 1:04am UTC](https://community.influxdata.com/t/dpkg-error-when-trying-to-install-influxdb-from-the-official-repo/58166/6 "2025-12-13T01:04:35Z")

</div>

> [@devanbenz](#):
>
> sudo dpkg -i influxdb\_1.12.2-1\_amd64.deb

This works successfully, installed and running - and in fact it appears to have updated it from the repo after doing the manual install to version 1.12.2-4.

So looks like it’s problem solved, fingers crossed! Thank you very much for the help
