I am not able to update apps or the OS. While upgrading from the terminal, I am getting this error message:
Do you want to continue? [Y/n] y
(Reading database ... 271161 files and directories currently installed.)
Preparing to unpack .../appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb ...
Unpacking appstream-data-pantheon (0.3.0-0~14~ubuntu0.4.1) ...
dpkg: error processing archive /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb (--unpack):
trying to overwrite '/usr/share/app-info/yaml/pantheon_xenial-main_amd64.yml.gz', which is also in package appstream-data-pantheon-loki-stable 0.4+r13~ubuntu0.4.1
Processing triggers for appstream (0.10.6-1~ubuntu16.04.2) ...
AppStream cache update completed successfully.
Errors were encountered while processing:
/var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)