首页 > V2EX > V2EX-各位, gentoo 在 emerge –ask –update –newuse –deep @world 时候,如何取消不想继续安装的包?
2022
01-14

V2EX-各位, gentoo 在 emerge –ask –update –newuse –deep @world 时候,如何取消不想继续安装的包?

Cu635:

各位,我现在是在虚拟机里尝试 gentoo ,因为是虚拟机,硬盘只给了 8GiB 的大小,算小了。

在以前安装某个包(好像是 lightdm ,记忆可能不准确)的时候,作为依赖,emerge 要自动安装 dev-lang/spidermonkey 包。但是当时就说我的硬盘空间不够,安装无法继续了。

之后我放弃了安装“某个包”,本来以为 spidermonkey 包既然没有安装就不用管它了。

然而,在我执行emerge --ask --update --newuse --deep @world命令的时候,却还是提示要安装 spidermonkey ,继续导致“硬盘空间不够”。

这是命令的执行输出,中间有省略:

gentoo ~ # emerge --ask --update --newuse --deep @world
 * Last emerge --sync was 129d 16h 53m 21s ago.

These are the packages that would be merged, in order:

Calculating dependencies... done!

......

[ebuild  N     ] dev-lang/rust-1.53.0  USE="-clippy -debug -doc (-miri) (-nightly) (-parallel-compiler) -rls -rustfmt (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore"
[ebuild  N     ] virtual/rust-1.53.0-r1  USE="-rustfmt" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-lang/spidermonkey-78.12.0  USE="jit -clang -debug -lto -test"

......

Would you like to merge these packages? [Yes/No]yes

......

>>> Running pre-merge checks for dev-lang/rust-1.53.0
 * Checking for at least 11520 MiB disk space at "/var/tmp/portage/dev-lang/rust-1.53.0/temp" ...                                                     [ !! ]  * There is NOT at least 11520 MiB disk space at "/var/tmp/portage/dev-lang/rust-1.53.0/temp"
 *
 * Space constraints set in the ebuild were not met!
 * The build will most probably fail, you should enhance the space
 * as per failed tests.
 *
 * ERROR: dev-lang/rust-1.53.0::gentoo failed (pretend phase):
 *   Build requirements not met!
 *
......

>>> Failed to emerge dev-lang/rust-1.53.0, Log file:

>>>  '/var/tmp/portage/dev-lang/rust-1.53.0/temp/build.log'

>>> Running pre-merge checks for dev-lang/spidermonkey-78.12.0
 * Checking for at least 6400 MiB disk space at "/var/tmp/portage/dev-lang/spidermonkey-78.12.0/temp" ...                                             [ !! ]  * There is NOT at least 6400 MiB disk space at "/var/tmp/portage/dev-lang/spidermonkey-78.12.0/temp"
 *
 * Space constraints set in the ebuild were not met!
 * The build will most probably fail, you should enhance the space
 * as per failed tests.
 *
 * ERROR: dev-lang/spidermonkey-78.12.0::gentoo failed (pretend phase):
 *   Build requirements not met!
 *
......

 * Messages for package dev-lang/rust-1.53.0:

 * There is NOT at least 11520 MiB disk space at "/var/tmp/portage/dev-lang/rust-1.53.0/temp"
 *
 * Space constraints set in the ebuild were not met!
 * The build will most probably fail, you should enhance the space
 * as per failed tests.
 *
 * ERROR: dev-lang/rust-1.53.0::gentoo failed (pretend phase):
 *   Build requirements not met!
 *
......

 * Messages for package dev-lang/spidermonkey-78.12.0:

 * There is NOT at least 6400 MiB disk space at "/var/tmp/portage/dev-lang/spidermonkey-78.12.0/temp"
 *
 * Space constraints set in the ebuild were not met!
 * The build will most probably fail, you should enhance the space
 * as per failed tests.
 *
 * ERROR: dev-lang/spidermonkey-78.12.0::gentoo failed (pretend phase):
 *   Build requirements not met!
 *
......
 
 * The following 2 packages have failed to build, install, or execute
 * postinst:
 *
 *  (dev-lang/rust-1.53.0:stable/1.53::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-lang/rust-1.53.0/temp/build.log'
 *  (dev-lang/spidermonkey-78.12.0:78/78::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-lang/spidermonkey-78.12.0/temp/build.log'
 *
Task was destroyed but it is pending!
task:  wait_for=()]> cb=[PipeLogger._io_loop_done()]>
Task was destroyed but it is pending!
task:  wait_for=.() at /usr/lib/python3.9/site-packages/_emerge/AsynchronousTask.py:42, ()]> cb=[BuildLogger._main_exit()]>
Task was destroyed but it is pending!
task:  wait_for=()]> cb=[PipeLogger._io_loop_done()]>

现在我想取消 spidermonkey 这个包的安装,不再卡在“硬盘空间”上面,这个该如何操作?

from V2EX-最新主题 https://ift.tt/33zf8ia
V2EX-各位, gentoo 在 emerge --ask --update --newuse --deep @world 时候,如何取消不想继续安装的包? - 第1张  | 牛C网(NiuL.Net)
牛C网:https://j1o.net
牛C网导航:https://niuc.icu
零九导航:https://09.gay

最后编辑:
作者:分享菌
这个作者貌似有点懒,什么都没有留下。

留下一个回复

你的email不会被公开。