View previous topic :: View next topic |
Author |
Message |
roytheman Tux's lil' helper
Joined: 08 Nov 2009 Posts: 102
|
Posted: Sat Apr 23, 2011 2:07 pm Post subject: Unmerge package - Portage installs it again on World upgrade |
|
|
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 |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Sat Apr 23, 2011 2:13 pm Post subject: |
|
|
what does
Code: | emerge -pvc networkmanager |
say? |
|
Back to top |
|
|
roytheman Tux's lil' helper
Joined: 08 Nov 2009 Posts: 102
|
Posted: Sat Apr 23, 2011 2:36 pm Post subject: |
|
|
Quote: |
No packaged selected for removal by depclean
|
|
|
Back to top |
|
|
roytheman Tux's lil' helper
Joined: 08 Nov 2009 Posts: 102
|
Posted: Sat Apr 23, 2011 2:58 pm Post subject: |
|
|
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 |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Sat Apr 23, 2011 3:06 pm Post subject: |
|
|
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 |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Sat Apr 23, 2011 3:56 pm Post subject: |
|
|
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 |
|
|
|