* [gentoo-dev] emerge --world update
@ 2002-03-15 13:23 Ric Messier
2002-03-15 17:00 ` mbutcher
0 siblings, 1 reply; 11+ messages in thread
From: Ric Messier @ 2002-03-15 13:23 UTC (permalink / raw
To: gentoo-dev
Hi,
Important question. Where is the information for a --world
update gathered. I had initially emerge'd dev-lang/jdk which installed
the blackdown Java. As I have an irrational preference for Sun's JDK, I
unmerged blackdown and installed Sun's java. However, now when I do a
--world update, I see it trying to install blackdown again. I removed
the blackdown directory (that an unmerge apparently didn't) in both /opt
and /var/db/pkg/dev-java. Is there a database somewhere that I'm not
seeing where I can remove blackdown (and others I've unmerged) so I
don't unwittingly restore packages I've yanked?
Thanks,
Ric
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 13:23 [gentoo-dev] emerge --world update Ric Messier
@ 2002-03-15 17:00 ` mbutcher
2002-03-15 17:50 ` Ric Messier
2002-03-15 17:57 ` Ric Messier
0 siblings, 2 replies; 11+ messages in thread
From: mbutcher @ 2002-03-15 17:00 UTC (permalink / raw
To: gentoo-dev
Did you install the Sun JDK from dev-java/sun-jdk, or by hand? Perhaps you
are updating a package that needs Java and it doesn't see the Sun JDK.
On Friday 15 March 2002 06:23 am, you wrote:
> Hi,
> Important question. Where is the information for a --world
> update gathered. I had initially emerge'd dev-lang/jdk which installed
> the blackdown Java. As I have an irrational preference for Sun's JDK, I
> unmerged blackdown and installed Sun's java. However, now when I do a
> --world update, I see it trying to install blackdown again. I removed
> the blackdown directory (that an unmerge apparently didn't) in both /opt
> and /var/db/pkg/dev-java. Is there a database somewhere that I'm not
> seeing where I can remove blackdown (and others I've unmerged) so I
> don't unwittingly restore packages I've yanked?
>
> Thanks,
> Ric
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 17:00 ` mbutcher
@ 2002-03-15 17:50 ` Ric Messier
2002-03-15 17:57 ` Ric Messier
1 sibling, 0 replies; 11+ messages in thread
From: Ric Messier @ 2002-03-15 17:50 UTC (permalink / raw
To: gentoo-dev
I did install the Sun JDK from dev/java/sun-jdk. Hmm ... the other one
is an interesting suggestion. java-config is apparently still installed.
I didn't touch it once I discovered it was there last night but perhaps
I need to get it removed ... didn't think much about it being dependent
on the Blackdown JDK.
Thanks,
Ric
On Fri, 2002-03-15 at 12:00, mbutcher wrote:
> Did you install the Sun JDK from dev-java/sun-jdk, or by hand? Perhaps you
> are updating a package that needs Java and it doesn't see the Sun JDK.
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 17:00 ` mbutcher
2002-03-15 17:50 ` Ric Messier
@ 2002-03-15 17:57 ` Ric Messier
2002-03-15 18:42 ` Sebastian Werner
` (2 more replies)
1 sibling, 3 replies; 11+ messages in thread
From: Ric Messier @ 2002-03-15 17:57 UTC (permalink / raw
To: gentoo-dev
Nope. Just checked. I removed java-config. I then did an emerge
--pretend --world update and I get the following:
[ebuild U] app-shells/sash-3.4-r5 to /
[ebuild U] sys-apps/sh-utils-2.0.11-r2 to /
[ebuild U] sys-devel/spython-2.0-r9 to /
[ebuild U] x11-base/xfree-4.2.0-r8 to /
[ebuild N ] dev-java/java-config-0.1.3 to /
[ebuild N ] dev-java/blackdown-jre-1.3.1-r4 to /
[ebuild U] app-games/dopewars-1.5.4 to /
[ebuild N ] dev-java/blackdown-jdk-1.3.1-r2 to /
[ebuild U] gnome-base/gnome-mime-data-1.0.1-r1 to /
[ebuild U] x11-libs/gtk+-1.2.10-r6 to /
[ebuild U] gnome-base/eel-1.0.2-r1 to /
[ebuild U] gnome-base/gnome-core-1.4.0.6-r2 to /
[ebuild U] gnome-extra/medusa-0.5.1-r3 to /
[ebuild U] app-admin/syslog-ng-1.4.12-r8 to /
You will notice that it wants to install blackdown and java-config as
new packages. This seems broken. If I remove them, they shouldn't be in
the list to be updated (or re-installed). Is this a bug or am I missing
something? If it's a bug, I'll submit it.
Thanks,
Ric
On Fri, 2002-03-15 at 12:00, mbutcher wrote:
> Did you install the Sun JDK from dev-java/sun-jdk, or by hand? Perhaps you
> are updating a package that needs Java and it doesn't see the Sun JDK.
>
> On Friday 15 March 2002 06:23 am, you wrote:
> > Hi,
> > Important question. Where is the information for a --world
> > update gathered. I had initially emerge'd dev-lang/jdk which installed
> > the blackdown Java. As I have an irrational preference for Sun's JDK, I
> > unmerged blackdown and installed Sun's java. However, now when I do a
> > --world update, I see it trying to install blackdown again. I removed
> > the blackdown directory (that an unmerge apparently didn't) in both /opt
> > and /var/db/pkg/dev-java. Is there a database somewhere that I'm not
> > seeing where I can remove blackdown (and others I've unmerged) so I
> > don't unwittingly restore packages I've yanked?
> >
> > Thanks,
> > Ric
> >
> >
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@gentoo.org
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 17:57 ` Ric Messier
@ 2002-03-15 18:42 ` Sebastian Werner
2002-03-15 18:42 ` mbutcher
2002-03-15 19:47 ` Defresne Sylvain
2 siblings, 0 replies; 11+ messages in thread
From: Sebastian Werner @ 2002-03-15 18:42 UTC (permalink / raw
To: gentoo-dev
blackdown's java packages seems to need this package... you could remove all blackdown packages and try again...
The list is created as follows:
create list of installed packages
look for the latest version
look for dependecies of latest version
extend list with new packages
output the list
Greetings
Sebastian
Am 15.03.2002 18:57:10, schrieb Ric Messier <kilroy@WasHere.COM>:
>Nope. Just checked. I removed java-config. I then did an emerge
>--pretend --world update and I get the following:
>
>[ebuild U] app-shells/sash-3.4-r5 to /
>[ebuild U] sys-apps/sh-utils-2.0.11-r2 to /
>[ebuild U] sys-devel/spython-2.0-r9 to /
>[ebuild U] x11-base/xfree-4.2.0-r8 to /
>[ebuild N ] dev-java/java-config-0.1.3 to /
>[ebuild N ] dev-java/blackdown-jre-1.3.1-r4 to /
>[ebuild U] app-games/dopewars-1.5.4 to /
>[ebuild N ] dev-java/blackdown-jdk-1.3.1-r2 to /
>[ebuild U] gnome-base/gnome-mime-data-1.0.1-r1 to /
>[ebuild U] x11-libs/gtk+-1.2.10-r6 to /
>[ebuild U] gnome-base/eel-1.0.2-r1 to /
>[ebuild U] gnome-base/gnome-core-1.4.0.6-r2 to /
>[ebuild U] gnome-extra/medusa-0.5.1-r3 to /
>[ebuild U] app-admin/syslog-ng-1.4.12-r8 to /
>
>You will notice that it wants to install blackdown and java-config as
>new packages. This seems broken. If I remove them, they shouldn't be in
>the list to be updated (or re-installed). Is this a bug or am I missing
>something? If it's a bug, I'll submit it.
>
>Thanks,
>Ric
>
>On Fri, 2002-03-15 at 12:00, mbutcher wrote:
>> Did you install the Sun JDK from dev-java/sun-jdk, or by hand? Perhaps you
>> are updating a package that needs Java and it doesn't see the Sun JDK.
>>
>> On Friday 15 March 2002 06:23 am, you wrote:
>> > Hi,
>> > Important question. Where is the information for a --world
>> > update gathered. I had initially emerge'd dev-lang/jdk which installed
>> > the blackdown Java. As I have an irrational preference for Sun's JDK, I
>> > unmerged blackdown and installed Sun's java. However, now when I do a
>> > --world update, I see it trying to install blackdown again. I removed
>> > the blackdown directory (that an unmerge apparently didn't) in both /opt
>> > and /var/db/pkg/dev-java. Is there a database somewhere that I'm not
>> > seeing where I can remove blackdown (and others I've unmerged) so I
>> > don't unwittingly restore packages I've yanked?
>> >
>> > Thanks,
>> > Ric
>> >
>> >
>> > _______________________________________________
>> > gentoo-dev mailing list
>> > gentoo-dev@gentoo.org
>> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>> _______________________________________________
>> gentoo-dev mailing list
>> gentoo-dev@gentoo.org
>> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@gentoo.org
>http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 17:57 ` Ric Messier
2002-03-15 18:42 ` Sebastian Werner
@ 2002-03-15 18:42 ` mbutcher
2002-03-15 18:47 ` mbutcher
2002-03-15 19:47 ` Defresne Sylvain
2 siblings, 1 reply; 11+ messages in thread
From: mbutcher @ 2002-03-15 18:42 UTC (permalink / raw
To: gentoo-dev
Hmmm... that is interesting. Maybe karltk will be able to help.
Some time back he sent a message about java-config that contained this little
snippet. Maybe it will help.
---
On Tuesday 29 January 2002 09:22 am, karltk wrote:
-snip-
> Still not resolved properly is:
> * emerge rsync ; emerge --world update will try to install both the JRE
> and JDK, even though the JDK supercedes the JRE if installed. Workaround:
> Always make certain /etc/make.profile/virtuals uses the
> <yourfavourite>-jdk to resolve the jre before doing emerge update. This
> should only affect people with the JDK installed.
>
> Keep the bug reports coming ;)
>
> Karl T
--
Looking at mine, I have blackdown as my virtual/jdk even though I have both
Sun's and Blackdown's JDK installed. If it is the same in your case, then
virtual dependancies will report (if I understand this correctly) that you
don't have the JDK dependancy satisfied. Just change the package name in
/etc/make.profile/virtuals to dev-java/sun-jdk
Matt
On Friday 15 March 2002 10:57 am, you wrote:
> Nope. Just checked. I removed java-config. I then did an emerge
> --pretend --world update and I get the following:
>
> [ebuild U] app-shells/sash-3.4-r5 to /
> [ebuild U] sys-apps/sh-utils-2.0.11-r2 to /
> [ebuild U] sys-devel/spython-2.0-r9 to /
> [ebuild U] x11-base/xfree-4.2.0-r8 to /
> [ebuild N ] dev-java/java-config-0.1.3 to /
> [ebuild N ] dev-java/blackdown-jre-1.3.1-r4 to /
> [ebuild U] app-games/dopewars-1.5.4 to /
> [ebuild N ] dev-java/blackdown-jdk-1.3.1-r2 to /
> [ebuild U] gnome-base/gnome-mime-data-1.0.1-r1 to /
> [ebuild U] x11-libs/gtk+-1.2.10-r6 to /
> [ebuild U] gnome-base/eel-1.0.2-r1 to /
> [ebuild U] gnome-base/gnome-core-1.4.0.6-r2 to /
> [ebuild U] gnome-extra/medusa-0.5.1-r3 to /
> [ebuild U] app-admin/syslog-ng-1.4.12-r8 to /
>
> You will notice that it wants to install blackdown and java-config as
> new packages. This seems broken. If I remove them, they shouldn't be in
> the list to be updated (or re-installed). Is this a bug or am I missing
> something? If it's a bug, I'll submit it.
>
> Thanks,
> Ric
>
> On Fri, 2002-03-15 at 12:00, mbutcher wrote:
> > Did you install the Sun JDK from dev-java/sun-jdk, or by hand? Perhaps
> > you are updating a package that needs Java and it doesn't see the Sun
> > JDK.
> >
> > On Friday 15 March 2002 06:23 am, you wrote:
> > > Hi,
> > > Important question. Where is the information for a --world
> > > update gathered. I had initially emerge'd dev-lang/jdk which installed
> > > the blackdown Java. As I have an irrational preference for Sun's JDK, I
> > > unmerged blackdown and installed Sun's java. However, now when I do a
> > > --world update, I see it trying to install blackdown again. I removed
> > > the blackdown directory (that an unmerge apparently didn't) in both
> > > /opt and /var/db/pkg/dev-java. Is there a database somewhere that I'm
> > > not seeing where I can remove blackdown (and others I've unmerged) so I
> > > don't unwittingly restore packages I've yanked?
> > >
> > > Thanks,
> > > Ric
> > >
> > >
> > > _______________________________________________
> > > gentoo-dev mailing list
> > > gentoo-dev@gentoo.org
> > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> >
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@gentoo.org
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 18:42 ` mbutcher
@ 2002-03-15 18:47 ` mbutcher
0 siblings, 0 replies; 11+ messages in thread
From: mbutcher @ 2002-03-15 18:47 UTC (permalink / raw
To: gentoo-dev
I should have noted that you will definitely need java-config, so you might
want to re-merge it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 17:57 ` Ric Messier
2002-03-15 18:42 ` Sebastian Werner
2002-03-15 18:42 ` mbutcher
@ 2002-03-15 19:47 ` Defresne Sylvain
2002-03-15 20:23 ` Ric Messier
2002-03-15 20:39 ` Zach Forrest
2 siblings, 2 replies; 11+ messages in thread
From: Defresne Sylvain @ 2002-03-15 19:47 UTC (permalink / raw
To: gentoo-dev
* Ric Messier (kilroy@WasHere.COM) wrote:
> Nope. Just checked. I removed java-config. I then did an emerge
> --pretend --world update and I get the following:
>
> [ebuild U] app-shells/sash-3.4-r5 to /
> [ebuild U] sys-apps/sh-utils-2.0.11-r2 to /
> [ebuild U] sys-devel/spython-2.0-r9 to /
> [ebuild U] x11-base/xfree-4.2.0-r8 to /
> [ebuild N ] dev-java/java-config-0.1.3 to /
> [ebuild N ] dev-java/blackdown-jre-1.3.1-r4 to /
> [ebuild U] app-games/dopewars-1.5.4 to /
> [ebuild N ] dev-java/blackdown-jdk-1.3.1-r2 to /
> [ebuild U] gnome-base/gnome-mime-data-1.0.1-r1 to /
> [ebuild U] x11-libs/gtk+-1.2.10-r6 to /
> [ebuild U] gnome-base/eel-1.0.2-r1 to /
> [ebuild U] gnome-base/gnome-core-1.4.0.6-r2 to /
> [ebuild U] gnome-extra/medusa-0.5.1-r3 to /
> [ebuild U] app-admin/syslog-ng-1.4.12-r8 to /
>
> You will notice that it wants to install blackdown and java-config as
> new packages. This seems broken. If I remove them, they shouldn't be in
> the list to be updated (or re-installed). Is this a bug or am I missing
> something? If it's a bug, I'll submit it.
Does any of your installed application depends on 'virtual/jdk' (or
'virtual/jre'). If this is the case, it will explain why 'blackdown'
version of java is reinstalled each time you do an 'emerge --world'.
When searching for a package providing 'virtual/jdk', portage first look
in '/etc/make.profile/virtuals' and find 'dev-java/blackdown-jdk' and so
it wants to install it.
I see it as a bug in how portage decides which package provide a
'virtual' package. In the current implementation (1.8.8 for me), it
first look in '/etc/make.profile/virtual' and if no package if found
it search in the database of installed package.
I think that it should first look in '/var/db/pkg/virtual/...', and
only if no package is found uses '/etc/make.profile/virtuals' as a
fallback. With such a scheme, '/etc/make.profile/virtuals' would be
used as a list of default 'virtual' package provider, but can be
overriden by locally installed package.
I think I'll submit this as a bug in portage soon unless someone
involved in portage developpement say this is not a bug but the intended
behaviour
As a workaround, you can edit '/etc/make.profile/virtuals' and replace
'dev-java/blackdown-jdk' by 'dev-java/sun-jdk' (and also for '*-jre').
Bye
--
Keiichi
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 19:47 ` Defresne Sylvain
@ 2002-03-15 20:23 ` Ric Messier
2002-03-15 20:39 ` Zach Forrest
1 sibling, 0 replies; 11+ messages in thread
From: Ric Messier @ 2002-03-15 20:23 UTC (permalink / raw
To: gentoo-dev
On Fri, 2002-03-15 at 14:47, Defresne Sylvain wrote:
>
> Does any of your installed application depends on 'virtual/jdk' (or
> 'virtual/jre'). If this is the case, it will explain why 'blackdown'
> version of java is reinstalled each time you do an 'emerge --world'.
>
Hi,
This is going to sound stupid. I'm blanking on how to determine whether
any of my packages relies on virtual/jdk. I'm fairly certain that
nothing does because I know I emerge'd it by hand (not looking closely
enough at what dev-lang/jdk would install).
I have changed my /etc/make.profile/virtual (thanks to everyone for
pointing that file out to me -- I've learned something new today).
Thanks,
Ric
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 19:47 ` Defresne Sylvain
2002-03-15 20:23 ` Ric Messier
@ 2002-03-15 20:39 ` Zach Forrest
2002-03-15 22:00 ` Defresne Sylvain
1 sibling, 1 reply; 11+ messages in thread
From: Zach Forrest @ 2002-03-15 20:39 UTC (permalink / raw
To: gentoo-dev
Another point that is directly related (and a good reason to first
check'/var/db/pkg/virtual/...') is that the jdk provides the jre as
well. The jdk package properly records this in
'/var/db/pkg/virtual/jre-*/VIRTUAL', but updating doesn't respect this.
I have the blackdown jdk installed, for example, but when doing a world
update, I am always prompted to install the jre as well.
I do think this is a bug. Would you care to report it?
Zach
Defresne Sylvain wrote:
> * Ric Messier (kilroy@WasHere.COM) wrote:
>
>>Nope. Just checked. I removed java-config. I then did an emerge
>>--pretend --world update and I get the following:
>>
>>[ebuild U] app-shells/sash-3.4-r5 to /
>>[ebuild U] sys-apps/sh-utils-2.0.11-r2 to /
>>[ebuild U] sys-devel/spython-2.0-r9 to /
>>[ebuild U] x11-base/xfree-4.2.0-r8 to /
>>[ebuild N ] dev-java/java-config-0.1.3 to /
>>[ebuild N ] dev-java/blackdown-jre-1.3.1-r4 to /
>>[ebuild U] app-games/dopewars-1.5.4 to /
>>[ebuild N ] dev-java/blackdown-jdk-1.3.1-r2 to /
>>[ebuild U] gnome-base/gnome-mime-data-1.0.1-r1 to /
>>[ebuild U] x11-libs/gtk+-1.2.10-r6 to /
>>[ebuild U] gnome-base/eel-1.0.2-r1 to /
>>[ebuild U] gnome-base/gnome-core-1.4.0.6-r2 to /
>>[ebuild U] gnome-extra/medusa-0.5.1-r3 to /
>>[ebuild U] app-admin/syslog-ng-1.4.12-r8 to /
>>
>>You will notice that it wants to install blackdown and java-config as
>>new packages. This seems broken. If I remove them, they shouldn't be in
>>the list to be updated (or re-installed). Is this a bug or am I missing
>>something? If it's a bug, I'll submit it.
>
>
> Does any of your installed application depends on 'virtual/jdk' (or
> 'virtual/jre'). If this is the case, it will explain why 'blackdown'
> version of java is reinstalled each time you do an 'emerge --world'.
>
> When searching for a package providing 'virtual/jdk', portage first look
> in '/etc/make.profile/virtuals' and find 'dev-java/blackdown-jdk' and so
> it wants to install it.
>
> I see it as a bug in how portage decides which package provide a
> 'virtual' package. In the current implementation (1.8.8 for me), it
> first look in '/etc/make.profile/virtual' and if no package if found
> it search in the database of installed package.
>
> I think that it should first look in '/var/db/pkg/virtual/...', and
> only if no package is found uses '/etc/make.profile/virtuals' as a
> fallback. With such a scheme, '/etc/make.profile/virtuals' would be
> used as a list of default 'virtual' package provider, but can be
> overriden by locally installed package.
>
> I think I'll submit this as a bug in portage soon unless someone
> involved in portage developpement say this is not a bug but the intended
> behaviour
>
> As a workaround, you can edit '/etc/make.profile/virtuals' and replace
> 'dev-java/blackdown-jdk' by 'dev-java/sun-jdk' (and also for '*-jre').
>
> Bye
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-dev] emerge --world update
2002-03-15 20:39 ` Zach Forrest
@ 2002-03-15 22:00 ` Defresne Sylvain
0 siblings, 0 replies; 11+ messages in thread
From: Defresne Sylvain @ 2002-03-15 22:00 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
* Zach Forrest (zach@disinformation.ca) wrote:
> I do think this is a bug. Would you care to report it?
Done : bug #1166
--
Keiichi
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2002-03-15 22:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-15 13:23 [gentoo-dev] emerge --world update Ric Messier
2002-03-15 17:00 ` mbutcher
2002-03-15 17:50 ` Ric Messier
2002-03-15 17:57 ` Ric Messier
2002-03-15 18:42 ` Sebastian Werner
2002-03-15 18:42 ` mbutcher
2002-03-15 18:47 ` mbutcher
2002-03-15 19:47 ` Defresne Sylvain
2002-03-15 20:23 ` Ric Messier
2002-03-15 20:39 ` Zach Forrest
2002-03-15 22:00 ` Defresne Sylvain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox