• [gentoo-user] Another hitch with get-binpkg

    From Peter Humphrey@21:1/5 to All on Mon Aug 5 13:50:01 2024
    Greetings,

    Today's update included dev-lang/yasm 1.3.0-r1 >1.3.0-r2. It failed because the binpkg was not yet on the local mirror, so I tried this:

    prh@cube ~ $ EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --usepkg-exclude 'dev-lang/yasm' emerge -1 yasm"
    prh@cube ~ $

    So you can't exclude a package from usepkg and emerge it specifically.

    Is this supposed to happen?

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Tue Aug 6 13:30:02 2024
    On Monday, 5 August 2024 17:51:38 BST Waldo Lemmer wrote:
    Hi Peter,

    You seem to have misplaced a double-quote. It should be:

    EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --usepkg-exclude
    'dev-lang/yasm"' emerge -1 yasm

    Actually, your 'dev-lang/yasm"' should have been 'dev-lang/yasm'", but I take the point. My careless editing.

    Though I don't understand why you dont't just pass the option to emerge directly:

    emerge -1 --usepkg-exclude 'dev-lang/yasm" yasm

    I didn't know I could do that.

    `${EMERGE_DEFAULT_OPTS}` isn't defined in your shell anyway, so that part
    of your command evaluated to nothing.

    Thanks Waldo.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)