This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Getting error while trying to do "dist-upgrade"

Tags: None
(comma "," separated)
Hattori_Suzuki
Registered Member
Posts
2
Karma
0
I am on Linux Mint 18 KDE, i am trying to do "dist-upgrade" to get KDE 5.8.4, everything works fine, except this one:

sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libkf5screen7
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
66 not fully installed or removed.
Need to get 0 B/186 kB of archives.
After this operation, 210 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 196622 files and directories currently installed.)
Preparing to unpack .../libkf5screen7_4%3a5.8.4-0neon+16.04+build24_amd64.deb ...
Unpacking libkf5screen7 (4:5.8.4-0neon+16.04+build24) over (4:5.6.5-0ubuntu1~ubuntu16.04~ppa1) ...
dpkg: error processing archive /var/cache/apt/archives/libkf5screen7_4%3a5.8.4-0neon+16.04+build24_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libexec/kf5/kscreen_backend_launcher', which is also in package libkf5screen-bin 4:5.6.5-0ubuntu1~ubuntu16.04~ppa1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.23-0ubuntu4) ...
Errors were encountered while processing:
/var/cache/apt/archives/libkf5screen7_4%3a5.8.4-0neon+16.04+build24_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can anyone please help me?
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Adding KDE Neon repos to Kbuntu (or Mint KDE - same thing, really) is not supported as there can be many package install errors such as this.

You should be able to fix this one error by forcing dpkg to overwrite the existing file mentioned in the error with the new one:

Code: Select all
sudo dpkg -i --force-overwrite  /var/cache/apt/archives/libkf5screen7_4%3a5.8.4-0neon+16.04+build24_amd64.deb


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
Hattori_Suzuki
Registered Member
Posts
2
Karma
0
It works now. Thank you so much. ;D


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]