Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mariadb & akonadi persistent unsolvable conflict mess
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Fri Aug 25, 2017 10:14 pm    Post subject: mariadb & akonadi persistent unsolvable conflict mess Reply with quote

Is there currently no way out of this mess? My system is up-to-date, dep-cleaned, and consistent, but I still get this problem. I've read the gentoo and kde bugzilla related posts, removed or downgraded or masked mariadb, and read the related gentoo forum posts. The kde bugzilla said downgrade to mariadb-10.1.25 worked with akonadi-17.04, but there's no such ebuild for gentoo. (tried 10.1.26, but same mess occurs).
No matter what I've tried so far, it always winds up with this, or worse. (not to mention the ongoing ruby-2.3 failures, along with the kde-apps and plasma failures, all apparently due to the mariadb/akonadi conflict)

Do we just need to be patient and wait for fixes to be resoved in portage, or is there something else to try I've just missed?
Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-lang/ruby-2.3.4-r3:2.3::gentoo [2.3.4-r2:2.3::gentoo] USE="berkdb gdbm ipv6 ncurses rdoc readline ssl -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -tk -xemacs" 0 KiB
[ebuild     U  ] kde-apps/akonadi-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="mysql xml -debug -designer -postgres -sqlite {-test} -tools" 1,394 KiB
[ebuild     U  ] kde-apps/akonadi-mime-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="-debug {-test}" 128 KiB
[ebuild     U  ] kde-apps/akonadi-contacts-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="-debug -prison {-test}" 344 KiB
[ebuild     U  ] kde-apps/kgpg-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="handbook -debug (-selinux)" 2,754 KiB
[ebuild     U  ] kde-apps/kdeutils-meta-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="cups nls qt4%* -floppy -lirc" 0 KiB
[ebuild     U  ] kde-plasma/kdeplasma-addons-5.10.5:5::gentoo [5.10.4:5::gentoo] USE="-debug -share" 1,342 KiB
[ebuild     U  ] kde-plasma/plasma-meta-5.10.5:5::gentoo [5.10.4:5::gentoo] USE="bluetooth display-manager gtk handbook pam sddm wallpapers -grub -networkmanager -plymouth -pulseaudio -sdk" 0 KiB
[blocks B      ] >=dev-db/mariadb-10.2 (">=dev-db/mariadb-10.2" is blocking kde-apps/akonadi-17.08.0)

