You are not logged in.

#1 2015-05-08 11:41:02

eherranzr
Member
Registered: 2011-06-28
Posts: 112

kactivities4 and kactivities-frameworks are in conflict

Hi!

I've tried to upgrade using pacman one of my computers after a long time and I get the following error:

[507][emilio:/home/emilio]$ LC_ALL=en_US sudo pacman -Syu 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
warning: archey3: local (20110906-1) is newer than community (0.5-3)
:: Replace ati-dri with extra/mesa? [Y/n] Y
:: Replace attica with extra/attica-qt4? [Y/n] Y
:: Replace baloo-widgets with extra/baloo4-widgets? [Y/n] Y
:: Replace dirmngr with core/gnupg? [Y/n] Y
:: Replace glamor-egl with extra/xorg-server? [Y/n] Y
:: Replace grantlee with extra/grantlee-qt4? [Y/n] Y
:: Replace intel-dri with extra/mesa? [Y/n] Y
:: Replace kdeadmin-kcron with extra/kcron? [Y/n] Y
:: Replace kdebase-katepart with extra/katepart4? [Y/n] Y
:: Replace kdebase-konsole with extra/konsole? [Y/n] Y
:: Replace kdebase-kwrite with extra/kwrite? [Y/n] Y
:: Replace kdeedu-blinken with extra/blinken? [Y/n] Y
:: Replace kdeedu-cantor with extra/cantor? [Y/n] Y
:: Replace kdeedu-kalgebra with extra/kalgebra? [Y/n] Y
:: Replace kdeedu-kanagram with extra/kanagram? [Y/n] Y
:: Replace kdeedu-kbruch with extra/kbruch? [Y/n] Y
:: Replace kdeedu-kgeography with extra/kgeography? [Y/n] Y
:: Replace kdeedu-khangman with extra/khangman? [Y/n] Y
:: Replace kdeedu-kig with extra/kig? [Y/n] Y
:: Replace kdeedu-kiten with extra/kiten? [Y/n] Y
:: Replace kdeedu-klettres with extra/klettres? [Y/n] Y
:: Replace kdeedu-kmplot with extra/kmplot? [Y/n] Y
:: Replace kdeedu-kstars with extra/kstars? [Y/n] Y
:: Replace kdeedu-kturtle with extra/kturtle? [Y/n] Y
:: Replace kdeedu-kwordquiz with extra/kwordquiz? [Y/n] Y
:: Replace kdeedu-parley with extra/parley? [Y/n] Y
:: Replace kdeedu-rocs with extra/rocs? [Y/n] Y
:: Replace kdeedu-step with extra/step? [Y/n] Y
:: Replace kdegames-bomber with extra/bomber? [Y/n] Y
:: Replace kdegames-bovo with extra/bovo? [Y/n] Y
:: Replace kdegames-granatier with extra/granatier? [Y/n] Y
:: Replace kdegames-kapman with extra/kapman? [Y/n] Y
:: Replace kdegames-katomic with extra/katomic? [Y/n] Y
:: Replace kdegames-kblackbox with extra/kblackbox? [Y/n] Y
:: Replace kdegames-kblocks with extra/kblocks? [Y/n] Y
:: Replace kdegames-kbounce with extra/kbounce? [Y/n] Y
:: Replace kdegames-kbreakout with extra/kbreakout? [Y/n] Y
:: Replace kdegames-kdiamond with extra/kdiamond? [Y/n] Y
:: Replace kdegames-kfourinline with extra/kfourinline? [Y/n] Y
:: Replace kdegames-killbots with extra/killbots? [Y/n] Y
:: Replace kdegames-kjumpingcube with extra/kjumpingcube? [Y/n] Y
:: Replace kdegames-klines with extra/klines? [Y/n] Y
:: Replace kdegames-kmines with extra/kmines? [Y/n] Y
:: Replace kdegames-knetwalk with extra/knetwalk? [Y/n] Y
:: Replace kdegames-kollision with extra/kollision? [Y/n] Y
:: Replace kdegames-kpatience with extra/kpatience? [Y/n] Y
:: Replace kdegames-kshisen with extra/kshisen? [Y/n] Y
:: Replace kdegames-ksquares with extra/ksquares? [Y/n] Y
:: Replace kdegraphics-gwenview with extra/gwenview? [Y/n] Y
:: Replace kdegraphics-kruler with extra/kruler? [Y/n] Y
:: Replace kdesdk-dev-scripts with extra/kde-dev-scripts? [Y/n] Y
:: Replace kdesdk-kapptemplate with extra/kapptemplate? [Y/n] Y
:: Replace kdesdk-kate with extra/kate? [Y/n] Y
:: Replace kdesdk-kompare with extra/kompare? [Y/n] Y
:: Replace kdesdk-lokalize with extra/lokalize? [Y/n] Y
:: Replace kdesdk-okteta with extra/okteta? [Y/n] Y
:: Replace kdetoys-kteatime with extra/kteatime? [Y/n] Y
:: Replace kdeutils-filelight with extra/filelight? [Y/n] Y
:: Replace kdeutils-kcalc with extra/kcalc? [Y/n] Y
:: Replace kdeutils-kcharselect with extra/kcharselect? [Y/n] Y
:: Replace kdeutils-ktimer with extra/ktimer? [Y/n] Y
:: Replace kdeutils-print-manager with extra/print-manager? [Y/n] Y
:: Replace kfilemetadata with extra/kfilemetadata4? [Y/n] Y
:: Replace libkscreen with extra/libkscreen4? [Y/n] Y
:: Replace libltdl with core/libtool? [Y/n] Y
:: Replace libreoffice-es with extra/libreoffice-still-es? [Y/n] Y
:: Replace lirc-utils with extra/lirc? [Y/n] Y
:: Replace lzo2 with core/lzo? [Y/n] Y
:: Replace mutter-wayland with extra/mutter? [Y/n] Y
:: Replace polkit-qt with extra/polkit-qt4? [Y/n] Y
:: Replace telepathy-qt with extra/telepathy-qt4? [Y/n] Y
resolving dependencies...
:: There are 2 providers available for phonon-qt5-backend:
:: Repository extra
   1) phonon-qt5-gstreamer  2) phonon-qt5-vlc

Enter a number (default=1): 1
warning: dependency cycle detected:
warning: bash will be installed before its readline dependency
warning: dependency cycle detected:
warning: lib32-harfbuzz will be installed before its lib32-freetype2 dependency
looking for inter-conflicts...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: kactivities4 and kactivities-frameworks are in conflict

I found this but I'm not asked to delete one of those packages.
What should I do? I don't want to delete one of them and break my system

Thanks!

Offline

#2 2015-05-08 12:35:46

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: kactivities4 and kactivities-frameworks are in conflict

KDE4 and KDE frameworks/plasma cannot be installed side by side. You'll have to choose either one of them. There are quite a lot of topics on this particular issue.

EDIT: ALso, wiki: https://wiki.archlinux.org/index.php/Plasma

Last edited by runical (2015-05-08 12:36:56)

Offline

#3 2015-05-08 13:53:22

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: kactivities4 and kactivities-frameworks are in conflict

I searched but don't really found the solution for this exactly.
I think Plasma 5 is the latest version of KDE so that's what I should install but I don't know exactly how to proceed to upgrade to it

Offline

#4 2015-05-08 14:11:27

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: kactivities4 and kactivities-frameworks are in conflict

You are right. Plasma and frameworks are the new version incarnation of KDE. The problem you are seeing is that you are trying to install KDE4 applications AND Plasma 5 applications at the same time, but this is not possible (hence the conflict). The solution is simple, make a choice for one of the two (plasma 5 of KDE4) and remove the other (plasma 5 is probably the best way to go, KDE4 will be removed from the repos quite soon and deprecated by upstream in august according to the wiki).

Offline

#5 2015-05-08 14:15:10

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: kactivities4 and kactivities-frameworks are in conflict

So should I uninstall kactivities4 and then install kactivities-frameworks? Would it be ok?

Offline

#6 2015-05-08 14:20:57

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: kactivities4 and kactivities-frameworks are in conflict

Yes, and all that depends on kactivities4. There is one catch though: with Plasma 5, they switched over to SDDM, so make sure you set that up.

Offline

#7 2015-05-08 14:35:25

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: kactivities4 and kactivities-frameworks are in conflict

I'll leave this on hold for a couple of weeks as I don't have many time and I'll try to do it then.
If necessary I'll make some questions here to be sure what to do

Thanks for all the help

Offline

#8 2015-05-08 15:01:18

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: kactivities4 and kactivities-frameworks are in conflict

Installing kactivities-frameworks with pacman -Sdd should let you update

Offline

#9 2015-05-08 16:48:06

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: kactivities4 and kactivities-frameworks are in conflict

arojas wrote:

Installing kactivities-frameworks with pacman -Sdd should let you update

That would force the installation ignoring conflicts right?
That would break my system probably

Offline

#10 2015-05-08 17:11:04

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: kactivities4 and kactivities-frameworks are in conflict

Right, sorry. That should be

pacman -Rdd kactivities4
pacman -S kactivities-frameworks --asdeps

Offline

#11 2015-05-08 19:32:46

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: kactivities4 and kactivities-frameworks are in conflict

arojas wrote:

Right, sorry. That should be

pacman -Rdd kactivities4
pacman -S kactivities-frameworks --asdeps

Thanks!
This makes more sense. Someone could tell if it's correct? I don't want to break my system or have problems later

Offline

#12 2015-05-08 19:47:54

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: kactivities4 and kactivities-frameworks are in conflict

Arojas is one of the developers responsible for packaging KDE software, so you can trust him on this.

The commands removes the activities package for KDE4 and installs the plasma version. Just make sure to set up SDDM (if applicable) and remove orphans and broken packages after the update.

Offline

#13 2015-05-08 20:13:09

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: kactivities4 and kactivities-frameworks are in conflict

runical wrote:

Arojas is one of the developers responsible for packaging KDE software, so you can trust him on this.

The commands removes the activities package for KDE4 and installs the plasma version. Just make sure to set up SDDM (if applicable) and remove orphans and broken packages after the update.

Thanks then, I'll do that.
So fierst set up SDDM (uninstall KDM?) and then remove orphans [pacman -Rns $(pacman -Qtdq) or yaourt -Qtd?] and then remove orphan packages (how?)
Maybe the run pacman -Qen to delete unused packages

Thanks

Offline

#14 2015-05-08 20:16:14

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: kactivities4 and kactivities-frameworks are in conflict

Just update normally after installing kactivities-frameworks. You don't need to install SDDM unless you plan to switch to Plasma 5. And if you do, you should do it after having updated your system.

Offline

#15 2015-05-08 20:47:29

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: kactivities4 and kactivities-frameworks are in conflict

arojas wrote:

Just update normally after installing kactivities-frameworks. You don't need to install SDDM unless you plan to switch to Plasma 5. And if you do, you should do it after having updated your system.

So this is what I have to do and nothing else:

pacman -Rdd kactivities4
pacman -S kactivities-frameworks --asdeps
pacman -Syu

Offline

#16 2015-08-15 10:38:46

eherranzr
Member
Registered: 2011-06-28
Posts: 112

Re: kactivities4 and kactivities-frameworks are in conflict

eherranzr wrote:
arojas wrote:

Just update normally after installing kactivities-frameworks. You don't need to install SDDM unless you plan to switch to Plasma 5. And if you do, you should do it after having updated your system.

So this is what I have to do and nothing else:

pacman -Rdd kactivities4
pacman -S kactivities-frameworks --asdeps
pacman -Syu

After sometime I tried this and when doing pacman -Syu I get the following error:

resolving dependencies...
warning: dependency cycle detected:
warning: bash will be installed before its readline dependency
warning: dependency cycle detected:
warning: lib32-harfbuzz will be installed before its lib32-freetype2 dependency
looking for inter-conflicts...
:: kalgebra and kdeedu-analitza are in conflict. Remove kdeedu-analitza? [y/N] y
:: kdeedu-data and libkdeedu are in conflict. Remove libkdeedu? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: agsync: requires synce-librapi

Any help please?

EDIT: Tried unsinstalling agsync

Last edited by eherranzr (2015-08-15 10:43:56)

Offline

#17 2015-08-15 11:13:51

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: kactivities4 and kactivities-frameworks are in conflict

Maybe you can try (logged out of kde/kdm, in a tty shell)

pacman -Rsc kactivities4
pacman -S plasma kf5 kf5-aids

That should remove kactivities4 and anything that depends on it, then install plasma5.


An old man, trying to stay sane

Offline

Board footer

Powered by FluxBB