Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-09 Thread Neil Bothwick
On Wed, 9 Sep 2020 08:15:46 +0100, antlists wrote: > > That's the sort of thing I was thinking of. It could cause issues for > > those that run emerge without checking what it is going to do, but > > they are going to hit problems sometime anyway so they may as well > > learn their lesson

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-09 Thread antlists
On 09/09/2020 00:55, Neil Bothwick wrote: That's the sort of thing I was thinking of. It could cause issues for those that run emerge without checking what it is going to do, but they are going to hit problems sometime anyway so they may as well learn their lesson sooner;-) Hmm, I hadn't

[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Grant Edwards
On 2020-09-08, Neil Bothwick wrote: > Hmm, I hadn't realised there were so many virtuals, I just looked and > saw 186 of them. Yea, I think they've been proliferating the past few years. I've recently noticed quite a few times when "emerge -auvND world" does nothing other than install a

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Neil Bothwick
On Tue, 8 Sep 2020 21:37:08 - (UTC), Grant Edwards wrote: > > Alternatively, have portage spit out a warning if a virtual is > > required and none of its alternatives are installed, but that would > > spoil running portage non-interactively. > > I'd be happy with a simple message when used

[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Grant Edwards
On 2020-09-08, Neil Bothwick wrote: > On Tue, 08 Sep 2020 16:12:38 -0500, Matt Connell (Gmail) wrote: > >> > It seems odd that when there's multiple ways to satisfy a >> > virtual there's now way to "configure" which one you want for when >> > that virtual get's pulled in. Maybe I just haven't

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Neil Bothwick
On Tue, 08 Sep 2020 16:12:38 -0500, Matt Connell (Gmail) wrote: > > It seems odd that when there's multiple ways to satisfy a > > virtual there's now way to "configure" which one you want for when > > that virtual get's pulled in. Maybe I just haven't run into it often > > enough... > > I

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Matt Connell (Gmail)
On Tue, 2020-09-08 at 20:53 +, Grant Edwards wrote: > It seems odd that when there's multiple ways to satisfy a > virtual there's now way to "configure" which one you want for when > that virtual get's pulled in. Maybe I just haven't run into it often > enough... I thought about this myself

[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Grant Edwards
On 2020-09-08, Matt Connell (Gmail) wrote: > On Tue, 2020-09-08 at 19:56 +, Grant Edwards wrote: >> Ah, so I should have installed rust-bin _without_ adding it to the >> world file so that when the last package requiring rust gets removed, >> rust will get removed by --depclean... > > Yep.

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Matt Connell (Gmail)
On Tue, 2020-09-08 at 19:56 +, Grant Edwards wrote: > Ah, so I should have installed rust-bin _without_ adding it to the > world file so that when the last package requiring rust gets removed, > rust will get removed by --depclean... Yep. That's what --oneshot (-1) means. "Install it but

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Neil Bothwick
On Tue, 8 Sep 2020 19:56:28 - (UTC), Grant Edwards wrote: > > There is a way, uninstall rust. virtual/rust requires only one of rust > > and rust-bin, if both are installed it will take rust meaning rust-bin > > gets depcleaned. If only one is installed, the virtual will take > > that. If

[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Grant Edwards
On 2020-09-08, Neil Bothwick wrote: > There is a way, uninstall rust. virtual/rust requires only one of rust > and rust-bin, if both are installed it will take rust meaning rust-bin > gets depcleaned. If only one is installed, the virtual will take that. If > neither is install, the virtual will

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Neil Bothwick
On Tue, 8 Sep 2020 16:33:10 +0100, Wols Lists wrote: > > There is a way, uninstall rust. virtual/rust requires only one of rust > > and rust-bin, if both are installed it will take rust meaning rust-bin > > gets depcleaned. If only one is installed, the virtual will take > > that. If neither is

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Dale
Wols Lists wrote: > On 08/09/20 15:53, Neil Bothwick wrote: >> There is a way, uninstall rust. virtual/rust requires only one of rust >> and rust-bin, if both are installed it will take rust meaning rust-bin >> gets depcleaned. If only one is installed, the virtual will take that. If >> neither is

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Wols Lists
On 08/09/20 15:53, Neil Bothwick wrote: > There is a way, uninstall rust. virtual/rust requires only one of rust > and rust-bin, if both are installed it will take rust meaning rust-bin > gets depcleaned. If only one is installed, the virtual will take that. If > neither is install, the virtual

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Neil Bothwick
On Tue, 8 Sep 2020 15:29:22 +0100, Wols Lists wrote: > > When I subsequently ran "emerge --depclean --ask" it wanted to unmerge > > dev-lang/rust-bin. > > rust-bin was emerged with the -1 option, ie "don't stick it in world" > option > > > > I had to manually unmerge dev-lang/rust to get rid

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-08 Thread Wols Lists
On 07/09/20 20:54, Grant Edwards wrote: > On 2020-09-07, Andreas K Hüttel wrote: > >> That works, but pretty please try something else first! >> >> # make sure source-based rust is not in the world file >> emerge --deselect dev-lang/rust >> >> emerge -1 dev-lang/rust-bin >> >> It should be as

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Matt Connell (Gmail)
On Sun, 2020-09-06 at 16:39 +0300, Nikos Chantziaras wrote: > On 06/09/2020 10:48, Walter Dnes wrote: > >I notice that there is a "rust-bin" ebuild present. If nothing > > else, > > I'd like to switch over to that to save the notebook from > > unnecessary > > grinding when rust updates.

[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Grant Edwards
On 2020-09-07, Andreas K Hüttel wrote: > That works, but pretty please try something else first! > > # make sure source-based rust is not in the world file > emerge --deselect dev-lang/rust > > emerge -1 dev-lang/rust-bin > > It should be as easy as that. *If* all dependencies are fulfilled by

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Andreas K . Hüttel
Am Sonntag, 6. September 2020, 16:39:27 EEST schrieb Nikos Chantziaras: > On 06/09/2020 10:48, Walter Dnes wrote: > >I notice that there is a "rust-bin" ebuild present. If nothing else, > > > > I'd like to switch over to that to save the notebook from unnecessary > > grinding when rust

[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Nikos Chantziaras
On 07/09/2020 13:13, Walter Dnes wrote: On Sun, Sep 06, 2020 at 12:47:34PM -0400, Walter Dnes wrote Since I don't yet have rust on my desktop, I'll try "emerge -1 rust-bin" before doing the world update. Hopefully, that'll satisfy the virtual/rust dependency from the get-go. I decided to

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-07 Thread Walter Dnes
On Sun, Sep 06, 2020 at 12:47:34PM -0400, Walter Dnes wrote > Since I don't yet have rust on my desktop, I'll try "emerge -1 > rust-bin" before doing the world update. Hopefully, that'll satisfy > the virtual/rust dependency from the get-go. I decided to go a bit more heavy-handed route with

Re: [gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-06 Thread Walter Dnes
On Sun, Sep 06, 2020 at 04:39:27PM +0300, Nikos Chantziaras wrote > On 06/09/2020 10:48, Walter Dnes wrote: > >I notice that there is a "rust-bin" ebuild present. If nothing > > else, I'd like to switch over to that to save the notebook from > > unnecessary grinding when rust updates. What's

[gentoo-user] Re: How to switch from rust to rust-bin?

2020-09-06 Thread Nikos Chantziaras
On 06/09/2020 10:48, Walter Dnes wrote: I notice that there is a "rust-bin" ebuild present. If nothing else, I'd like to switch over to that to save the notebook from unnecessary grinding when rust updates. What's the procedure for selecting it? emerge -C dev-lang/rust emerge -a1