Re: [gentoo-user] problems in world file?

2005-12-07 Thread Neil Bothwick
On Tue, 6 Dec 2005 21:21:25 -0500, Ernie Schroder wrote:

 The build has finished and the error was still there. I ran emaint
 --check world and found that there were several apps with no ebuilds in
 portage. They were all unused apps that I had played with at one time
 or another and I simply deleted them from the world file. All seems
 well now. Thanks for the discussion.

Did you unmerge them too. If not, you have several orphaned packages on
your system, which emerge -p depclean will show.


-- 
Neil Bothwick

WinErr 012: Window closed - Do not look inside


signature.asc
Description: PGP signature


[gentoo-user] problems in world file?

2005-12-06 Thread Ernie Schroder
Calculating world dependencies
!!! Problems have been detected with your world file
!!! Please run emaint --check world

I checked for updates to world while I was updating KDE to 3.5 and got the 
above message. Should I worry yet?
-- 
Regards, Ernie
100% Microsoft and Intel free

 13:34:57 up 1 day,  4:17,  6 users,  load average: 2.21, 2.12, 2.06
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Holly Bostick
Ernie Schroder schreef:
 Calculating world dependencies !!! Problems have been detected with
 your world file !!! Please run emaint --check world
 
 I checked for updates to world while I was updating KDE to 3.5 and
 got the above message. Should I worry yet?

Let's see... you expect one instance of Portage to give reliable output
while another instance of Portage is updating the relevant data that the
instance you're looking at is trying to read

... no, I wouldn't worry just yet. I would worry if you got the same
message after the emerge was complete, though.

But I doubt you will.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Neil Bothwick
On Tue, 6 Dec 2005 13:36:47 -0500, Ernie Schroder wrote:

 !!! Problems have been detected with your world file
 !!! Please run emaint --check world
 
 I checked for updates to world while I was updating KDE to 3.5 and got
 the above message. Should I worry yet?

No, you should follow the instructions in the message. Run what it tells
you to run and you'll see what is wrong.

When portage says something along the lines of please run... it makes
sense to run it.


-- 
Neil Bothwick

Mouse: (n.) an input device used by management to force computer users to
   keep at least a part of their desks clean.


signature.asc
Description: PGP signature


Re: [gentoo-user] problems in world file?

2005-12-06 Thread Willie Wong
On Tue, Dec 06, 2005 at 01:36:47PM -0500, Ernie Schroder wrote:
 Calculating world dependencies
 !!! Problems have been detected with your world file
 !!! Please run emaint --check world
 
 I checked for updates to world while I was updating KDE to 3.5 and got the 
 above message. Should I worry yet?

Well... run emaint --check world? 

It should tell you what's wrong. The last time it happened to me was
when a security hole in scorched3d was found resulting in all ebuilds
for it to be hardmasked. I had scorched3d in my world file but there
are no ebuilds ... 

W
-- 
A young woman was jogging when she saw a wizened old man, smiling at her
from his porch. 
You look so happy! she said to him. What's your secret for a long
satisfying life?
Well, I smoke three packs of cigarettes every day and I drink a case of
wisky every week. on top of that I never excersice, and I eat lots of 
fatty foods.
That's amazing, the woman said. And how old are you?
He answered, thirty two.
Sortir en Pantoufles: up 24 days, 11:29
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Willie Wong
On Tue, Dec 06, 2005 at 07:56:22PM +0100, Holly Bostick wrote:
 Ernie Schroder schreef:
  Calculating world dependencies !!! Problems have been detected with
  your world file !!! Please run emaint --check world
  
  I checked for updates to world while I was updating KDE to 3.5 and
  got the above message. Should I worry yet?
 
 Let's see... you expect one instance of Portage to give reliable output
 while another instance of Portage is updating the relevant data that the
 instance you're looking at is trying to read
 

Oh! That's what the OP meant... geez, my English parsing skill is a
disgrace to my education. ;-p

But that's gotta be some very unlucky timing issue to have the read
and write of the world file collide, eh? 

W
-- 
Theoretically, there's no difference between theory and practice; but in 
 practice there is.
 ~Jared Kaplan
