V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Cu635
V2EX  ›  问与答

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

  •  
  •   Cu635 · 2022-01-14 15:34:50 +08:00 · 958 次点击
    这是一个创建于 1048 天前的主题,其中的信息可能已经有所发展或是发生改变。

    各位,我现在是在虚拟机里尝试 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 这个包的安装,不再卡在“硬盘空间”上面,这个该如何操作?

    2 条回复    2022-03-02 11:33:02 +08:00
    ritksm
        1
    ritksm  
       2022-01-30 00:11:37 +08:00
    emerge --resume --skipfirst
    Cu635
        2
    Cu635  
    OP
       2022-03-02 11:33:02 +08:00
    @ritksm
    这个也没用。
    没办法,我在虚拟机里面把 gentoo 重装了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1045 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:07 · PVG 06:07 · LAX 14:07 · JFK 17:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.