Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186062 - vmware blockers makes upgrading painful
Summary: vmware blockers makes upgrading painful
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-21 04:32 UTC by SpanKY
Modified: 2011-03-17 13:04 UTC (History)
1 user (show)

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 SpanKY gentoo-dev 2007-07-21 04:32:54 UTC
there doesnt seem to be any need for the blockers in the vmware packages:
    ~app-emulation/vmware-modules-1.0.0.15
    !<app-emulation/vmware-modules-1.0.0.15
    !>=app-emulation/vmware-modules-1.0.0.16

you already have a force RDEPEND on 1.0.0.15 already, so no need for the blockers
Comment 1 Mike Auty (RETIRED) gentoo-dev 2007-07-21 09:54:18 UTC
We'd seen some issues in the past where portage suggested the upgrade even with the ~vmware-modules-1.0.0.##, so Chris added in the blockers.  They oughtn't make upgrading painful, and it should stop people manually upgrading because they think they're out of date, and then filing bug reporting when it doesn't work (which we've had happen).  I believe the only extra burden on users is to uninstall the pervious product when they go to put a new one in place.  Are there any other negative effects besides this?
Comment 2 SpanKY gentoo-dev 2007-07-21 19:49:43 UTC
that smells like a portage bug that should have been fixed but wasnt

imo, this negative effect is significant ... world updates should be smooth, not require micro management every step of the way
Comment 3 SpanKY gentoo-dev 2007-07-21 19:50:42 UTC
plus, since you need to run `/etc/init.d/vmware start` in order to use vmware, cant you just put a runtime check there ?
Comment 4 Mike Auty (RETIRED) gentoo-dev 2007-07-21 21:13:41 UTC
The vmware init scripts are generally simple wrappers, and verifying the compiled module version and then determining which product we're about to run isn't likely to be as trivial as adding dependency checks.

Also do people change vmware products often enough to run into this as a problem very often?  I expect any issues encountered because of this to be quite rare.

I'd be very happy to see the block dependencies go, I'm just wary about doing so , and I've got higher priority problems to deal with first (like getting the modules to work with 2.6.22).  You'd do best to check with Chris as to whether this is a portage bug or not...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2007-07-24 19:33:48 UTC
The "portage bug" is from people that "emerge vmware-modules" which causes vmware-modules to be listed in world.  Without the blockers, portage will try to "upgrade" the vmware-modules to the "best version" which is what caused the bug in the first place.  Also, I've not seen an issue with upgrades myself.  Exactly what were you doing that caused the problem?  If you were switching products, then it's expected that you would have to remove both pieces of the old product.  Anyway, the blockers keep portage from trying to upgrade when users don't use --oneshot on vmware-modules after they've upgraded their kernels.  Rather than try to educate every single user who does this every time, we chose to use a technical "solution" to keep them from being able to dork up their systems.  Unless you've got a better solution to this, I'd rather keep it as is now.
Comment 6 SpanKY gentoo-dev 2007-07-24 22:32:37 UTC
you're saying that it's expected that you'd have to do:
emerge -C vmware-modules
emerge vmware-workstation
in order to upgrade from vmware-workstation-5.x to 6.x

upgrading from 5.x to 6.x actually isnt a big deal from what i can tell ... if you have a 5.x license, you can use 6.x just fine as you can select the vmware capabilities on a per-vm basis.  in other words, you can run 6.x with a 5.x license if you set your vm capabilities to the "Workstation 5" level
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2007-07-25 19:36:02 UTC
(In reply to comment #6)
> you're saying that it's expected that you'd have to do:
> emerge -C vmware-modules
> emerge vmware-workstation
> in order to upgrade from vmware-workstation-5.x to 6.x

No, that should be seamless.  If you were switching from workstation to server, then yes, I would expect it.  You're saying you had a problem with it upgrading from 5.x to 6.x?  If so, which version of portage, because it *used* to work just fine.
Comment 8 SpanKY gentoo-dev 2007-07-25 23:45:48 UTC
you cant see the color output, but ive made sure vmware-modules is not in world but vmware-workstation is

root@vapier-m 0 ~ # emerge --version
Portage 2.1.3_rc9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22.1 i686)

root@vapier-m 0 ~ # emerge =vmware-workstation-6* -pq
[ebuild  N    ] dev-cpp/libsexymm-0.1.9
[ebuild  N    ] x11-libs/libview-0.5.6-r1
[ebuild     U ] app-emulation/vmware-modules-1.0.0.16 [1.0.0.15-r1]
[ebuild    FU ] app-emulation/vmware-workstation-6.0.0.45731 [5.5.4.44386]
[blocks B     ] >=app-emulation/vmware-modules-1.0.0.16 (is blocking app-emulation/vmware-workstation-5.5.4.44386)
[blocks B     ] <app-emulation/vmware-modules-1.0.0.16 (is blocking app-emulation/vmware-workstation-6.0.0.45731)
Comment 9 Sven Gebhardt 2008-12-30 15:13:45 UTC
This is a again a problem now, as the stable vmware-modules (1.0.0.5-r1) does not compile with the stable gentoo-sources-2.6.27-r7 (see bug #242098), while 1.0.0.23 compiles and works fine.

Please remove the blocks (which now screw up every world update) or stablize vmware-modules-1.0.0.23.
Comment 10 Mike Auty (RETIRED) gentoo-dev 2008-12-30 15:28:12 UTC
Sven, stabilizing the 1.0.0.23 modules won't help you, because if you're using a product that requires vmware-modules-1.0.0.15, it requires vmware-modules-1.0.0.15, a later version won't work.  You probably want bug 227303, which monitors the problem of 1.0.0.15 not building against 2.6.26 onwards.
Comment 11 Vadim Kuznetsov (RETIRED) gentoo-dev 2011-03-17 13:04:18 UTC
Dependencies on vmware-modules are implemented a bit differently now. But it's still true: every version of vmware product requires specific version of modules. Closing bug.