OPAM-REMOVE(1)
๐ OPAM-REMOVE(1) โ the opam manual, but make it cute ๐
okay bestie, gather round, because this is opam-remove and it is literally the "undo" button of your opam life. it lives in the Opam Manual, section 1. let's get into it ๐ซถ
โจ NAME โจ
opam-remove โ Remove a list of packages. yes that's it. that's the whole name. iconic brevity honestly ๐
๐ธ SYNOPSIS ๐ธ
opam remove [OPTION]โฆ [PACKAGES]โฆ
like. that's the shape of it. options, then packages, go wild โจ
๐ฆ DESCRIPTION ๐ฆ
so here's the tea: this command uninstalls one or more packages that are currently installed in the compiler switch you have selected right now. that's the key part โ the currently selected compiler switch. if the packages you want gone are sitting in a different compiler, you can't just ask nicely from here. you gotta switch compilers first with opam switch, or hit it with the --switch flag instead. no cap.
think of this command as the exact inverse of opam-install. it's giving mirror image. ๐ช
and here's a fun lil bonus: if you hand it a directory name as a package, then packages pinned to that directory get both unpinned and removed. two-for-one. we love a multitasker ๐
๐ ARGUMENTS ๐
PACKAGESโ a list of package names, and each one can optionally carry a version or a constraint. so likepkg, orpkg.1.0, orpkg>=0.5โ all valid, all slay. you can also pass directory names that contain a package description, but they need to be explicit directories, like./srcdiror.โ don't be vague about it, bestie, opam needs the receipts ๐
๐ OPTIONS ๐
-a,--auto-removeโ removes all the packages that were never explicitly installed by you and that aren't needed by anything anymore. basically it sweeps up the strays ๐งน. and listen: if you want to protect a package from getting swept, runopam install <pkg> --set-root. that pins it down as a root, and auto-remove will leave it alone. this flag can also be flipped on via the$OPAMAUTOREMOVEconfiguration variable.--destdir=DIRโ plot twist, this one doesn't uninstall anything at all! instead it reverts whatopam install --destdirdid: it removes, from the givenDIR, the files corresponding to what the listed packages installed into the current switch. โ ๏ธ heads up: for this to work reliably, the package needs to still be installed at the same version that was used forinstall --destdir. and when you use this, the packages are not removed from the current opam switch. so your switch stays untouched, onlyDIRgets cleaned up.--forceโ runs the remove commands of the given packages directly, even if opam doesn't consider them installed. yeah. even then. opam trusts you. ๐ซก--formula=FORMULA(absent=[]) โ experimental, so don't @ me if it's weird. you specify a dependency formula that the solution has to verify, in addition to the switch invariant. the format is the exact same as how you write dependencies in package definition files, e.g.'"foo" {>= "1.1"}'.--recursiveโ allows recursive lookups of*.opamfiles. cf.--subpathtoo โ they're besties, they work together. ๐--subpath=PATHโ grabs the*.opamfiles from the given sub directory instead of the top directory. sources then come from that targeted sub directory, and internally only that subdirectory gets copied/fetched. combine it with--recursiveif you want a recursive lookup on the subpath. nesting! ๐
๐ฅ PACKAGE BUILD OPTIONS ๐ฅ
--assume-depextsโ skips the installation step for any missing system packages and just attempts to proceed with compiling the opam packages anyway. and if that install actually succeeds, opam won't nag you about those system packages ever again. only meaningful if external dependency handling is enabled โ otherwise it's just vibing for no reason.-b,--keep-build-dirโ keeps the build directories around after compiling packages. same as setting$OPAMKEEPBUILDDIRto"true". hoarder energy, but make it intentional ๐ฆ--build-docโ removed in 2.1. use--with-docinstead. she's retired, bestie ๐--build-testโ removed in 2.1. use--with-testinstead. also retired. rip ๐ชฆ-d,--with-docโ builds the package documentation. note it only affects packages listed on the command-line, so no sneaky transitive doc builds. same as setting$OPAMWITHDOC(or the deprecated$OPAMBUILDDOC) to"true". ๐--dry-runโ simulates the command but doesn't actually change anything. a rehearsal. a dress rehearsal, if you will ๐ญ. this can also be set with the environment variable$OPAMDEBUG.--fakeโ registers the actions into the opam database without actually performing them. and now, the warning: this option is dangerous and likely to break your opam environment. you probably want--dry-runinstead. you've been warned. ๐จ like fr fr, do not.--ignore-available-on[=PACKAGES](default=) โ forces opam to mark the listed packages as available. useful for testing compatibility, but expect builds to break when you use this. also note: version constraints of those packages' dependencies are unaffected by this. so it's not a free-for-all, it's a targeted little lie ๐--ignore-constraints-on[=PACKAGES](default=) โ forces opam to ignore version constraints on all dependencies of the listed packages. again: handy for compatibility testing, but expect builds to break. and to be precise โ availability of the packages, version constraints on optional dependencies, and conflicts are all unaffected. only the version constraints on dependencies get ignored. same as setting$OPAMIGNORECONSTRAINTS.--inplace-buildโ when compiling a package whose source is bound to a local directory, it processes the build and install actions directly in that directory instead of in a clean copy that opam handles. only affects packages explicitly listed on the command-line. same as setting$OPAMINPLACEBUILDto"true".-j JOBS,--jobs=JOBSโ sets the max number of concurrent jobs to use. the default is calculated from the number of cores on your machine. you can also set it with the$OPAMJOBSenvironment variable. parallelism, but make it yours โก--lock-suffix=SUFFIX(absent=locked) โ sets the locked files suffix toSUFFIX. that's it, that's the whole thing ๐--lockedโ in commands that use opam files found from pinned sources, if a variant of the file with an added.lockedextension exists (so likefoo.opam.lockedsitting next tofoo.opam), then that one gets used instead. why? because it's typically useful for offering a more specific set of dependencies and reproducing similar build contexts โ hence the name, it "locks" things down. thelockoption can generate such files for you, based on the versions of dependencies currently installed on the host. same as setting the$OPAMLOCKEDenvironment variable. one note though: this option doesn't generally affect already pinned packages. ๐คท-m MAKE,--make=MAKEโ removed in 2.1. useopam config set[-global] make MAKEinstead.--no-checksumsโ does not verify the checksum of downloaded archives. (yes, we're skipping the vibes check on your downloads.) same as setting$OPAMNOCHECKSUMSto"true".--no-depextsโ temporarily disables handling of external dependencies. use this when a package isn't available on your system package manager but you installed the required dependency by hand, you absolute DIY legend. it implies--assume-depexts, and it also stores the exceptions upon success, so opam remembers. ๐ ๏ธ--require-checksumsโ rejects the installation of packages that don't provide a checksum for the upstream archives. no checksum, no entry. same as setting$OPAMREQUIRECHECKSUMSto"true". ๐ซ--reuse-build-dirโ reuses existing build directories (the ones you kept with--keep-build-dir) instead of compiling from a fresh clone of the source. it can be faster! but it can also lead to failures if the build systems of the packages don't handle dependency upgrades well. so, speed with a side of risk ๐ฒ. same as setting$OPAMREUSEBUILDDIRto"true".--show-actionsโ calls the solver and displays the actions. performs no changes whatsoever. same as setting$OPAMSHOW. it's a look-don't-touch situation ๐--skip-updatesโ normally, when running an install, upgrade or reinstall on source-pinned packages, they get updated from their origin first. this flag disables that behaviour and keeps them at their cached version. same as setting$OPAMSKIPUPDATE.-t,--with-testโ builds and runs the package unit-tests. only affects packages listed on the command-line. same as setting$OPAMWITHTEST(or the deprecated$OPAMBUILDTEST) to"true". ๐งช--unlock-baseโ removed in 2.1. use--update-invariantinstead.--update-invariantโ allows changes to the set of packages set as switch base (typically, the main compiler). use with caution. this is main-character-level power and it can absolutely wreck your day if you're careless ๐. same as setting the$OPAMUNLOCKBASEenvironment variable.--verbose-on=PACKAGESโ be more verbose on specific packages. just those ones. same as setting$OPAMVERBOSE.--with-dev-setupโ includes development tools only dependencies. ๐งฐ
๐ COMMON OPTIONS ๐
okay bestie, listen โ these are the options that every single opam command shares. like, all of them. universal. iconic behaviour. learn these once and you're set for the whole toolkit ๐ซถ
--best-effortโ don't bail out just because not all of your requested packages can be installed; try to install as many as possible instead. heads up tho: not every external solver supports this (recent versions ofaspcudormccsshould be fine). this is the same as setting the$OPAMBESTEFFORTenvironment variable.--cli=MAJOR.MINOR(absent=2.6) โ makes opam use the command-line interface syntax and semantics ofMAJOR.MINOR. it's meant for anything persistent โ scripts, blog posts, whatever โ and any opam version in the same MAJOR series will behave like the MINOR release you specified. ngl, this flag didn't exist in opam 2.0, so if you need the 2.0 CLI you gotta set theOPAMCLIenvironment variable to2.0instead. no flag for you, sorry ๐--color=WHENโ colorizes the output.WHENhas to be one ofalways,neverorauto.--confirm-level=LEVELโ sets the confirmation level.LEVELmust be one ofask,no,yesorunsafe-yes. you can pass this more than once; if--yesor--noare also given, whichever--confirm-levelcame last wins. same thing as setting$OPAMCONFIRMLEVEL.--criteria=CRITERIAโ specifies your user preferences for dependency solving, just for this run. it overrides$OPAMCRITERIA,$OPAMFIXUPCRITERIAand$OPAMUPGRADECRITERIA. for the deets on the supported language and which external solvers exist, go look athttp://opam.ocaml.org/doc/External_solvers.html. and if you want a general guide to using solver preferences, that's athttp://www.dicosmo.org/Articles/usercriteria.pdfโจ--cudf=FILENAMEโ debug option, bestie: saves the CUDF requests sent to the solver intoFILENAME-<n>.cudf, where<n>is the n-th call to the solver during the opam run.--debugโ prints debug messages to stderr. equivalent to setting$OPAMDEBUGto"true".--debug-level=LEVELโ like--debug, but you get to pick the debug level (--debugjust sets it to1). equivalent to setting$OPAMDEBUGto a positive integer.--git-versionโ prints the git version of opam (if it's set, i.e. you're running a development version) and then exits.--help[=FMT](default=auto) โ shows this help in formatFMT.FMTmust be one ofauto,pager,grofforplain. withauto, the format becomespagerorplainwhenever theTERMenv var isdumbor undefined.--ignore-pin-dependsโ ignores the extra pins that packages requiring pins drag in with them, whether they got pinned manually viaopam pinor throughopam install DIR. equivalent to settingIGNOREPINDEPENDS=true.--json=FILENAMEโ saves the results of the opam run into a computer-readable file. if the filename contains the%character, it gets replaced by an index that won't overwrite an existing file. basically the$OPAMJSONvariable but as a flag.--noโ answers no to every opam yes/no question, no prompting involved. see also--confirm-level. equivalent to setting$OPAMNOto"true".--no-aspcudโ removed in 2.1. she's gone, she's not coming back ๐--no-auto-upgradeโ when opam configures or updates a repository written for an earlier opam version (1.2), it internally converts it to the current format. this flag disables that behaviour. note that repositories should declare their format version in arepofile at their root, otherwise they're assumed to be in the older format. and honestly? it's preferable in any case to upgrade repositories manually withopam admin upgrade [--mirror URL]when you can.--no-self-upgradeโ opam will happily replace itself with a newer binary found atOPAMROOT/opamif one's present. this disables that behaviour. no glow-ups for you today ๐-q,--quietโ disables--verbose.--root=ROOTโ useROOTas the current root path. equivalent to setting$OPAMROOTtoROOT.--safe,--readonlyโ makes sure nothing gets automatically updated or rewritten. super useful when you're calling opam from completion scripts, for example. it'll fail whenever such an operation is needed; it also skips waiting on locks, skips interactive questions, and overrides the$OPAMDEBUGvariable. equivalent to setting the$OPAMSAFEenvironment variable.--solver=CMDโ specifies the CUDF solver used to resolve package installation problems. this is either a predefined solver โ this version of opam supportsbuiltin-mccs+lp(),builtin-mccs+glpk,builtin-dummy-z3-solver,builtin-0install,aspcud,mccs,aspcud-old,packupโ or a custom command that should contain the variables%{input}%,%{output}%,%{criteria}%, and optionally%{timeout}%. equivalent to setting$OPAMEXTERNALSOLVER.--strictโ fails whenever an error is found in a package definition or a configuration file. the default is to keep going silently if possible.--switch=SWITCHโ usesSWITCHas the current compiler switch. equivalent to setting$OPAMSWITCHtoSWITCH.--use-internal-solverโ disables any external solver and uses the built-in one instead (this requires opam to have been compiled with a built-in solver). equivalent to setting$OPAMNOASPCUDor$OPAMUSEINTERNALSOLVER.-v,--verboseโ be more verbose. one-vshows all package commands; repeat it to also display commands called internally (e.g.tar,curl,patchetc.). repeating it n times is equivalent to setting$OPAMVERBOSEto"n".--versionโ shows version information.-w,--working-dirโ whenever you update packages bound to a local, version-controlled directory, update to the current working state of their source instead of the last committed state or the ref they point to. and yes, because the source directory is copied as it is, if it isn't clean it may result in an opam build failure ๐ญ. this only affects packages explicitly listed on the command-line. can also be set with$OPAMWORKINGDIR.-y,--yesโ answers yes to all opam yes/no questions without prompting. see also--confirm-level. equivalent to setting$OPAMYESto"true".
๐ ENVIRONMENT ๐
okay so opam reads a whole bunch of environment variables, bestie, and you can use them to vibe-check how it behaves. ๐
Boolean variables are the drama queens โ set them to "0", "no", "false" or the empty string to switch them off ๐
โโ๏ธ, and to "1", "yes" or "true" to switch them on โจ.
OPAMALLPARENSโ surrounds all filters with parentheses. yes, all of them. the parens get around. ๐OPAMASSUMEDEPEXTSโ check out the option--assume-depexts.OPAMAUTOANSWERโ internal use only, bestie, don't touch, this one's not for you ๐OPAMAUTOREMOVEโ look at the remove option--auto-remove.OPAMBESTEFFORTโ see the option--best-effort.OPAMBESTEFFORTPREFIXCRITERIAโ sets the string that must be prepended to the criteria when the--best-effortoption is set, and it's expected to maximise theopam-queryproperty in the solution. very specific, very demure. ๐OPAMBUILDDOCโ Removed in 2.1. rip bozo ๐ญOPAMBUILDTESTโ Removed in 2.1. also gone, also missed ๐OPAMCLIโ see the option--cli.OPAMCOLORโ when set to always or never, it sets a default value for the--coloroption. ๐จOPAMCONFIRMLEVELโ see the option--confirm-level. heads up:OPAMCONFIRMLEVELhas priority overOPAMYESandOPAMNO. it's giving main character energy fr fr ๐OPAMCRITERIAโ specifies your user preferences for dependency solving. the default value depends on the solver version, so useconfig reportto know the current setting. also see the option --criteria. ๐OPAMCUDFFILEโ save the cudf graph tofile-actions-explicit.dot.OPAMCUDFTRIMโ controls the filtering of unrelated packages during CUDF preprocessing. โ๏ธOPAMCURLโ you can use this to select a given 'curl' program. seeOPAMFETCHfor more options.OPAMDEBUGโ see the options--debugand--debug-level.OPAMDEBUGSECTIONSโ if set, it limits debug messages to the space-separated list of sections. sections can optionally have a specific debug level (for example,CLIENT:2orCLIENT CUDF:2), but otherwise just use--debug-level. ๐OPAMDIGDEPTHโ defines how aggressive the lookup for conflicts is during CUDF preprocessing. it DIGS. โ๏ธOPAMDOWNLOADJOBSโ sets the maximum number of simultaneous downloads. parallel downloads are slay ๐ฅOPAMDROPWORKINGDIRโ overrides packages previously updated with--working-diron update. without this variable set, opam would keep them unchanged unless they were explicitly named on the command-line. periodt.OPAMDRYRUNโ see the option--dry-run.OPAMEDITORโ sets the editor to use for opam file editing, and it overrides$EDITORand$VISUAL. it's the final boss of editors ๐OPAMERRLOGLENโ sets the number of log lines printed when a sub-process fails. set it to0to print all of them. go off, full transparency โจOPAMEXTERNALSOLVERโ see the option--solver.OPAMFAKEโ see the option--fake.OPAMFETCHโ specifies how to download files: eitherwget,curlor a custom command where the variables%{url}%,%{out}%,%{retry}%,%{compress}%and%{checksum}%will be replaced. it overrides the 'download-command' value from the main config file. ๐ซถOPAMFIXUPCRITERIAโ same asOPAMUPGRADECRITERIA, but specific to fixup and reinstall. same vibe, different context ๐OPAMIGNOREAVAILABLEโ see the install option--ignore-available-on.OPAMIGNORECONSTRAINTSโ see the install option--ignore-constraints-on.OPAMIGNOREPINDEPENDSโ see the option--ignore-pin-depends.OPAMINPLACEBUILDโ see the option--inplace-build.OPAMJOBSโ sets the maximum number of parallel workers to run. go little workers go ๐OPAMJSONโ log json output to the given file (use the character%to index the files).OPAMKEEPBUILDDIRโ see the install option--keep-build-dir.OPAMKEEPLOGSโ tells opam to not remove some temporary command logs and some backups. this skips some finalisers and may also help to get more reliable backtraces. keeping the receipts, love that for us ๐งพOPAMLOCKEDโ a combination of the--lockedand--lock-suffixoptions. ๐OPAMLOGSโ logdir, sets the log directory, default is a temporary directory in/tmp.OPAMMAKECMDโ set the system make command to use. ๐จOPAMMERGEOUTโ merge process outputs, stderr on stdout. two streams, one vibe.OPAMNOโ answer no to any question asked, see the options--noand--confirm-level. heads up tho:OPAMNOis ignored if eitherOPAMCONFIRMLEVELorOPAMYESis set. it gets overruled, no cap ๐คOPAMNOAGGREGATEโ withopam admin check, don't aggregate packages.OPAMNOASPCUDโ Deprecated. ๐OPAMNOAUTOUPGRADEโ disables automatic internal upgrade of repositories in an earlier format to the current one, on 'update' or 'init'.OPAMNOCHECKSUMSโ enables the option --no-checksums when available.OPAMNODEPEXTSโ disables system dependencies handling, see the option--no-depexts.OPAMNOENVNOTICEโ Internal. ๐คซOPAMNOSELFUPGRADEโ see the option--no-self-upgrade.OPAMPINKINDAUTOโ sets whether version control systems should be detected when pinning to a local path. Enabled by default since 1.3.0. โจOPAMPRECISETRACKINGโ fine grain tracking of directories. detail-oriented queen ๐OPAMPREPROโ set this to false to disable CUDF preprocessing. it's less efficient, but it might help debugging solver issues.OPAMREPOSITORYTARRINGโ internally store all non-vcs repositories as tar.gz files (by default, http repositories are stored as archive). this can be much faster on filesystems that don't cope well with scanning large trees. all operations are done in-memory, so there's no I/O for scanning the repository. ate. ๐ฅOPAMREQUIRECHECKSUMSโ enables the option--require-checksumswhen available (e.g. foropam install).OPAMRETRIESโ sets the number of tries before failing downloads. we try again, bestie ๐ชOPAMREUSEBUILDDIRโ see the option--reuse-build-dir.OPAMROOTโ see the option--root. this one is automatically set byopam env --root=DIR --set-root.OPAMROOTISOKโ don't complain when running as root. living dangerously, love that ๐OPAMSAFEโ see the option--safe.OPAMSHOWโ see the option--show.OPAMSKIPUPDATEโ see the option--skip-updates.OPAMSKIPVERSIONCHECKSโ bypasses some version checks. Unsafe, for compatibility testing only. โ ๏ธOPAMSOLVERALLOWSUBOPTIMALโ (defaulttrue) allows some solvers to still return a solution when they reach timeout; while the solution remains assured to be consistent, there is no guarantee in this case that it fits the expected optimisation criteria. iftrue, opam will continue with a warning; iffalse, a timeout is an error. currently only the builtin-z3 backend handles this degraded case.OPAMSOLVERTIMEOUTโ change the time allowance of the solver. default is60.0, set it to0for unlimited. note that all solvers may not support this option. โณOPAMSOLVERTOLERANCEโ changes the tolerance towards the solver choosing an unoptimized solution (i.e. it might pull outdated packages). typical values range from0.0(best solution known to the solver) to1.0(unoptimized solution). default is0.0. this option is useful in case the solver can't find a solution in a reasonable time (see$OPAMSOLVERTIMEOUT). note that all solvers may not support this option.OPAMSTATSโ Removed in 2.4. gone girl ๐ญOPAMSTATUSLINEโ display a dynamic status line showing what's currently going on on the terminal. (one of always, never or auto) ๐OPAMSTRICTโ fail on inconsistencies (file reading, switch import, etc.). no mess, no chaos ๐ซOPAMSWITCHโ see the option--switch. automatically set byopam env --switch=SWITCH --set-switch.OPAMUNLOCKBASEโ see the install option--unlock-base.OPAMUPGRADECRITERIAโ specifies user preferences for dependency solving when performing an upgrade. it overridesOPAMCRITERIAin upgrades if both are set. also see the option --criteria.OPAMUSEINTERNALSOLVERโ see the option--use-internal-solver.OPAMUSEOPENSSLโ Removed in 2.2. ๐OPAMUTF8โ use UTF8 characters in output (one of always, never or auto). by defaultauto, which is determined from the locale. ๐OPAMUTF8MSGSโ use extended UTF8 characters (camels ๐ช) in opam messages. it impliesOPAMUTF8. this is set by default on macOS only. iconic.OPAMVALIDATIONHOOKโ if set, uses the%{hook}%command to validate an opam repository update.OPAMVERBOSEโ see the option--verbose.OPAMVERBOSEONโ see the option--verbose-on. ๐ฃ๏ธOPAMVERSIONLAGPOWERโ do not use. bestie. do NOT. ๐ โโ๏ธ๐ญOPAMWITHDEVSETUPโ see the install option--with-dev-setup.OPAMWITHDOCโ see the install option--with-doc.OPAMWITHTESTโ see the install option--with-test.OPAMWORKINGDIRโ see the option--working-dir.OPAMYESโ see the options--yesand--confirm-level.OPAMYEShas priority overOPAMNOand is ignored ifOPAMCONFIRMLEVELis set. yes queen, say yes โOPAMVAR_varโ overrides the contents of the variable var when substituting%{var}%strings inopamfiles.OPAMVAR_package_varโ overrides the contents of the variable package:var when substituting%{package:var}%strings inopamfiles. ๐
๐ฆ CLI VERSION ๐ฆ
okay so this one is important, bestie, listen up ๐ซถ
All scripts and programmatic invocations of opam should use --cli in order to ensure that they work seamlessly with future versions of the opam client. and honestly, blog posts or other documentation can benefit too, because it prevents information from becoming stale. future-proofing is the vibe โจ
Although opam only supports roots (~/.opam/) for the current version, it does provide backwards compatibility for its command-line interface. so it's got your back ๐
Since CLI version support was only added in opam 2.1, use OPAMCLI to select 2.0 support (as opam 2.0 will just ignore it), and --cli=2.1 for 2.1 (or later) versions, since an environment variable controlling the parsing of syntax is brittle. to this end, opam displays a warning if OPAMCLI specifies a valid version other than 2.0, and also if --cli=2.0 is specified. ๐
The command-line version is selected by using the --cli option or the OPAMCLI environment variable. --cli may be specified more than once, where the last instance takes precedence. and OPAMCLI is only inspected if --cli is not given. periodt. ๐
๐ EXIT STATUS ๐
okay bestie, before we get into the numbers, there's ONE little plot twist you need to know about:
Exception alert ๐จ โ theexeccommand does its own thing. It returns127if the command was not found or couldn't be executed, and otherwise it gives you back the command's own exit value. Everything below is the "as a rule" behaviour.
so, the actual codes:
0โ success โจ (ortrue, for boolean queries).1โ false. this one shows up when a boolean return value is expected, like when you're running with--check, or for queries likeopam lint.2โ bad command-line arguments, or command-line arguments that point at an invalid context (think: a file that doesn't follow the expected format ๐ฅด).5โ not found. you asked for something (package, version, repository, etc.) and it genuinely could not be found.10โ aborted. the operation needed confirmation and you didn't give it. (yeah, the confirmation dialogue is load-bearing ๐ )15โ could not acquire the locks required for the operation. ๐20โ there is no solution to the user request. classic cause: asking to install two incompatible packages. the math said no ๐งฎ30โ error in package definition, or other metadata files. using--strictraises this error more often.31โ package script error. some package operations were unsuccessful. could be an error in the packages, or an incompatibility with your system. this can be a partial error.40โ sync error. some remotes couldn't be fetched from the network. this can be a partial error. ๐ฐ๏ธ50โ configuration error. opam or system configuration doesn't allow the operation, and it needs fixing.60โ solver failure. the solver failed to return a sound answer. could be a broken external solver, or an error in solver configuration.99โ internal error. something went wrong, likely a bug in opam itself. so sorry bestie ๐ญ130โ user interrupt.SIGINTwas received, generally because the user pressed Ctrl+C.
and then, hopping on a separate little list:
0on success.123on indiscriminate errors reported on standard error.124on command line parsing errors.125on unexpected internal errors (bugs).
๐ FURTHER DOCUMENTATION ๐
more reading, if you're that girl: https://opam.ocaml.org/doc.
๐ AUTHORS ๐
the absolute icons who made this happen, no cap:
David Allsopp <david@tarides.com>Vincent Bernardoff <vb@luminar.eu.org>Raja Boujbel <raja.boujbel@ocamlpro.com>Kate Deplaix <kit-ty-kate@exn.st>Roberto Di Cosmo <roberto@dicosmo.org>Thomas Gazagnaire <thomas@gazagnaire.org>Louis Gesbert <louis.gesbert@ocamlpro.com>Fabrice Le Fessant <Fabrice.Le_fessant@inria.fr>Anil Madhavapeddy <anil@recoil.org>Guillem Rieu <guillem.rieu@ocamlpro.com>Ralf Treinen <ralf.treinen@pps.jussieu.fr>Frederic Tuong <tuong@users.gforge.inria.fr>
๐ซถ SEE ALSO ๐ซถ
๐ BUGS ๐
found something cursed? check the bug reports at https://github.com/ocaml/opam/issues.
<div align="center">
and that's the whole page, bestie ๐ go forth and opam remove responsibly.
this gem is Opam 2.6.1, living its life as OPAM-REMOVE(1). stan forever โจ๐
</div>
๐ฆ where this page comes from
- arch rolling: opam 2.6.1-1 ยท LGPL-2.1-only
- fedora 44: opam 2.6.1-1.fc44 ยท LGPL-2.1-only WITH OCaml-LGPL-linking-exception
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms