public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Another hitch with get-binpkg
@ 2024-08-05 11:45 Peter Humphrey
  2024-08-05 16:51 ` Waldo Lemmer
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Humphrey @ 2024-08-05 11:45 UTC (permalink / raw
  To: gentoo-user

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Another hitch with get-binpkg
  2024-08-05 11:45 [gentoo-user] Another hitch with get-binpkg Peter Humphrey
@ 2024-08-05 16:51 ` Waldo Lemmer
  2024-08-06 11:28   ` Peter Humphrey
  0 siblings, 1 reply; 3+ messages in thread
From: Waldo Lemmer @ 2024-08-05 16:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

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

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

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

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

[-- Attachment #2: Type: text/html, Size: 565 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Another hitch with get-binpkg
  2024-08-05 16:51 ` Waldo Lemmer
@ 2024-08-06 11:28   ` Peter Humphrey
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Humphrey @ 2024-08-06 11:28 UTC (permalink / raw
  To: gentoo-user

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-06 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 11:45 [gentoo-user] Another hitch with get-binpkg Peter Humphrey
2024-08-05 16:51 ` Waldo Lemmer
2024-08-06 11:28   ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox