do not edit — generated by btf.
git.druid.rocksindexdruid520mpdocs/reference/commands/clean.btft

docs/reference/commands/clean.btft


[table class="topnav"]
[tr]
[td class="logotab"]mp[e]
[td][see name="index"]index[e][e]
[td][see name="guide/index"]guide[e][e]
[td][see name="reference/index"]reference[e][e]
[e]
[e]
 
[h1]mp clean[e]
 
[h2]synopsis[e]
 
[code]
mp clean <pkg> ...
[e]
 
[h2]description[e]
 
clears a stuck or stray stage directory under [code]WD[e] -- what you need after an interrupted or crashed build leaves [code]err: gcc already staged, run: mp.clean gcc.[e] blocking every subsequent reinstall attempt.
 
resolves a bare name to a stray slotted stage dir too, even with NO corresponding db entry at all (e.g. [code]WD/somepkg:12[e] left behind with nothing in the db to resolve it from) -- a directory-listing fallback scan, since [code]resolved_db_key[e] has nothing to work from in that case.
 
[h2]examples[e]
 
[code]
mp reinstall gcc
err: gcc already staged, run: mp.clean gcc.
mp clean gcc
mp reinstall gcc      # now proceeds
[e]
 
[h2]see also[e]
 
[see name="reference/commands/reinstall"]reinstall[e].
powered by btf.