Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23034 - 2 versions of gtk+ installed but only one recognized.
Summary: 2 versions of gtk+ installed but only one recognized.
Status: RESOLVED DUPLICATE of bug 4698
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-18 01:30 UTC by Martin Zwickel
Modified: 2011-10-30 22:20 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 Martin Zwickel 2003-06-18 01:30:02 UTC
I have two version of gtk+ installed: 2.2.1 and 1.2.10.

If I do an "emerge -Up world" portage wanna update version 1.2.10-r10 to 2.2.1.
# emerge -Up world
>>> --upgradeonly implies --update... adding --update to options.

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild    UD] net-mail/bogofilter-0.11.2 [0.12.3] 
[ebuild    UD] x11-wm/enlightenment-0.16.5-r4 [0.16.6] 
[ebuild    U ] x11-libs/gtk+-1.2.10-r10 [2.2.1] 
[ebuild    UD] net-www/mozilla-1.3-r2 [1.4b] 


But if I do an "emerge -Up gtk+" it doesn't show me the update.
emerge -s gtk shows:
*  x11-libs/gtk+
      Latest version available: 2.2.1
      Latest version installed: 2.2.1
      Size of downloaded files: 6,363 kB
      Homepage:    http://www.gtk.org/
      Description: Gimp ToolKit +


So there must be a bug.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
on emerge -Up world ist shouldn't show the update from 1.2.10 to 2.2.1 since
both are installed.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-18 04:28:35 UTC
no, it doesn't want to replace gtk2 with gtk1 -- they both co-exist very happily on your system, and portage knows the difference between 1 and 2.  it's a bug only in the way portage displays things.  if you do the upgrade, you will see your system is just fine.
Comment 2 Whit Blauvelt 2003-07-25 07:01:57 UTC
Think there may be more of a problem than how things are displayed. When I do an emerge -p 
kde I see: 
 
[ebuild U] x11-libs/gtk+-1.2.10-r10 [2.2.1] 
 
Yet I've already installed that, shown when I do an emerge -p gtk+ and see: 
 
[ebuild R] x11-libs/gtk+-2.2.1 
 
Now, I haven't run emerge kde yet to see if it needlessly reinstalls gtk+-2.2.1, but if it actually 
does as it "pretends," it will right? Isn't the same logic used? 
Comment 3 SpanKY gentoo-dev 2003-07-25 15:17:18 UTC

*** This bug has been marked as a duplicate of 4698 ***