Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168474 - mozilla-firefox should block mozilla-firefox-bin and vice versa
Summary: mozilla-firefox should block mozilla-firefox-bin and vice versa
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 17:03 UTC by James Sharpe
Modified: 2007-02-26 22:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Sharpe 2007-02-26 17:03:19 UTC
The package mozilla-firefox and mozilla-firefox-bin should block each other as packages such as epiphany depend upon mozilla-firefox to build, thus when the user has mozilla-firefox-bin installed, emerging epiphany results in mozilla-firefox also being installed. openoffice and openoffice-bin block each other, so I believe that firefox should do the same.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 17:14:51 UTC
No way.

*** This bug has been marked as a duplicate of bug 160857 ***
Comment 2 James Sharpe 2007-02-26 18:34:27 UTC
Why not? What reason is there not to do this?
Comment 3 James Sharpe 2007-02-26 18:50:24 UTC
If you want a valid reason why this should be done:
Suppose a user installs mozilla-firefox-bin.
They then go on to install a package that pulls in mozilla-firefox thus ending up with mozilla-firefox as a dependency and not recorded in the world file.
The user would most likely end up now running this install as the command firefox refers to mozilla-firefox and firefox-bin refers to the mozilla-firefox-bin install.
Now suppose a critical bug appears in firefox that exposes a security issue. 
A user not used to the gentoo portage system may then unwittingly run emerge -uav world, sees the update to mozilla-firefox-bin install it and assume everything is fine - but of course not because they haven't updated the mozilla-firefox package which they are in general running instead of the bin package.
Yes you may argue that the user should become more used to the portage system, but if you want to see the spread of linux then making software installation and updating idiot-proof is required and this is one of those areas where things need to be improved.
Comment 4 Bryan Jacobs 2007-02-26 19:27:35 UTC
(In reply to comment #2)
> Why not? What reason is there not to do this?
> 

amd64 users may prefer a 64-bit firefox over the 32-bit firefox-bin, except when viewing flash/32-bit media.

There should be a virtual satisfied by either firefox.  In my mind, there should be a virtual for each -bin package.  But there's no reason to specify blockers.
Comment 5 James Sharpe 2007-02-26 19:46:49 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > Why not? What reason is there not to do this?
> > 
> 
> amd64 users may prefer a 64-bit firefox over the 32-bit firefox-bin, except
> when viewing flash/32-bit media.
> 
> There should be a virtual satisfied by either firefox.  In my mind, there
> should be a virtual for each -bin package.  But there's no reason to specify
> blockers.
> 

The problem with a virtual though is that the firefox-bin package doesn't provide the necessary headers for compiling against. It appears to me that this case needs a support mechanism at the level of portage to fulfill all requirements.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 22:22:58 UTC
Please, stop bugging us with nonsense.