# Ffmpeg broken package?

**URL:** <https://forums.balena.io/t/ffmpeg-broken-package/3842>\
**Category:** Product support\
**Tags:** alpine\
**Created:** [August 30, 2018, 7:52am UTC](https://forums.balena.io/t/ffmpeg-broken-package/3842 "2018-08-30T07:52:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toby](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@toby](https://forums.balena.io/u/toby)\
**Post date:** [August 30, 2018, 7:52am UTC](https://forums.balena.io/t/ffmpeg-broken-package/3842/1 "2018-08-30T07:52:44Z")

</div>

Recently, ffmpeg in Alpine/RaspberryPi seems to have broken. Can anyone suggest a workaround?

```
Step 26/49 : RUN apk add ffmpeg
 ---> Running in 82c5f70420b1
ERROR: unsatisfiable constraints:
  so:libx265.so.160 (missing):
    required by:
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
                 ffmpeg-libs-3.4.4-r0[so:libx265.so.160]

```

My Dockerfile contains:

```
FROM resin/raspberrypi3-alpine
RUN apk update
RUN apk add ffmpeg
```

---

<div class="post-metadata">

**Author:** ![nghiant2710](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nghiant2710](https://forums.balena.io/u/nghiant2710)\
**Post date:** [August 30, 2018, 8:09am UTC](https://forums.balena.io/t/ffmpeg-broken-package/3842/4 "2018-08-30T08:09:22Z")

</div>

Hi,

I tried the official alpine image (arm32v6/alpine:3.8) and had the same issue so there’s something wrong with the ffmpeg package on armhf Alpine Linux(I don’t have this issue on x86 or x86\_64).

So the workaround here is changing the base image to `resin/raspberrypi3-alpine:3.7` which doesn’t have this issue until it’s fixed upstream.
