[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] no binary installed on osx

On 28 Mar 2014, at 17:45, Richard Mortier <Richard.Mortier@xxxxxxxxxxxxxxxx> 

> anil, thomas et al-- actually, is there an easy way to export/import a very 
> high-level opam config -- things like remotes configured, packages installed 
> (perhaps with/without explicit versions)?  might make recovering from the 
> occasional situation like this easier.

The issue with exporting the OPAM config like this is that the bug is from some 
of that exported state -- in this case, the incorrect remote from the old OPAM 
1.0 default.  This should have been updated automatically, but hasn't been for 
some reason.  Given it's a one-off bug though from an older installation, it's 
simpler just to restart from scratch.

Exporting package lists are pretty easy though:

$ opam switch export

Will output the installed packages.  Redirect that to a file and use "opam 
switch import" to install all those packages again.

MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.