View previous topic :: View next topic |
Author |
Message |
smgpie n00b
Joined: 15 Apr 2024 Posts: 6
|
Posted: Thu Jan 09, 2025 10:16 am Post subject: How to remove virtual/rust |
|
|
Some days ago virtual/rust is marked deprecated as it moves to the slotted dev-lang/rust which is a change that I welcome. Then when I do an update, emerge warns that virtual/rust is masked due to the above reason.
However, I don't think I have that installed, and `equery l rust` returns the following:
Code: |
* Searching for rust ...
[IP-] [ ] dev-lang/rust-1.82.0-r100:1.82.0
[IP-] [ ] dev-lang/rust-1.83.0-r1:1.83.0
|
So why does this warning appear and how to handle it? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31437 Location: here
|
Posted: Thu Jan 09, 2025 10:39 am Post subject: |
|
|
What does emerge -cp virtual/rust command return? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
smgpie n00b
Joined: 15 Apr 2024 Posts: 6
|
Posted: Fri Jan 10, 2025 9:11 pm Post subject: |
|
|
fedeliallalinea wrote: | What does emerge -cp virtual/rust command return? |
It says
Code: | No packages selected for removal by depclean |
For reference, this showed at the end of output when I run emerge -avuDN @world
Code: | !!! The following installed packages are masked:
- virtual/rust-1.81.0-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Matt Jolly <kangie@gentoo.org> (2024-11-09)
# The legacy Rust ebuilds are no longer maintained and have been
# replaced by the new slotted Rust. Removal in 30 days. |
|
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4687 Location: Germany
|
Posted: Fri Jan 10, 2025 9:56 pm Post subject: |
|
|
The --depclean output prints: Code: | >>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose | so, please try it with --verbose Code: | emerge -p --verbose --depclean virtual/rust |
|
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1227 Location: Massachusetts USA
|
Posted: Fri Jan 10, 2025 10:48 pm Post subject: |
|
|
Is virtual/rust in your world set? Try emerge --deselect virtual/rust |
|
Back to top |
|
|
smgpie n00b
Joined: 15 Apr 2024 Posts: 6
|
Posted: Sat Jan 11, 2025 10:12 pm Post subject: |
|
|
Josef.95 wrote: | The --depclean output prints: Code: | >>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose | so, please try it with --verbose Code: | emerge -p --verbose --depclean virtual/rust |
|
OK now I see that virtual/rust is pulled in by several packages, does that mean I have no way of handling this issue? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23037
|
Posted: Sat Jan 11, 2025 11:40 pm Post subject: |
|
|
There should be no packages that (1) require virtual/rust and (2) are the current best version in the Portage tree. I suspect that the packages holding on to virtual/rust for you are themselves out of date, and if you update them, this will be resolved. What is the full output of emerge --pretend --verbose --depclean virtual/rust ; emerge --info ; emerge --pretend --update --deep --changed-use --verbose @world? |
|
Back to top |
|
|
smgpie n00b
Joined: 15 Apr 2024 Posts: 6
|
Posted: Mon Jan 13, 2025 1:40 pm Post subject: |
|
|
Hu wrote: | There should be no packages that (1) require virtual/rust and (2) are the current best version in the Portage tree. I suspect that the packages holding on to virtual/rust for you are themselves out of date, and if you update them, this will be resolved. What is the full output of emerge --pretend --verbose --depclean virtual/rust ; emerge --info ; emerge --pretend --update --deep --changed-use --verbose @world? |
Really helped. I do find those packages are not updating to a newer version due to being masked by ~amd64.
Now I have this question, how do I know that some packages' update is masked by ~amd64 since this is not hinted by emerge? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23037
|
Posted: Mon Jan 13, 2025 3:14 pm Post subject: |
|
|
If you are on unstable, then that emerge ... @world should have picked up the updates automatically. If you are on stable, it is correct not to install unstable, but I am surprised that virtual/rust would be masked while the best available stable version of a package still requires it. Please show the output that I requested. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2646
|
Posted: Mon Jan 13, 2025 4:34 pm Post subject: |
|
|
Would you share your emerge -cpv output at last? We're not psychics.
Best Regards,
Georgi |
|
Back to top |
|
|
|