SUMMARY Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 202667 files and directories currently installed.) Preparing to unpack .../kf6-kwallet_5.245.0+p22.04+vunstable+git20240210.0126-0_amd64.deb ... Unpacking kf6-kwallet (5.245.0+p22.04+vunstable+git20240210.0126-0) ... dpkg: error processing archive /var/cache/apt/archives/kf6-kwallet_5.245.0+p22.04+vunstable+git20240210.0126-0_amd64.deb (--unpack): trying to overwrite '/usr/bin/kwallet-query', which is also in package libkf5wallet-bin 5.114.0-0xneon+22.04+jammy+release+build43 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/kf6-kwallet_5.245.0+p22.04+vunstable+git20240210.0126-0_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) STEPS TO REPRODUCE 1. Install neon user edition https://neon.kde.org/download 2. Change /etc/apt/sources.list.d/neon.list to ``` deb http://archive.neon.kde.org/unstable jammy main deb-src http://archive.neon.kde.org/unstable jammy main ``` 3. create /etc/apt/preferences.d/40-switch with ``` Package: * Pin: release l=KDE neon - Unstable Edition Pin-Priority: 1100 ``` 4. run sudo apt update && sudo apt dist-upgrade 5. remove /etc/apt/preferences.d/40-switch again 6. run sudo apt update && sudo apt dist-upgrade again OBSERVED RESULT Update process fails at part 4 EXPECTED RESULT successful update SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.116.0 Qt Version: 5.15.12 Kernel Version: 6.5.0-17-generic (64-bit) Graphics Platform: X11 Processors: 2 × AMD Ryzen 5 3600 6-Core Processor Memory: 3,8 GiB of RAM Graphics Processor: llvmpipe Manufacturer: QEMU Product Name: Standard PC (Q35 + ICH9, 2009) System Version: pc-q35-8.1
Updating works with following command: sudo apt update && sudo apt dist-upgrade -o DPkg::options::="--force-overwrite"
Going through the packages one-by-one to find all broken ones: kf6-baloo kf6-baloowidgets kf6-plasma5support kwin-common libkpimgapi5-data I found these by piping the force-override dist upgrade to a log file and then listing anything that raises a dpkg: warning
Created attachment 165805 [details] dist-upgrade with --force-override log
This isn't supported by us but there's obviously demand so maybe we should work out how. The problem is files moves around in unstable first and then there are clashes with testing and user editions on upgrades. I think to do it we need to just advise to turn on force-overwrite `echo force-overwrite > /etc/dpkg/dpkg.cfg.d/neon-edition-change`