Total: 8 packages (8 upgrades), Size of downloads: 5,960 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-db/mariadb-10.2.8:0/18::gentoo, installed) pulled in by
    =dev-db/mariadb-10.2*[embedded?,server,static?] (=dev-db/mariadb-10.2*[server]) required by (virtual/mysql-5.6-r9:0/18::gentoo, installed)
    dev-db/mariadb required by @selected
    dev-db/mariadb:0/18[client-libs(+),static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (dev-db/mariadb:0/18[client-libs(+),abi_x86_64(-)]) required by (virtual/libmysqlclient-18:0/18::gentoo, installed)

  (kde-apps/akonadi-17.08.0:5/5::gentoo, ebuild scheduled for merge) pulled in by
    >=kde-apps/akonadi-17.08.0:5 required by (kde-apps/akonadi-contacts-17.08.0:5/5::gentoo, ebuild scheduled for merge)
    >=kde-apps/akonadi-17.08.0:5 required by (kde-apps/kgpg-17.08.0:5/5::gentoo, ebuild scheduled for merge)
    >=kde-apps/akonadi-17.08.0:5 required by (kde-apps/akonadi-mime-17.08.0:5/5::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Fri Aug 25, 2017 10:18 pm    Post subject: Reply with quote

It's a feature. Since akonadi breaks with mariadb-10.2, >=mariadb-10.2 is blocked. So... downgrade it.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Sat Aug 26, 2017 1:30 am    Post subject: Reply with quote

Hmmm... Thanks for the help, but I'm ot sure which one you mean. I did downgrade mariadb, but it didn't solve the problem. Masking akonadi-17.08.0 or --excluding akonadi-17.08.0 on emerge @world doesn't either.

I'm running ~amd64, so am getting all the 17.08.0 kde-apps, plasma-meta-5.10.5, and kdeutils-meta stuff, which apparently need the akonadi-17.08.0 packages.

Are you saying downgrade only akonadi-17.08.0 and thus the 7 other kde packages which won't emerge? All my other kde-apps, plasma, and frameworks packages are fully updated.

From what is on rhe gentoo and kde bugzillas there doesn't seem to be any fix as yet,. Haven't found anything elsewhere either. I just can't figure out what I'm missing, or if there is currently simply not a fix for the conlict.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Sat Aug 26, 2017 2:18 am    Post subject: Reply with quote

OK- downgraded to mariadb-10.1.24 (no 10.1.25 ebuild), put >=dev-db/mariadb-10.1.26 in /etc/portage/package.mask, ran emerge@preservedrebuild which did qtsql, qtsql-5.7.1, and dev-perl/DBD-mysql.
Even rebuilt virtual/mysql and virtual/libmysqlclient as a precaution.

An emerge -upDNv @world still wants dev-db/mariadb-10.2
Code:
 zh-TW" 60,555 KiB
[ebuild     U  ] kde-apps/akonadi-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="mysql xml -debug -designer -postgres -sqlite {-test} -tools" 1,394 KiB
[ebuild     U  ] kde-apps/akonadi-mime-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="-debug {-test}" 128 KiB
[ebuild     U  ] kde-apps/akonadi-contacts-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="-debug -prison {-test}" 344 KiB
[ebuild     U  ] kde-apps/kgpg-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="handbook -debug (-selinux)" 2,754 KiB
[ebuild     U  ] kde-apps/kdeutils-meta-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="cups nls qt4%* -floppy -lirc" 0 KiB
[ebuild     U  ] kde-plasma/kdeplasma-addons-5.10.5:5::gentoo [5.10.4:5::gentoo] USE="-debug -share" 1,342 KiB
[ebuild     U  ] kde-plasma/plasma-meta-5.10.5:5::gentoo [5.10.4:5::gentoo] USE="bluetooth display-manager gtk handbook pam sddm wallpapers -grub -networkmanager -plymouth -pulseaudio -sdk" 0 KiB
[blocks B      ] >=dev-db/mariadb-10.2 (">=dev-db/mariadb-10.2" is blocking kde-apps/akonadi-17.08.0)

Total: 14 packages (14 upgrades), Size of downloads: 79,981 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-db/mariadb-10.2.8:0/18::gentoo, ebuild scheduled for merge) pulled in by
    =dev-db/mariadb-10.2*[embedded?,server,static?] (=dev-db/mariadb-10.2*[server]) required by (virtual/mysql-5.6-r9:0/18::gentoo, installed)
    dev-db/mariadb required by @selected
    dev-db/mariadb:0/18[client-libs(+),static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (dev-db/mariadb:0/18[client-libs(+),abi_x86_64(-)]) required by (virtual/libmysqlclient-18:0/18::gentoo, installed)

  (kde-apps/akonadi-17.08.0:5/5::gentoo, ebuild scheduled for merge) pulled in by
    >=kde-apps/akonadi-17.08.0:5 required by (kde-apps/akonadi-contacts-17.08.0:5/5::gentoo, ebuild scheduled for merge)
    >=kde-apps/akonadi-17.08.0:5 required by (kde-apps/kgpg-17.08.0:5/5::gentoo, ebuild scheduled for merge)
    >=kde-apps/akonadi-17.08.0:5 required by (kde-apps/akonadi-mime-17.08.0:5/5::gentoo, ebuild scheduled for merge)

Can I just remove all akonadi related kde stuff sucessfully, as described here? https://userbase.kde.org/Akonadi

I only like the kde digital clock in the panel, but could find another clock if I can forever rid all my kde systems of akonadi and friends.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sat Aug 26, 2017 6:38 am    Post subject: Reply with quote

Code:
(dev-db/mariadb-10.2.8:0/18::gentoo, ebuild scheduled for merge)

IF it is scheduled for merge, then you didn't mask it properly. OR it is overriden by package.unmask.

Code:
>=dev-db/mariadb-10.1.26

Why mask future 10.1 versions when you can do >=10.2?

wrc1944 wrote:
I only like the kde digital clock in the panel, but could find another clock if I can forever rid all my kde systems of akonadi and friends.

That KDE userbase is rather outdated, Plasma clock does not care about akonadi (calendar won't show your appointments, that's all).


Last edited by asturm on Sat Aug 26, 2017 7:25 am; edited 2 times in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sat Aug 26, 2017 7:22 am    Post subject: Reply with quote

wrc1944 wrote:
Code:
[ebuild     U  ] kde-apps/kgpg-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="handbook -debug (-selinux)" 2,754 KiB
[ebuild     U  ] kde-apps/kdeutils-meta-17.08.0:5::gentoo [17.04.3:5::gentoo] USE="cups nls qt4%* -floppy -lirc" 0 KiB

Can I just remove all akonadi related kde stuff sucessfully, as described here? https://userbase.kde.org/Akonadi

Can't have kgpg (and therefore kdeutils-meta, and therefore kde-apps-meta) without akonadi.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Sat Aug 26, 2017 8:26 am    Post subject: Reply with quote

wrc1944 wrote:
OK- downgraded to mariadb-10.1.24 (no 10.1.25 ebuild), put >=dev-db/mariadb-10.1.26 in /etc/portage/package.mask,[...]

Hm, masking all newer versions make later new trouble when new stable version comes.
I think a better idea is, pin mariadb on stable, this also works with newer versions.
cat /etc/portage/package.accept_keywords/MySQL:
dev-db/mariadb -~amd64
virtual/libmysqlclient -~amd64
virtual/mysql -~amd64
dev-db/mysql-init-scripts -~amd64
works fine on my ~amd64 testingbox with akonadi.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Sun Aug 27, 2017 1:04 am    Post subject: Reply with quote

Many thanks to asturm & Josef.95,
Attempting to removie akonadi and friends just to keep the newest mariadb was indeed a bad idea.

The next emerge --depclean -pv quickly showed me the error of my ways. :roll:

For many years I had religiously avoided mixing stable and ~arch, but Josef.95's suggestion of pinning mariadb and mysql stuff to amd64 stable was surely a far better idea-, and worked fine.

I am wondering how long the stable mariadb will work as kde moves on to later versions. Or is it that these particular conflicting packages will move along together with amd64 and ~amd64 nicely existing in tandem through new versions of each?

Or, will ~amd64 akonadi be fixed so it functions with ~amd64 mariadb?
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
vespaman
Guru
Guru


Joined: 28 Aug 2002
Posts: 346
Location: Stockholm, Sweden

PostPosted: Fri Sep 01, 2017 11:14 pm    Post subject: Reply with quote

Thanks! I had the same issue, and marking stable helped me out as well!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum