Kdenlive has error when updating/installing
When I tried to update my Kdenlive today it threw an error about XML and Kdenlive-data. I then tried to reinstall Kdenlive only to get the same error again, so i figured it has to be a problem with the update. I did not do anything to get this error.
$ sudo apt install kdenlive
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
kdenlive-data librttr-core0.9.6
The following NEW packages will be installed
kdenlive kdenlive-data librttr-core0.9.6
0 to upgrade, 3 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/9.633 kB of archives.
After this operation, 63,2 MB of additional disk space will be used.
Do you want to continue? [J/n] j
Selecting previously unselected package kdenlive-data.
(Reading database ... 863515 files and directories currently installed.)
Preparing to unpack .../kdenlive-data_4%3a20.08.2~ubuntu20.04.1_all.deb ...
Unpacking kdenlive-data (4:20.08.2~ubuntu20.04.1) ...
Selecting previously unselected package librttr-core0.9.6:amd64.
Preparing to unpack .../librttr-core0.9.6_0.9.6+dfsg1-3build1_amd64.deb ...
Unpacking librttr-core0.9.6:amd64 (0.9.6+dfsg1-3build1) ...
Selecting previously unselected package kdenlive.
Preparing to unpack .../kdenlive_4%3a20.08.2~ubuntu20.04.1_amd64.deb ...
Unpacking kdenlive (4:20.08.2~ubuntu20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/kdenlive_4%3a20.08.2~ubuntu20.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/metainfo/org.kde.kdenlive.appdata.xml', which is also in package kdenlive-data 4:20.08.2~ubuntu20.04.1
Errors were encountered while processing:
/var/cache/apt/archives/kdenlive_4%3a20.08.2~ubuntu20.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)