Bug 424374

Summary: apt issue with kdeconnect
Product: [Applications] kdeconnect Reporter: kidu <bugs.kde.org>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kidu 2020-07-18 13:30:24 UTC
SUMMARY

apt issue with kdeconnect on debian sid

STEPS TO REPRODUCE
apt update kdeconnect


OBSERVED RESULT

Preparing to unpack .../kdeconnect_20.04.2-1_amd64.deb ...
Unpacking kdeconnect (20.04.2-1) over (1.3.3-2+b1) ...
dpkg: error processing archive /var/cache/apt/archives/kdeconnect_20.04.2-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/contractor/kdeconnect.contract', which is also in package indicator-kdeconnect 0.8.2-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Reinstalling /etc/xdg/autostart/kdeconnectd.desktop that was moved away
Errors were encountered while processing:
 /var/cache/apt/archives/kdeconnect_20.04.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


How to fix this update issue please?
Comment 1 2wxsy58236r3 2020-07-19 04:13:42 UTC
Remove the indicator-kdeconnect package first (apt-get purge indicator-kdeconnect) before updating or installing the latest version of kdeconnect.
Comment 2 kidu 2020-07-19 13:18:30 UTC
It works perfectly now, thank you for your kind help!