You are not logged in.

#1 2017-06-14 00:09:09

newsboost
Member
Registered: 2016-07-24
Posts: 157

[SOLVED] pacman -Suy ==> :: clingo and clasp are in conflict.

Hi all,

Sorry, I cannot upgrade, here's what I did and the output:

# pacman -Suy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 blackarch is up to date
:: Starting full system upgrade...
warning: metasploit: local (4:39481.d2100bf-3) is newer than community (4.14.21-1)
:: Replace wxgtk with extra/wxgtk2? [Y/n] 
resolving dependencies...
looking for conflicting packages...
warning: removing 'clasp' from target list because it conflicts with 'clingo'
:: clingo and clasp are in conflict. Remove clasp? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: clingo and clasp are in conflict

I don't understand why this is marked as "resolved" under https://bugs.archlinux.org/task/54310 but still it does not work, as there's still a conflict? Then I tried:

[root@HPpc martin]# pacman -R clasp
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: aspcud: removing clasp breaks dependency 'clasp'

I don't understand the message that removing "clasp" cannot be done, because it breaks dependency "clasp"? I thought it would only be a problem, if *another* package depended on "clasp" - but as it only depends on itself, I don't see why it cannot remove this package?

Please advice, I've been pulling my hair the last days due to this, so I would be grateful for help/ideas in this matter, thanks!

Last edited by newsboost (2017-06-14 01:42:05)

Offline

#2 2017-06-14 00:17:20

rdeckard
Wiki Maintainer
Registered: 2015-01-28
Posts: 137

Re: [SOLVED] pacman -Suy ==> :: clingo and clasp are in conflict.

I believe it's saying the package "aspcud" depends on "clasp".

Offline

#3 2017-06-14 00:17:23

shmibs
Member
Registered: 2012-09-11
Posts: 93
Website

Re: [SOLVED] pacman -Suy ==> :: clingo and clasp are in conflict.

the line

:: aspcud: removing clasp breaks dependency 'clasp'

means that the package aspcud has a dependency 'clasp' which will be broken by removing clasp.

in general, if you want the list of packages which depend on or are required by a particular package, you can get it by running:

pacman -Qi <packagename>

[site] | [dotfiles] | あたしたち、人間じゃないの?

Offline

#4 2017-06-14 00:19:45

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: [SOLVED] pacman -Suy ==> :: clingo and clasp are in conflict.

Clingo provides `clasp`, so you could answer "y" when it asks you whether it shall replace clasp with clingo.

That conflict was added fairly recently (although I admit that I'm always pretty confused by the history in official packages).

--edit: I guess that both packages are installed on your system right now. See shmibs' post for checking why they had been installed in the first place.

Last edited by ayekat (2017-06-14 00:21:36)


pkgshackscfgblag

Offline

#5 2017-06-14 01:40:29

newsboost
Member
Registered: 2016-07-24
Posts: 157

Re: [SOLVED] pacman -Suy ==> :: clingo and clasp are in conflict.

Hi all,

I'm very gratefull for all your help, thanks! I succeeded using the method below (and did the following to investigate, what to do):

# pacman -Qi clasp
Name            : clasp
Version         : 3.2.1-1
Description     : Answer set solver
Architecture    : x86_64
URL             : https://potassco.org/
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : gcc-libs
Optional Deps   : None
Required By     : aspcud                <============= NB!
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1289.00 KiB
Packager        : Alexander Rødseth <rodseth@gmail.com>
Build Date      : Sun 27 Nov 2016 01:09:16 PM CET
Install Date    : Mon 29 May 2017 11:00:11 PM CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

# pacman -Qi clingo
Name            : clingo
Version         : 5.1.0-1
Description     : Grounding tools for (disjunctive) logic programs
Architecture    : x86_64
URL             : https://potassco.org/
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : python2
Optional Deps   : None
Required By     : aspcud           <============= NB!
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 10.25 MiB
Packager        : Alexander Rødseth <rodseth@gmail.com>
Build Date      : Sun 27 Nov 2016 12:40:30 PM CET
Install Date    : Mon 29 May 2017 11:00:11 PM CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

# pacman -Qi aspcud
Name            : aspcud
Version         : 1.9.1-1
Description     : Solver for package dependencies
Architecture    : x86_64
URL             : http://potassco.sourceforge.net/
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : clasp  clingo
Optional Deps   : None
Required By     : opam        <============= NB!
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 440.00 KiB
Packager        : Alexander Rødseth <rodseth@gmail.com>
Build Date      : Sun 27 Nov 2016 01:21:54 PM CET
Install Date    : Mon 29 May 2017 11:00:11 PM CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

# pacman -Qi opam
Name            : opam
Version         : 1.2.2-2
Description     : OCaml package manager
Architecture    : x86_64
URL             : http://opam.ocaml.org/
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : aspcud  ocaml
Optional Deps   : darcs: For downloading packages with darcs
                  git: For downloading packages with git [installed]
                  mercurial: For downloading packages with mercurial
Required By     : None          <============= Ok...
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 11.36 MiB
Packager        : Alexander Rødseth <rodseth@gmail.com>
Build Date      : Sun 27 Nov 2016 01:47:39 PM CET
Install Date    : Mon 29 May 2017 11:00:11 PM CEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

After I while, I realized I had to get rid of those packages it complained about (then I must re-install later if necessary, now it's been to long ago I last updated):

# pacman -R opam aspcud clasp clingo
checking dependencies...

Packages (4) aspcud-1.9.1-1  clasp-3.2.1-1  clingo-5.1.0-1  opam-1.2.2-2

Total Removed Size:  23.30 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/4) removing opam                                                                                                  [######################################################################] 100%
(2/4) removing aspcud                                                                                                [######################################################################] 100%
(3/4) removing clingo                                                                                                [######################################################################] 100%
(4/4) removing clasp                                                                                                 [######################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Now I tried:

# pacman -Suy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 blackarch is up to date
:: Starting full system upgrade...
warning: metasploit: local (4:39481.d2100bf-3) is newer than community (4.14.21-1)
:: Replace wxgtk with extra/wxgtk2? [Y/n] 
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: gnome-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: gnome-vfs-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: gnomecanvas-perl: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gnome2-wnck: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-goo-canvas: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gtk2-imageview: installing perl (5.26.0-1) breaks dependency 'perl<5.25'
:: perl-gtk2-unique: installing perl (5.26.0-1) breaks dependency 'perl<5.25'

Eventually I discovered I needed to remove these packages + shutter (didn't work without removing shutter, I could use the "-Si" option to see some packages were required by shutter):

# pacaur -R gnome-perl gnome-vfs-perl gnomecanvas-perl perl-gnome2-wnck perl-goo-canvas perl-gtk2-imageview perl-gtk2-unique shutter
checking dependencies...

Packages (8) gnome-perl-1.045-4  gnome-vfs-perl-1.082-4  gnomecanvas-perl-1.002-14  perl-gnome2-wnck-0.16-11  perl-goo-canvas-0.06-7  perl-gtk2-imageview-0.05-7  perl-gtk2-unique-0.05-13
             shutter-0.93.1-3
...

Then "pacman -Suy" now worked! After updating, I made "pacaur -S shutter" and rebooted (as it was a pretty big update, 1.3 GB download or 5 GB installed)... Now I've just rebooted and it feels so very nice, when the whole system is up-to-date, thanks a lot everyone - I'm grateful for your help, problem is solved!!!

Offline

Board footer

Powered by FluxBB