Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to remove virtual/rust
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
smgpie
n00b
n00b


Joined: 15 Apr 2024
Posts: 6

PostPosted: Thu Jan 09, 2025 10:16 am    Post subject: How to remove virtual/rust Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31437
Location: here

PostPosted: Thu Jan 09, 2025 10:39 am    Post subject: Reply with quote

What does emerge -cp virtual/rust command return?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
smgpie
n00b
n00b


Joined: 15 Apr 2024
Posts: 6

PostPosted: Fri Jan 10, 2025 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4687
Location: Germany

PostPosted: Fri Jan 10, 2025 9:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1227
Location: Massachusetts USA

PostPosted: Fri Jan 10, 2025 10:48 pm    Post subject: Reply with quote

Is virtual/rust in your world set? Try emerge --deselect virtual/rust
Back to top
View user's profile Send private message
smgpie
n00b
n00b


Joined: 15 Apr 2024
Posts: 6

PostPosted: Sat Jan 11, 2025 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23037

PostPosted: Sat Jan 11, 2025 11:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
smgpie
n00b
n00b


Joined: 15 Apr 2024
Posts: 6

PostPosted: Mon Jan 13, 2025 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23037

PostPosted: Mon Jan 13, 2025 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2646

PostPosted: Mon Jan 13, 2025 4:34 pm    Post subject: Reply with quote

Would you share your emerge -cpv output at last? We're not psychics.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum