Artix Linux Forum

Artix Linux => Package management => Topic started by: Mirceamx on 09 October 2018, 22:14:49

Title: SOLVED: Unable to Update 'cause of conflicts...What can I do?
Post by: Mirceamx on 09 October 2018, 22:14:49
When I run: sudo pacman -Suy I get:

error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: xcursor-breeze and breeze are in conflict


What can I do?
It would probably help to know I'm running Artix runit with KDE Plasma.
Title: Re: Unable to Update 'cause of conflicts...What can I do?
Post by: fungalnet on 09 October 2018, 23:05:26
xcursor-breeze is an AUR pkg you must have installed in the past.  Breeze is one used by plasma.  The aur pkg seems to be for use for those that are not running plasma and want the breeze like cursor theme.
So I would remove xcursor-breeze which lists a conflict with breeze.  Maybe something in plasma now requires breeze which can't be installed till xcursor-breeze is gone.  Most likely it will not affect anything.

Code: [Select]
$ sudo pacman -R xcursor-breeze
then
Code: [Select]
$ sudo pacman -Su
Title: Re: Unable to Update 'cause of conflicts...What can I do?
Post by: Mirceamx on 09 October 2018, 23:11:52
Thank you for trying to help. I also thought of that but:

error: target not found: xcursor-breeze

That is very interesting. What else can I do?
Title: Re: Unable to Update 'cause of conflicts...What can I do?
Post by: fungalnet on 10 October 2018, 01:28:54
There are 3 AUR pkgs that probably all provide xcursor-breeze
1 aur/xcursor-breeze 1:5.13.4-1 (43) (1.10)
    Breeze cursor theme (KDE Plasma 5). This package is for usage in non-KDE Plasma desktops.
2 aur/xcursor-breeze-neutral-git r9.08f15b2-2 (2) (0.74)
    Neutral fork of KDEs Breeze Cursor
3 aur/xcursor-breeze-serie-obsidian 2.0-1 (2) (0.00)
    Breeze Serie Obsidian cursor theme, right handed.

Code: [Select]
$ pacman -Qs  breeze

And let us know the output.
If it is one of the other two you will have to key-in the whole name to remove it.
If you are simply updating then it must be a pkg that previously didn't "depend" on breeze and now it does.  Pacman wouldn't update or do anything with aur pkgs, that is why they are always named different than what is on arch repositories.

Code: [Select]
% sudo pacman -S breeze
resolving dependencies...
looking for conflicting packages...
:: breeze and xcursor-breeze are in conflict. Remove xcursor-breeze? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: breeze and xcursor-breeze are in conflict
Title: Re: Unable to Update 'cause of conflicts...What can I do?
Post by: Mirceamx on 10 October 2018, 05:55:02


There are 3 AUR pkgs that probably all provide xcursor-breeze
1 aur/xcursor-breeze 1:5.13.4-1 (43) (1.10)
    Breeze cursor theme (KDE Plasma 5). This package is for usage in non-KDE Plasma desktops.
2 aur/xcursor-breeze-neutral-git r9.08f15b2-2 (2) (0.74)
    Neutral fork of KDEs Breeze Cursor
3 aur/xcursor-breeze-serie-obsidian 2.0-1 (2) (0.00)
    Breeze Serie Obsidian cursor theme, right handed.

Code: [Select]
$ pacman -Qs  breeze

And let us know the output.
If it is one of the other two you will have to key-in the whole name to remove it.
If you are simply updating then it must be a pkg that previously didn't "depend" on breeze and now it does.  Pacman wouldn't update or do anything with aur pkgs, that is why they are always named different than what is on arch repositories.

Code: [Select]
% sudo pacman -S breeze
resolving dependencies...
looking for conflicting packages...
:: breeze and xcursor-breeze are in conflict. Remove xcursor-breeze? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: breeze and xcursor-breeze are in conflict

~ $ pacman -Qs  breeze
local/breeze 5.13.5-1 (plasma)
    Artwork, styles and assets for the Breeze visual style for the Plasma Desktop
local/breeze-gtk 5.13.5-1 (plasma)
    Breeze widget theme for GTK 2 and 3
local/breeze-icons 5.50.0-1 (kf5)
    Breeze icon themes

error: target not found: xcursor-breeze-serie-obsidian
~ $ sudo pacman -R xcursor-breeze-neutral-git
error: target not found: xcursor-breeze-neutral-git
~ $ sudo pacman -R xcursor-breeze
error: target not found: xcursor-breeze
Title: Re: Unable to Update 'cause of conflicts...What can I do?
Post by: nous on 10 October 2018, 09:10:41
One of your installed packages (probably from the AUR) either depends or provides xcursor-breeze and/or one of the packages that are to be updated does the same (i.e. tries to pull xcursor-breeze. It's complicated and pacman's output isn't very helpful. The simplest solution is to use yaourt for the update, because it'll tell you which package is that.
Code: [Select]
% sudo yaourt -Su
If all else fails, try ignoring the breeze updates:
Code: [Select]
sudo pacman -Su --ignore breeze,xcursor-breeze
Title: Re: Unable to Update 'cause of conflicts...What can I do?
Post by: Mirceamx on 10 October 2018, 09:14:31
SOLVED: By removing "artix-lxqt-presets"
Title: Re: SOLVED: Unable to Update 'cause of conflicts...What can I do?
Post by: nous on 10 October 2018, 09:32:33
Was that hinted by yaourt then?
Title: Re: SOLVED: Unable to Update 'cause of conflicts...What can I do?
Post by: artoo on 10 October 2018, 10:11:55
xcursor-breeze is a new depend of artix-lxqt-presets added yesterday.
Your mirror probably hasn't synced yet.
Title: Re: SOLVED: Unable to Update 'cause of conflicts...What can I do?
Post by: fungalnet on 10 October 2018, 12:33:39
I see it now too in galaxy.
So you are running plasma but have left lxqt on-board as well?