Sortir en Pantoufles: up 24 days, 11:34
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Holly Bostick
Willie Wong schreef:
 On Tue, Dec 06, 2005 at 07:56:22PM +0100, Holly Bostick wrote:
 
 Ernie Schroder schreef:
 
 Calculating world dependencies !!! Problems have been detected
 with your world file !!! Please run emaint --check world
 
 I checked for updates to world while I was updating KDE to 3.5
 and got the above message. Should I worry yet?
 
 Let's see... you expect one instance of Portage to give reliable
 output while another instance of Portage is updating the relevant
 data that the instance you're looking at is trying to read
 
 
 
 Oh! That's what the OP meant... geez, my English parsing skill is a 
 disgrace to my education. ;-p
 
 But that's gotta be some very unlucky timing issue to have the read 
 and write of the world file collide, eh?

Oh, I dunno-- what actually happens to the world file (in terms of
ownership/process ownership and locking) at the time that an emerge that
affects the world file is being performed?

There are reasons that major Portage processes are not supposed to be
carried out concurrently. It's true that while I'm upgrading KDE, I
probably could emerge... oh, mutt... at the same time in another
instance, but checking the entire Portage tree (as in emerge -ua**
world) is just not recommended, since Portage can't really be expected
to know which updates are really valid (because it's currently
performing some of them in another instance, with which it can't
communicate).

I mean, you could all be quite right, and I wrong, but Istr I got this
message when I did something similarly unwise, and after the emerge
actually finished, there was nothing wrong anymore (because the left
hand knew what the right hand had done).

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Neil Bothwick
On Tue, 06 Dec 2005 20:33:58 +0100, Holly Bostick wrote:

 There are reasons that major Portage processes are not supposed to be
 carried out concurrently. It's true that while I'm upgrading KDE, I
 probably could emerge... oh, mutt... at the same time in another
 instance, but checking the entire Portage tree (as in emerge -ua**
 world) is just not recommended, since Portage can't really be expected
 to know which updates are really valid (because it's currently
 performing some of them in another instance, with which it can't
 communicate).

The emerge -u invocation wasn't actually emerging anything, so it won't
write to world. Emerging KDE only results in one write to world, at the
end of the process. I expect there is another cause unless the OP was
incredibly unlucky or impatient.

 I mean, you could all be quite right, and I wrong, but Istr I got this
 message when I did something similarly unwise, and after the emerge
 actually finished, there was nothing wrong anymore (because the left
 hand knew what the right hand had done).

I've had this a few times, and each time it was because the ebuild for an
installed package was no longer available.


-- 
Neil Bothwick

* * * - Tribbles     - teenage mutant ninja tribbles


signature.asc
Description: PGP signature


Re: [gentoo-user] problems in world file?

