Apt upgrade problem with librav1e0.7:arm64

Hello everyone!
I’m getting the following error on my Pocket Reform when trying to apt upgrade. Any ideas on how to solve this? Thanks for your time.

guiller@pocket:~$ sudo apt update
Hit:1 http://deb.debian.org/debian unstable InRelease
Ign:2 https://mntre.com/reform-debian-repo reform InRelease
Hit:3 https://mntre.com/reform-debian-repo reform Release
Ign:4 https://mntre.com/reform-debian-repo reform Release.gpg
All packages are up to date.    
Notice: Missing Signed-By in the sources.list(5) entry for 'https://mntre.com/reform-debian-repo'
guiller@pocket:~$ sudo apt upgrade
You might want to run 'apt --fix-broken install' to correct these.
Unsatisfied dependencies:
 libavif16 : Depends: librav1e0.7 (>= 0.5.1) but it is not installed
Error: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
guiller@pocket:~$ sudo apt -f install
Correcting dependencies... Done 
The following packages were automatically installed and are no longer required:
  libdrm-nouveau2        libusbmuxd6
  libimobiledevice6      libx265-199
  libjxl0.7              linux-headers-6.8.9-common
  libplist3              linux-headers-6.8.9-mnt-reform-arm64
  libpython3.11-minimal  linux-image-6.8.9-mnt-reform-arm64
  libpython3.11-stdlib   linux-kbuild-6.8.9
  libpython3.11t64       python3.11
  libroc0.3              python3.11-minimal
  libspatialindex6       reform-qcacld2-6.8.9-mnt-reform-arm64
  libsvtav1enc1d1        reform-qcacld2-6.9.7-mnt-reform-arm64
Use 'sudo apt autoremove' to remove them.

Installing dependencies:
  librav1e0.7

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
  1 not fully installed or removed.
  Download size: 0 B / 655 kB
  Space needed: 2,193 kB / 110 GB available

Continue? [Y/n] Y
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 261229 files and directories currently installed.)
Preparing to unpack .../librav1e0.7_0.7.1-3+b1_arm64.deb ...
Unpacking librav1e0.7:arm64 (0.7.1-3+b1) ...
dpkg: error processing archive /var/cache/apt/archives/librav1e0.7_0.7.1-3+b1_arm64.deb (--unpack):
 trying to overwrite '/usr/lib/aarch64-linux-gnu/librav1e.so.0.7.1', which is also in package librav1e0:arm64 0.7.1-2
Errors were encountered while processing:
 /var/cache/apt/archives/librav1e0.7_0.7.1-3+b1_arm64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)
guiller@pocket:~$

It’s this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076381

Sebastian (the package maintainer) is aware of it, so fix will be uploaded soon.

3 Likes

@josch Thank you very much for your quick reply. I’ll keep track with the link you provided :+1:

Hello everyone,
Bug fixed, I upgraded without any further problems :+1:

3 Likes