View previous topic :: View next topic |
Author |
Message |
jankom Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 30 Aug 2021 Posts: 369 Location: USA
|
Posted: Thu Feb 06, 2025 4:38 pm Post subject: [closed] equery d rust-bin |
|
|
Can anybody please explain why and what the question mark means in the following (partial output); Code: | gellert@jgklinux ~ $ equery d rust-bin
* These packages depend on rust-bin:
...
dev-python/cryptography-44.0.0 (dev-lang/rust-bin:1.84.0)
(dev-lang/rust-bin:1.83.0)
...
sys-devel/gcc-14.2.1_p20241221 (rust ? dev-lang/rust-bin:1.84.0)
(rust ? dev-lang/rust-bin:1.83.0)
... |
This is on a virtual server. I have another machine, same Gentoo and with xserver gui but no rust. It took very long time to compile rust, so on the virtual server I chose the binary package. Apparently it needs rust, and my fitlet2 desktop box does not need rust. Just curious.
Thanks,
jankom (Janos)
Last edited by jankom on Fri Feb 07, 2025 5:16 pm; edited 3 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Banana Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/5204386264b863c6da7ffb.jpg)
Joined: 21 May 2004 Posts: 1890 Location: Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jankom Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 30 Aug 2021 Posts: 369 Location: USA
|
Posted: Thu Feb 06, 2025 9:51 pm Post subject: |
|
|
@Banana - yes, I understand.
I'l close this post as [Solved]. My confusion was because I noticed that rust-bin was only listed in the /var/lib/portage/world file of my virtual server and not in the fitlet machine. Both do however have rust-bin package installed, and gcc does have Code: | gellert@jgklinux ~ $ equery uses gcc | grep rust
-rust
gellert@jgklinux ~ $
| and everything works fine.
Than you for your comment.
jankom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23101
|
Posted: Thu Feb 06, 2025 10:46 pm Post subject: |
|
|
Unless you personally write Rust code, you probably should not have dev-lang/rust-bin in @world. Putting it in @world says you want it installed. If you aren't writing Rust, you don't care whether a Rust compiler is installed, and should let Portage install or uninstall the Rust compiler as Portage sees fit. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jankom Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 30 Aug 2021 Posts: 369 Location: USA
|
Posted: Fri Feb 07, 2025 11:23 am Post subject: |
|
|
@Hu
OK, I understand. What I don't understand is that in my virtual server (Akamai linode): Quote: | gellert@jgklinux ~ $ equery list @world | grep rust
dev-lang/rust-bin-1.83.0
gellert@jgklinux ~ $ qlist -IRv | grep rust
app-eselect/eselect-rust-20210703::gentoo
dev-lang/rust-bin-1.83.0::gentoo
gellert@jgklinux ~ $
| but in my home fitlet2 machine: Code: | janos@andraslinux ~ $ equery list @world | grep rust
janos@andraslinux ~ $ qlist -IRv | grep rust
app-eselect/eselect-rust-20210703::gentoo
dev-lang/rust-bin-1.83.0::gentoo
dev-lang/rust-bin-1.81.0-r101::gentoo
janos@andraslinux ~ $ | I try to maintain, manage both machines the same way. What could be wrong?
jankom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23101
|
Posted: Fri Feb 07, 2025 2:54 pm Post subject: |
|
|
Based on what you showed, you probably ran emerge dev-lang/rust-bin without --oneshot at some point on the linode, so now Portage believes you want Rust installed, and is reflecting that belief with an entry in @world. Run emerge --deselect dev-lang/rust-bin to reverse this without needing to remove Rust. Alternatively, if Rust is unused, emerge --ask --verbose --depclean dev-lang/rust-bin will both remove it from @world and remove it from the system. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jankom Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 30 Aug 2021 Posts: 369 Location: USA
|
Posted: Fri Feb 07, 2025 5:16 pm Post subject: |
|
|
Thank you, Hu. Now I understand a little better what --oneshot means. Code: | jgklinux /home/gellert # emerge --deselect dev-lang/rust-bin
>>> Removing dev-lang/rust-bin from "world" favorites file...
jgklinux /home/gellert #
| Now it is closed, indeed!
jankom (janos) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|