View previous topic :: View next topic |
Author |
Message |
southsider Guru
Joined: 05 Jul 2004 Posts: 358
|
Posted: Sun Oct 03, 2004 5:31 pm Post subject: How do I get rid of Mozilla in GNOME? |
|
|
I already use Firefox so I don't want the main mozilla suite. Tried unmerging it, but it was merged again on the next update (it's not in my use-flag).
So a bit of investigation led to me finding that Epiphany is depending on Mozilla. Unmerged that, and now an update wants me to merge Epiphany and Mozilla again. How can I find out the reverse dependencies of packages such as Mozilla and Epiphany?
Thanks
Alex |
|
Back to top |
|
|
Given M. Sur l33t
Joined: 03 Feb 2004 Posts: 648 Location: No such file or directory
|
|
Back to top |
|
|
Unne l33t
Joined: 21 Jul 2003 Posts: 616
|
Posted: Sun Oct 03, 2004 5:55 pm Post subject: |
|
|
In case you didn't know,
Code: | chester [~] $ emerge --inject
*** --inject has been deprecated.
*** Please add package to /etc/portage/profile/package.provided
*** using its full name (eg foo/bar-1.0) instead. |
To find the reverse dependencies, you can use something like this:
Code: | grep packagename /var/db/pkg/*/*/*DEPEND |
_________________ Obligatory hompage link. |
|
Back to top |
|
|
southsider Guru
Joined: 05 Jul 2004 Posts: 358
|
Posted: Sun Oct 03, 2004 6:10 pm Post subject: |
|
|
flashpoint root # grep mozilla /var/db/pkg/*/*/*DEPEND
/var/db/pkg/mail-client/mozilla-thunderbird-0.8/DEPEND: >=net-www/mozilla-launcher-1.19
/var/db/pkg/mail-client/mozilla-thunderbird-0.8/RDEPEND: >=net-www/mozilla-launcher-1.19
/var/db/pkg/net-www/mozilla-firefox-bin-1.0_pre-r1/RDEPEND: >=net-www/mozilla-launcher-1.13
So they require mozilla-launcher... but mozilla-launcher doesn't require Mozilla! Something must require Mozilla for my world update to want to merge Mozilla.
Thanks for your help... the hunt goes on. (PS I don't want to Inject because something will break surely, plus it's a bit of a cop out. )
Al |
|
Back to top |
|
|
justabssplyr Tux's lil' helper
Joined: 13 Apr 2004 Posts: 110
|
Posted: Sun Oct 03, 2004 6:14 pm Post subject: |
|
|
the gnome ebuild includes epiphany, which i think depends on having mozilla installed for gecko.
i wonder if theres anyway to get epiphany to either recognize firefox as a replacement for mozilla (some sort of virtual/gecko?) or you could edit the ebuild and remove epiphany. |
|
Back to top |
|
|
Unne l33t
Joined: 21 Jul 2003 Posts: 616
|
Posted: Sun Oct 03, 2004 6:16 pm Post subject: |
|
|
I think grepping like I suggested only lists dependencies for packages you already have installed, so if you removed epiphany it wouldn't show up there. You can grep for what is requiring epiphany, and grep for what's requiring that, etc. etc. until maybe you find that you reach something that you don't want, and you can uninstall stuff all the way down the tree. I did that, and managed to get rid of most of Gnome. If you actually use Gnome, then you're probably stuck with Epiphany and Mozilla, unless you hack something or lie to portage about what you have installed, like someone suggested above. _________________ Obligatory hompage link. |
|
Back to top |
|
|
southsider Guru
Joined: 05 Jul 2004 Posts: 358
|
Posted: Sun Oct 03, 2004 6:21 pm Post subject: |
|
|
D'oh! Of course. Well it would appear the GNOME ebuild requires Epiphany which requires Mozilla. Hmmmmmmmmmmmmmm! I'm going to try and get away with mozilla-bin. Sick of compiling mozilla when I don't even use it! :@ |
|
Back to top |
|
|
TrueDFX Retired Dev
Joined: 02 Jun 2004 Posts: 1348
|
Posted: Sun Oct 03, 2004 6:41 pm Post subject: |
|
|
You can unmerge gnome (this won't remove any files; the gnome package is just a list of dependencies) and add the individiual Gnome programs to your world file (with emerge --noreplace or emerge --onlydeps since they're already installed). This way you can leave specific programs out (such as Epiphany). |
|
Back to top |
|
|
skion Tux's lil' helper
Joined: 18 Aug 2003 Posts: 99 Location: Amsterdam, Netherlands
|
Posted: Sun Oct 03, 2004 6:53 pm Post subject: |
|
|
Hi,
You could try the nice tool discussed here, like this:
Code: |
$ dep -r mozilla
find: /usr/portage/.reiserfs_priv: Permission denied
net-www/mozilla:
net-im/gnophone-0.2.4-r1 mozilla? net-www/mozilla
net-www/epiphany-1.2.9-r1 >=net-www/mozilla-1.7.3
|
and see what it comes up with.
PS. See code above, does anyone know what's wrong with my .reiserfs_privs by any chance? _________________ - Skion |
|
Back to top |
|
|
yoyoned n00b
Joined: 19 Sep 2003 Posts: 13
|
Posted: Sun Oct 03, 2004 9:56 pm Post subject: |
|
|
I solved the problem like this. The following post contains info on automaticly injecting unwanted packages.
https://forums.gentoo.org/viewtopic.php?t=134199&highlight=autoinject
my /etc/portage/package.inject
Code: |
net-www/mozilla
net-www/epiphany
|
Then I run
Code: | /usr/local/bin/autoinject |
when emerge wants to upgrade mozilla or epiphany
Good luck
Todd |
|
Back to top |
|
|
z0mbix n00b
Joined: 20 Feb 2003 Posts: 10 Location: London, UK
|
Posted: Thu Oct 14, 2004 2:04 pm Post subject: |
|
|
Thanks, that's just what I needed _________________ http://www.zombix.org/ |
|
Back to top |
|
|
MarsDude n00b
Joined: 24 May 2002 Posts: 19
|
Posted: Fri Nov 26, 2004 3:16 pm Post subject: |
|
|
Wouldn't it just be possible to unmerge mozilla and epiphany and then just unmerge the gnome meta-package? That way you loose the dependency on epipahny and thus on mozilla. |
|
Back to top |
|
|
TrueDFX Retired Dev
Joined: 02 Jun 2004 Posts: 1348
|
Posted: Fri Nov 26, 2004 3:27 pm Post subject: |
|
|
MarsDude wrote: | Wouldn't it just be possible to unmerge mozilla and epiphany and then just unmerge the gnome meta-package? That way you loose the dependency on epipahny and thus on mozilla. | And you also lose the dependency on a dozen other Gnome packages, meaning portage can't update them when newer versions are available unless you tell it manually to check each of those packages. |
|
Back to top |
|
|
seppe Guru
Joined: 01 Sep 2003 Posts: 431 Location: Hove, Antwerp, Belgium
|
Posted: Fri Nov 26, 2004 5:21 pm Post subject: |
|
|
And next time, just emerge gnome-light .. it doesn't have mozilla in. _________________ nitro-sources, because between stable and experimental there exists only speed
Latest release I made: 2.6.13.2-nitro1 |
|
Back to top |
|
|
muyan n00b
Joined: 12 Oct 2004 Posts: 19
|
Posted: Fri Nov 26, 2004 5:25 pm Post subject: The proper way to remove epiphany/mozilla |
|
|
add this to /etc/portage/package.use
Code: | gnome-base/gnome hppa |
re-emerge all gnome-packages and dependecies directly related to gnome - check the ebuild for a list.
This removes the bindings to epiphany and mozilla.
As said in this post - inject is deprecated and should not be used
instead you can add the package in /etc/portage/package.provided
Code: | i.e.: ~ # echo net-www/epiphany >> /etc/portage/package.provided |
|
|
Back to top |
|
|
MarsDude n00b
Joined: 24 May 2002 Posts: 19
|
Posted: Sat Nov 27, 2004 9:01 pm Post subject: |
|
|
TrueDFX wrote: | And you also lose the dependency on a dozen other Gnome packages, meaning portage can't update them when newer versions are available unless you tell it manually to check each of those packages. |
Isn't portage kind of lacking if it doesn't remember all the packages it installs??? (i'm new here btw... ) |
|
Back to top |
|
|
TrueDFX Retired Dev
Joined: 02 Jun 2004 Posts: 1348
|
Posted: Sat Nov 27, 2004 9:05 pm Post subject: |
|
|
MarsDude wrote: | Isn't portage kind of lacking if it doesn't remember all the packages it installs??? | portage does remember, but since it can no longer find a reason you have those packages on your system - you didn't ask for them specifically, they're only there because you haven't removed them yet, as far as portage is concerned - it won't bother with those packages unless you specifically tell it to.
As for the hppa comment: that happens to work because epiphany is not available for that arch. If it's available later, it will stop working. It's generally best not to mess with arch flags, even though you're right that it would now work in this situation. |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Sat Nov 27, 2004 9:27 pm Post subject: |
|
|
Code: | echo "net-www/epiphany-1.4.4" >> /etc/portage/profile/package.provided |
_________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
|