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

dist-upgrade fails due to drkonqi

Tags: None
(comma "," separated)
Nayar
Registered Member
Posts
38
Karma
0
OS

dist-upgrade fails due to drkonqi

Thu Jul 12, 2018 6:57 pm
On a fresh install of KDE Neon, I ran

```
apt update
apt dist-upgrade
```

I got the following error:

```
Preparing to unpack .../drkonqi_5.12.5-0+16.04+xenial+build8_amd64.deb ...
Unpacking drkonqi (5.12.5-0+16.04+xenial+build8) ...
dpkg: error processing archive /var/cache/apt/archives/drkonqi_5.12.5-0+16.04+xenial+build8_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libexec/drkonqi', which is also in package plasma-workspace 4:5.8.8-0neon+16.04+xenial+build19
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/drkonqi_5.12.5-0+16.04+xenial+build8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

```


User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Looks like a packaging bug, but it is easy ti fix.
The package in question contains a file that is already present, but suposed to be in a different package. To fix this, we will force it to overwrite the existing file:

Code: Select all
sudo dpkg -i --force-overwrite /var/cache/apt/archives/drkonqi_5.12.5-0+16.04+xenial+build8_amd64.deb


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
Nayar
Registered Member
Posts
38
Karma
0
OS
Thanks. Worked fine afterwards. Is it a new bug?


User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
I can't say, as I am not using Neon LTS, I am not seeing this on Neon User. You may want to make a bug report on it. But:
trying to overwrite '/usr/lib/x86_64-linux-gnu/libexec/drkonqi', which is also in package plasma-workspace 4:5.8.8-0neon+16.04+xenial+build19

This part is odd, as this package, which is the one with the existing file, is not present in the archives at version 5.8.8. Can I guess the iso image you used to do this fresh install is rather old?
With the Plasma version now at 5.12, it could be that which files belong in which package has changed. If you installed from a current iso this error would not have happened.
Iso images are built very often, the latest LTS image is from 4 July.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
Nayar
Registered Member
Posts
38
Karma
0
OS
Yes. It was an old ISO from last year. I edited out the `lts` part in `/etc/apt/sources.list.d/neon.list`. Finally got KDE 5.13 too :D




Bookmarks



Who is online

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