2005-12-06 Thread Holly Bostick
Neil Bothwick schreef:
 On Tue, 06 Dec 2005 20:33:58 +0100, Holly Bostick wrote:
 
 
 There are reasons that major Portage processes are not supposed to 
 be carried out concurrently. It's true that while I'm upgrading 
 KDE, I probably could emerge... oh, mutt... at the same time in 
 another instance, but checking the entire Portage tree (as in 
 emerge -ua** world) is just not recommended, since Portage can't 
 really be expected to know which updates are really valid (because 
 it's currently performing some of them in another instance, with 
 which it can't communicate).
 
 
 The emerge -u invocation wasn't actually emerging anything, so it 
 won't write to world.

Yes, got that, but it would be scanning the world file to determine what
had updates available that had not been performed. If some of the
updates were at the same moment being performed in another instance,
that is not likely to confuse Portage as to whether an update to
konqueror (for example) was available or not (if konqueror was at that
moment being upgraded in the other console)?

 Emerging KDE only results in one write to world, at the end of the 
 process.

I suppose, if you're only emerging kde-meta (since all the sub-builds
are dependencies that will not be added to your world file.

If I'm upgrading the split ebuilds, though does that remain the case?

 I expect there is another cause unless the OP was incredibly unlucky 
 or impatient.

Well, it's less likely, but it does happen.

 
 I mean, you could all be quite right, and I wrong, but Istr I got 
 this message when I did something similarly unwise, and after the 
 emerge actually finished, there was nothing wrong anymore (because 
 the left hand knew what the right hand had done).
 
 
 I've had this a few times, and each time it was because the ebuild 
 for an installed package was no longer available.

Also possible. Certainly there's nothing /wrong/ with running emaint
--check world. I only wanted to point out that this error could also be
a false positive.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread John J. Foster
On Tue, Dec 06, 2005 at 09:22:23PM +0100, Holly Bostick wrote:
 Also possible. Certainly there's nothing /wrong/ with running emaint
 --check world. I only wanted to point out that this error could also be
 a false positive.

Simple question here, but what is emaint? No trace of it on my
up-to-date system.

Thanks,
John


pgpzmYvHzC1nB.pgp
Description: PGP signature


Re: [gentoo-user] problems in world file?

2005-12-06 Thread Neil Bothwick
On Tue, 06 Dec 2005 21:22:23 +0100, Holly Bostick wrote:

  The emerge -u invocation wasn't actually emerging anything, so it 
  won't write to world.
 
 Yes, got that, but it would be scanning the world file to determine what
 had updates available that had not been performed. If some of the
 updates were at the same moment being performed in another instance,
 that is not likely to confuse Portage as to whether an update to
 konqueror (for example) was available or not (if konqueror was at that
 moment being upgraded in the other console)?

I've often done emerge -u world in one console then done emerge -up
world (sometimes piped to genlop -p) in another to see what's left to do.

  Emerging KDE only results in one write to world, at the end of the 
  process.
 
 I suppose, if you're only emerging kde-meta (since all the sub-builds
 are dependencies that will not be added to your world file.
 
 If I'm upgrading the split ebuilds, though does that remain the
 case?

No, there will be one write for each package on the command line, but not
the libraries. If you upgrade it with emerge world, there will be no
writes to world. Either way, it is a couple of seconds at most, out of
several hours, when the file is actually being written.


-- 
Neil Bothwick

Why do kamikaze pilots wear helmets?


signature.asc
Description: PGP signature


Re: [gentoo-user] problems in world file?

2005-12-06 Thread Alexander Kirillov

Simple question here, but what is emaint? No trace of it on my
up-to-date system.


It seems to be in portage-2.0.53 which is still masked.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Ernie Schroder
On Tuesday 06 December 2005 02:10 pm, a tiny voice compelled Willie Wong to 
write:
 On Tue, Dec 06, 2005 at 01:36:47PM -0500, Ernie Schroder wrote:
  Calculating world dependencies
  !!! Problems have been detected with your world file
  !!! Please run emaint --check world
 
  I checked for updates to world while I was updating KDE to 3.5 and got
  the above message. Should I worry yet?

 Well... run emaint --check world?

 It should tell you what's wrong. The last time it happened to me was
 when a security hole in scorched3d was found resulting in all ebuilds
 for it to be hardmasked. I had scorched3d in my world file but there
 are no ebuilds ...

 W
 --
 A young woman was jogging when she saw a wizened old man, smiling at her
 from his porch.
 You look so happy! she said to him. What's your secret for a long
 satisfying life?
 Well, I smoke three packs of cigarettes every day and I drink a case of
 wisky every week. on top of that I never excersice, and I eat lots of
 fatty foods.
 That's amazing, the woman said. And how old are you?
 He answered, thirty two.
 Sortir en Pantoufles: up 24 days, 11:29

So I checked again. (building pkg 43 of 55 now) I get the same message and 
will run emaint when all is done. If the message no longer appears I will 
post that info.
-- 
Regards, Ernie
100% Microsoft and Intel free

 17:19:41 up 1 day,  8:02,  6 users,  load average: 1.60, 1.48, 1.69
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Willie Wong
On Tue, Dec 06, 2005 at 08:33:58PM +0100, Holly Bostick wrote:
 Oh, I dunno-- what actually happens to the world file (in terms of
 ownership/process ownership and locking) at the time that an emerge that
 affects the world file is being performed?

I took it to mean that the OP typed 

  emerge --pretend --update world

or some equivalent during the emerge. Now, Personally I do that every
now and then, and have never ran into that problem before, hence the
comment about unfortunate timing issues. 

 
 There are reasons that major Portage processes are not supposed to be
 carried out concurrently. It's true that while I'm upgrading KDE, I
 probably could emerge... oh, mutt... at the same time in another
 instance, but checking the entire Portage tree (as in emerge -ua**
 world) is just not recommended, since Portage can't really be expected
 to know which updates are really valid (because it's currently
 performing some of them in another instance, with which it can't
 communicate).

What I've seen in those cases is that the process will read the
current world file, compare the available packages with the current
cache, and decide what it would emerge. I.e. if I start a emerge -u
world which wants to install mozilla-firefox, mutt, and openssh, and
after firefox was installed, the cache updated, the old version
removed, if I type emerge -up world I usually would see that it wants
to emerge openssh and mutt, even though it is going on in another
process. 

 I mean, you could all be quite right, and I wrong, but Istr I got this
 message when I did something similarly unwise, and after the emerge
 actually finished, there was nothing wrong anymore (because the left
 hand knew what the right hand had done).
 

Yes, in general I agree it could be a bad practice. But I find this
case particularly interesting since the emerge process is only suppose
to write (and hence, modify) to the world file if something not in it
is specified to be installed on the commandline. In particular, just
an emerge --update world should only read the world file, and not 
write to it. Until the OP posts more, we cannot tell what actually is
wrong with the world file, but I doubt it has something to do with the
ongoing emerge process. 

W

-- 
Arthur yawed wildly as his skin tried to jump one way and 
his skeleton the other, whilst his brain tried to work out 
which of his ears it most wanted to crawl out of.
`Bet you weren't expecting to see me again,' said the 
monster, which Arthur couldn't help thinking was a strange 
remark for it to make, seeing as he had never met the 
creature before. He could tell that he hadn't met the 
creature before from the simple fact that he was able to 
sleep at nights. 

- Arthur discovering who had diverted him from going to a 
party. 
Sortir en Pantoufles: up 24 days, 16:55
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread Willie Wong
On Tue, Dec 06, 2005 at 03:39:56PM -0500, John J. Foster wrote:
 Simple question here, but what is emaint? No trace of it on my
 up-to-date system.

portage-2.0.53, I have it on my laptop running ~x86, but not on my
desktop running x86. 

running it without arguments give:

Currently emaint can only check and fix problems with one's world
file. Future versions will integrate other portage check-and-fix tools
and provide a single interface to system health checks.

HTH,

W
-- 
Pintsize: It's hard to get a lady to evaluate to true.
Sortir en Pantoufles: up 24 days, 17:05
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problems in world file?

2005-12-06 Thread John J. Foster
On Tue, Dec 06, 2005 at 07:46:07PM -0500, Willie Wong wrote:
 portage-2.0.53, I have it on my laptop running ~x86, but not on my
 desktop running x86. 
 
 running it without arguments give:
 
 Currently emaint can only check and fix problems with one's world
 file. Future versions will integrate other portage check-and-fix tools
 and provide a single interface to system health checks.

Willie, thanks for the post. I really look forward to the part about
better integration among all the tools available.

John


pgpmFHvruGQN9.pgp
Description: PGP signature


Re: [gentoo-user] problems in world file?

2005-12-06 Thread Ernie Schroder
The build has finished and the error was still there. I ran emaint --check 
world and found that there were several apps with no ebuilds in portage. They 
were all unused apps that I had played with at one time or another and I 
simply deleted them from the world file. All seems well now. Thanks for the 
discussion.

On Tuesday 06 December 2005 05:22 pm, a tiny voice compelled Ernie Schroder to 
write:
 On Tuesday 06 December 2005 02:10 pm, a tiny voice compelled Willie Wong to

 write:
  On Tue, Dec 06, 2005 at 01:36:47PM -0500, Ernie Schroder wrote:
   Calculating world dependencies
   !!! Problems have been detected with your world file
   !!! Please run emaint --check world
  
   I checked for updates to world while I was updating KDE to 3.5 and got
   the above message. Should I worry yet?
 
  Well... run emaint --check world?
 
  It should tell you what's wrong. The last time it happened to me was
  when a security hole in scorched3d was found resulting in all ebuilds
  for it to be hardmasked. I had scorched3d in my world file but there
  are no ebuilds ...
 
  W
  --
  A young woman was jogging when she saw a wizened old man, smiling at her
  from his porch.
  You look so happy! she said to him. What's your secret for a long
  satisfying life?
  Well, I smoke three packs of cigarettes every day and I drink a case of
  wisky every week. on top of that I never excersice, and I eat lots of
  fatty foods.
  That's amazing, the woman said. And how old are you?
  He answered, thirty two.
  Sortir en Pantoufles: up 24 days, 11:29

 So I checked again. (building pkg 43 of 55 now) I get the same message and
 will run emaint when all is done. If the message no longer appears I will
 post that info.
 --
 Regards, Ernie
 100% Microsoft and Intel free

  17:19:41 up 1 day,  8:02,  6 users,  load average: 1.60, 1.48, 1.69
 Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+

-- 
Regards, Ernie
100% Microsoft and Intel free

 21:18:31 up 1 day, 12:01,  6 users,  load average: 0.34, 0.29, 0.21
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list