Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unmerge package - Portage installs it again on World upgrade
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
roytheman
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2009
Posts: 102

PostPosted: Sat Apr 23, 2011 2:07 pm    Post subject: Unmerge package - Portage installs it again on World upgrade Reply with quote

Hello forum,

I unmerged networkmanager using the command "emerge --unmerge networkmanager" so I could use wpa_supplicant for getting online instead, and everything went well until my next world update. When I performed a world update using "emerge -vpuD world", portage wanted to re-install networkmanager all over again. But I do not want networkmanager installed at this time since I am using wpa_supplicant.

Did I do something wrong when I unmerged networkmanager? How can I stop portage from trying to re-install networkmanager on a world update?

Thanks for your time,
Roy
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Sat Apr 23, 2011 2:13 pm    Post subject: Reply with quote

what does
Code:
emerge -pvc networkmanager

say?
Back to top
View user's profile Send private message
roytheman
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2009
Posts: 102

PostPosted: Sat Apr 23, 2011 2:36 pm    Post subject: Reply with quote

Quote:


No packaged selected for removal by depclean
Back to top
View user's profile Send private message
roytheman
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2009
Posts: 102

PostPosted: Sat Apr 23, 2011 2:58 pm    Post subject: Reply with quote

I think I found my problem. I did not unmerge nm-applet. Once I unmerged that, a world update did not pull in networkmanager.

Thanks anyway,
Roy
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Sat Apr 23, 2011 3:06 pm    Post subject: Reply with quote

too late, but:

For those kinds of problems you have easy ways to find out why

1) use the -t, --tree emerge option so you can see what is pulling it in

2) app-portage/gentoolkit
Code:
equery depends networkmanager


3) app-portage/portage-utils qdepends which is similar to equery
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Sat Apr 23, 2011 3:56 pm    Post subject: Reply with quote

roytheman wrote:
Quote:


No packaged selected for removal by depclean
that's not the full output - in future, post the full output

As you found out yourself, the reason your world update wanted to reinstall it is the same as the reason depclean didn't want to remove it: a package on your system still depended on it.

It's a good idea to always uninstall packages using emerge -c (depclean) instead of emerge -C (unmerge) - depclean will show you the reverse dependencies (if you run it with the -v (verbose) option, that is)
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