各位,我现在是在虚拟机里尝试 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: <Task pending name='Task-33' coro=<PipeLogger._io_loop() running at /usr/lib/python3.9/site-packages/portage/util/_async/PipeLogger.py:93> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7efd83f8a670>()]> cb=[PipeLogger._io_loop_done()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-32' coro=<BuildLogger._main() running at /usr/lib/python3.9/site-packages/portage/util/_async/BuildLogger.py:86> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.9/site-packages/_emerge/AsynchronousTask.py:42, <TaskWakeupMethWrapper object at 0x7efd845f58e0>()]> cb=[BuildLogger._main_exit()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-31' coro=<PipeLogger._io_loop() running at /usr/lib/python3.9/site-packages/portage/util/_async/PipeLogger.py:93> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7efd846b5100>()]> cb=[PipeLogger._io_loop_done()]>
现在我想取消 spidermonkey 这个包的安装,不再卡在“硬盘空间”上面,这个该如何操作?
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.