You are not logged in.

#1 2023-06-19 19:56:55

korimitsu
Member
Registered: 2016-08-14
Posts: 143

ocaml and ocaml4 dependency hell

This is what happens, any help please?

$ paru
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

:: Conflicts found:
    ocaml4: ocaml  
    ocaml4-lablgtk2: lablgtk2  

:: Conflicting packages will have to be confirmed manually
:: marked out of date: lib32-aom  lib32-libraqm  lib32-libxpm  lib32-net-snmp  lib32-pciutils  lib32-sane  paru
:: orphans: lib32-gd  lib32-libraqm  lib32-sane

Repo Make (1) dune-3.8.0-2
Aur (7) eclipse-java-2:4.28-1  google-chrome-114.0.5735.133-1  ocaml4-4.14.1-1  ocaml4-camlp4-4.14+1-1  ocaml4-lablgtk2-2.18.12-1  ocaml4-num-1.4-1  
    mldonkey-3.1.7.2-3
Aur Make (4) ocaml4-4.14.1-1 (ocaml4-compiler-libs)  ocaml4-ocamlbuild-0.14.2-1  ocaml4-findlib-1.9.6-1  ocaml4-camlp-streams-5.0.1-1

:: Proceed to review? [Y/n]: Y
[...]
==> Creating package "ocaml4-compiler-libs"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ocaml4 4.14.1-1 (Mon 19 Jun 2023 01:52:39 PM)
==> Cleaning up...
[sudo] password for jobs: 
loading packages...
resolving dependencies...
looking for conflicting packages...
:: ocaml4 and ocaml are in conflict. Remove ocaml? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing ocaml breaks dependency 'ocaml' required by camlp4
:: removing ocaml breaks dependency 'ocaml>=5.0.0' required by ocaml-num
loading packages...
resolving dependencies...
looking for conflicting packages...
:: ocaml4 and ocaml are in conflict. Remove ocaml? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing ocaml breaks dependency 'ocaml' required by camlp4
:: removing ocaml breaks dependency 'ocaml>=5.0.0' required by ocaml-num
loading packages...
resolving dependencies...
looking for conflicting packages...
:: ocaml4 and ocaml are in conflict. Remove ocaml? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing ocaml breaks dependency 'ocaml' required by camlp4
:: removing ocaml breaks dependency 'ocaml>=5.0.0' required by ocaml-num
loading packages...
resolving dependencies...
looking for conflicting packages...
:: ocaml4 and ocaml are in conflict. Remove ocaml? [y/N]

Offline

#2 2023-06-19 20:07:27

korimitsu
Member
Registered: 2016-08-14
Posts: 143

Re: ocaml and ocaml4 dependency hell

Fixed it with:

sudo pacman -Rdd ocaml4-ocamlbuild ocaml-num camlp4

But isn't it's being taken care of automatically?

Offline

#3 2023-06-22 18:54:11

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: ocaml and ocaml4 dependency hell

It _is_ been taken care of. pacman should not deinstall a package you might need automagically, warns you politely that there is a conflict and asks what to do. And as paru is a pacman wrapper, it should work like pacman as far as possible.

Offline

Board footer

Powered by FluxBB