MX Modified - Latest MX KDE 5.22 Using MX21 beta

For issues with MX that has been modified from the initial install. Example: adding packages that then cause issues.
Message
Author
User avatar
MAYBL8
MX Packager
Posts: 599
Joined: Thu Dec 31, 2009 1:48 pm

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#91 Post by MAYBL8 »

Andy,
I didn't have ksnip on my system.
This is what I got trying to install it:

Code: Select all

$ sudo apt-get install ksnip
[sudo] password for dcihon: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libkcolorpicker libkcolorpicker-dev libkcolorpicker0 libkimageannotator libkimageannotator-common libkimageannotator-dev
  libkimageannotator0
The following NEW packages will be installed:
  ksnip libkcolorpicker libkcolorpicker-dev libkcolorpicker0 libkimageannotator libkimageannotator-common libkimageannotator-dev
  libkimageannotator0
0 upgraded, 8 newly installed, 0 to remove and 1 not upgraded.
Need to get 769 kB of archives.
After this operation, 3,911 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirror.genesisadaptive.com/mxlinux/mx/repo buster/main amd64 libkcolorpicker amd64 0.1.4-1mx19+1 [16.8 kB]
Get:2 http://ftp.us.debian.org/debian unstable/main amd64 libkcolorpicker0 amd64 0.1.4-1 [16.9 kB]
Get:3 https://mirror.genesisadaptive.com/mxlinux/mx/repo buster/main amd64 libkcolorpicker-dev amd64 0.1.4-1mx19+1 [4,968 B]
Get:4 https://mirror.genesisadaptive.com/mxlinux/mx/repo buster/main amd64 libkimageannotator amd64 0.3.1-1mx19+1 [214 kB]
Get:5 https://mirror.genesisadaptive.com/mxlinux/mx/repo buster/main amd64 ksnip amd64 1.7.1-1mx19+1 [284 kB]
Get:6 http://ftp.us.debian.org/debian unstable/main amd64 libkimageannotator-common all 0.3.1-5 [9,940 B]
Get:7 http://ftp.us.debian.org/debian unstable/main amd64 libkimageannotator0 amd64 0.3.1-5 [214 kB]
Get:8 http://ftp.us.debian.org/debian unstable/main amd64 libkimageannotator-dev amd64 0.3.1-5 [8,648 B]
Fetched 769 kB in 1s (1,431 kB/s)               
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package libkcolorpicker.
(Reading database ... 380089 files and directories currently installed.)
Preparing to unpack .../0-libkcolorpicker_0.1.4-1mx19+1_amd64.deb ...
Unpacking libkcolorpicker (0.1.4-1mx19+1) ...
Selecting previously unselected package libkcolorpicker-dev.
Preparing to unpack .../1-libkcolorpicker-dev_0.1.4-1mx19+1_amd64.deb ...
Unpacking libkcolorpicker-dev (0.1.4-1mx19+1) ...
Selecting previously unselected package libkimageannotator.
Preparing to unpack .../2-libkimageannotator_0.3.1-1mx19+1_amd64.deb ...
Unpacking libkimageannotator (0.3.1-1mx19+1) ...
Selecting previously unselected package libkcolorpicker0:amd64.
Preparing to unpack .../3-libkcolorpicker0_0.1.4-1_amd64.deb ...
Unpacking libkcolorpicker0:amd64 (0.1.4-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-nruVtr/3-libkcolorpicker0_0.1.4-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libkColorPicker.so.0.1.4', which is also in package libkcolorpicker 0.1.4-1mx19+1
Selecting previously unselected package libkimageannotator-common.
Preparing to unpack .../4-libkimageannotator-common_0.3.1-5_all.deb ...
Unpacking libkimageannotator-common (0.3.1-5) ...
Selecting previously unselected package libkimageannotator0:amd64.
Preparing to unpack .../5-libkimageannotator0_0.3.1-5_amd64.deb ...
Unpacking libkimageannotator0:amd64 (0.3.1-5) ...
dpkg: error processing archive /tmp/apt-dpkg-install-nruVtr/5-libkimageannotator0_0.3.1-5_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libkImageAnnotator.so.0.3.1', which is also in package libkimageannotator 0.3.1-1mx19+1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package libkimageannotator-dev:amd64.
Preparing to unpack .../6-libkimageannotator-dev_0.3.1-5_amd64.deb ...
Unpacking libkimageannotator-dev:amd64 (0.3.1-5) ...
dpkg: error processing archive /tmp/apt-dpkg-install-nruVtr/6-libkimageannotator-dev_0.3.1-5_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libkImageAnnotator.so', which is also in package libkimageannotator 0.3.1-1mx19+1
Selecting previously unselected package ksnip.
Preparing to unpack .../7-ksnip_1.7.1-1mx19+1_amd64.deb ...
Unpacking ksnip (1.7.1-1mx19+1) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-nruVtr/3-libkcolorpicker0_0.1.4-1_amd64.deb
 /tmp/apt-dpkg-install-nruVtr/5-libkimageannotator0_0.3.1-5_amd64.deb
 /tmp/apt-dpkg-install-nruVtr/6-libkimageannotator-dev_0.3.1-5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dc

User avatar
andyprough
MX Packager
Posts: 918
Joined: Tue Jul 23, 2019 10:16 pm

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#92 Post by andyprough »

MAYBL8 wrote: Thu Jul 30, 2020 2:08 pm Andy,
I didn't have ksnip on my system.
This is what I got trying to install it:
Yup, same errors as me, I would assume it's a problem on the Sid side of things unless Norbert pops in and determines otherwise. It's Sid's libkimageannotator0 that is causing dpkg to throw up the "overwrite" error.
Primary Computer - Commodore 64: Processor - MOS 6510/8500, 1.023MHz; Memory - 64kb RAM, 20kB ROM - 8k BASIC V2, 8k Kernel, 4k Character ROM; Display output - 320x200, 16 colours; OS - BASIC V2.0; Weight: 1.8kg

User avatar
norbert
Posts: 95
Joined: Thu Jul 30, 2020 6:37 am

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#93 Post by norbert »

Hi
SwampRabbit wrote: Thu Jul 30, 2020 10:09 am Don't hesitate to stick around, we really do have a great community here on both sides of the fence.

Please check out MX in a VM or two, especially our KDE beta in the works, don't let that its an older KDE scare you off. ;)
Will do for sure, both! KDE beta in the works - how can I test this?
SwampRabbit wrote: Thu Jul 30, 2020 10:09 am That right there is the issue, there have been a few stabs at doing it. The last time I even looked at it I hit what seemed like a circular dependency issue... so I moved on to more important things. Compile time for all of it doesn't bother me, but I'm not fooling around with the other things especially when I'm not a Qt or KDE expert or even close.
A quick look at the rdepends of libqtcore5a in sid gives 2354 packages ... of course, many are in the KDE family, but there are still loads and loads that need to be recompiled and possibly fixed. I don't think this is a good idea to do for a stable release.

User avatar
norbert
Posts: 95
Joined: Thu Jul 30, 2020 6:37 am

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#94 Post by norbert »

MAYBL8 wrote: Thu Jul 30, 2020 2:08 pm

Code: Select all

$ sudo apt-get install ksnip
dpkg: error processing archive /tmp/apt-dpkg-install-nruVtr/5-libkimageannotator0_0.3.1-5_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libkImageAnnotator.so.0.3.1', which is also in package libkimageannotator 0.3.1-1mx19+1
Well, that seems to be messed up in various reasons: first, there seems to be a package libkimageannotator in mxlinux while Debian has libkimageannotator0 (which btw is generally the better idea when dealing with ABI changes). I am not sure whether the former (without the 0) ever was in Debian.

Now how to solve this - it is not trivial: If there are packages in mxlinux that depend on libkimageannotator (without the 0), then there are troubles ahead. One would need to build a new package libkimageannotator0 that replaces/breaks with the non-0 version, as well as provides the non-0 version to satisfy the dependencies. Not sure this is a good idea either.

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#95 Post by SwampRabbit »

norbert wrote: Thu Jul 30, 2020 8:09 pm Will do for sure, both! KDE beta in the works - how can I test this?
viewtopic.php?f=94&t=59297

😉
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
andyprough
MX Packager
Posts: 918
Joined: Tue Jul 23, 2019 10:16 pm

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#96 Post by andyprough »

norbert wrote: Thu Jul 30, 2020 8:18 pm
MAYBL8 wrote: Thu Jul 30, 2020 2:08 pm

Code: Select all

$ sudo apt-get install ksnip
dpkg: error processing archive /tmp/apt-dpkg-install-nruVtr/5-libkimageannotator0_0.3.1-5_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libkImageAnnotator.so.0.3.1', which is also in package libkimageannotator 0.3.1-1mx19+1
Well, that seems to be messed up in various reasons: first, there seems to be a package libkimageannotator in mxlinux while Debian has libkimageannotator0 (which btw is generally the better idea when dealing with ABI changes). I am not sure whether the former (without the 0) ever was in Debian.

Now how to solve this - it is not trivial: If there are packages in mxlinux that depend on libkimageannotator (without the 0), then there are troubles ahead. One would need to build a new package libkimageannotator0 that replaces/breaks with the non-0 version, as well as provides the non-0 version to satisfy the dependencies. Not sure this is a good idea either.
On my MX19.2 install, I disabled the Sid and the KDE OBS repos and told Synaptic to 'fix broken packages', and it fixed ksnip by upgrading libkimageannotator and libkimageannotator-dev (MX versions) and by removing libkimageannotator0 (Debian version):

Code: Select all

Start-Date: 2020-07-30  23:36:50
Commandline: /usr/sbin/synaptic
Requested-By: andy (1000)
Upgrade: libkimageannotator-dev:amd64 (0.2.1-1mx19+1, 0.3.1-1mx19+1), libkimageannotator:amd64 (0.2.1-1mx19+1, 0.3.1-1mx19+1)
Remove: libkimageannotator0:amd64 (0.3.1-5)
End-Date: 2020-07-30  23:36:52
Now apt is advising to autoremove libkimageannotator-common (Debian version):

Code: Select all

$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libcrypt-dev libebml4v5 libenchant-2-2 libgsoap-2.8.91
  libkimageannotator-common libmatroska6v5 libprotobuf-lite22 libre2-7
  libvncserver1 libwpe-1.0-1 libwpebackend-fdo-1.0-1 xsel
0 upgraded, 0 newly installed, 12 to remove and 1 not upgraded.
Primary Computer - Commodore 64: Processor - MOS 6510/8500, 1.023MHz; Memory - 64kb RAM, 20kB ROM - 8k BASIC V2, 8k Kernel, 4k Character ROM; Display output - 320x200, 16 colours; OS - BASIC V2.0; Weight: 1.8kg

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#97 Post by SwampRabbit »

andyprough wrote: Fri Jul 31, 2020 1:04 amNow apt is advising to autoremove libkimageannotator-common
That’s because the system doesn’t know there is something that depends on it probably.

You can take a look and see if if it’s depends or just a recommends for ksnip.

I’d just ignore any auto remove items for the time being unless they get out of hand, in that case you should manually remove some instead.

Random question. You haven’t had issues booting or issues with GRUB have you? What version are you on?

Edit: you might want to consider pinning some items you run across like knsip
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
Stevo
Developer
Posts: 14545
Joined: Fri Dec 15, 2006 7:07 pm

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#98 Post by Stevo »

We need to modify our kimageannotator build to be the same as Debian's, and have it conflict with the packages we did before Debian. That's why we don't have the "0" at the end or the -common package.

User avatar
andyprough
MX Packager
Posts: 918
Joined: Tue Jul 23, 2019 10:16 pm

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#99 Post by andyprough »

SwampRabbit wrote: Fri Jul 31, 2020 2:04 am
andyprough wrote: Fri Jul 31, 2020 1:04 amNow apt is advising to autoremove libkimageannotator-common
That’s because the system doesn’t know there is something that depends on it probably.

You can take a look and see if if it’s depends or just a recommends for ksnip.
libkimageannotator-common doesn't come up as either a dependency or a recommended package for ksnip.
SwampRabbit wrote: Fri Jul 31, 2020 2:04 amRandom question. You haven’t had issues booting or issues with GRUB have you? What version are you on?

Code: Select all

grub-efi-amd64-bin/mx,now 2.04-3mx19+3 amd64 [installed,automatic]
No issues booting. This system is MX19.2 with everything kept on the Debian Buster and MX repos, except Norbert's KDE packages are pulling their dependencies from Debian Sid. I have to manually update the KDE packages and then disable Sid in order to keep the rest of the system running on packages from Buster and MX. Neither this system nor the antiX Sid system with Norbert's KDE packages has had any trouble booting for me. This MX19.2 system has run remarkably well for about 3 months now, despite mixing it with the KDE+Sid packages.
SwampRabbit wrote: Fri Jul 31, 2020 2:04 amEdit: you might want to consider pinning some items you run across like knsip
Yes, but I've been actually trying to let things break to give feedback to you and some of the other devs. So far all I've found on MX is this little ksnip thing and that virtualbox will only install from the Sid repo.
You do not have the required permissions to view the files attached to this post.
Primary Computer - Commodore 64: Processor - MOS 6510/8500, 1.023MHz; Memory - 64kb RAM, 20kB ROM - 8k BASIC V2, 8k Kernel, 4k Character ROM; Display output - 320x200, 16 colours; OS - BASIC V2.0; Weight: 1.8kg

User avatar
norbert
Posts: 95
Joined: Thu Jul 30, 2020 6:37 am

Re: MX Modified - KDE 5.19.3 on MX (UNSUPPORTED - extremely experimental)

#100 Post by norbert »

Stevo wrote: Fri Jul 31, 2020 2:25 am We need to modify our kimageannotator build to be the same as Debian's, and have it conflict with the packages we did before Debian. That's why we don't have the "0" at the end or the -common package.
Yes yes yes!!! Please, for the sake of compatibility and consistency!

Post Reply

Return to “MX Modified”