Re: [gentoo-user] /usr/portage/packages/Packages - what for?

2009-09-15 Thread Mike Williams
On Tuesday 15 September 2009 15:04:23 Fabrice Delliaux wrote:
> On Tue, 15 Sep 2009 15:21:50 +0200 Frank Steinmetzger wrote:
> > Here it stores alotta info about the binary packages - for instance
> > with what useflags they were compiled. This info is not in the
> > archives, which only contain the files.
> 
> No, informations about environment are included in tbz2 packages.
> You can read man xpak for explanations.
> 
> IMHO, the /usr/portage/packages/Packages file is an index for the
> package manager to avoid wasting time to open, parse and close each
> tbz2 file.

And it's fetched by machines using a BINHOST, as obviously over HTTP it's not 
practical to fetch the packages themselves to get the environment info.

-- 
Mike Williams



Re: [gentoo-user] /usr/portage/packages/Packages - what for?

2009-09-15 Thread Helmut Jarausch
On 15 Sep, Neil Bothwick wrote:
> On Tue, 15 Sep 2009 15:19:01 +0200 (CEST), Helmut Jarausch wrote:
> 
>> I have the impression that when rsync'ing /usr/portage/packages from
>> another machine (BINSERVER), 
>> emerge --update --newuse --deep --buildpkg @system @world
>> doesn't update packages which are upto-date on BINSERVER
>> but not upto-date on the local machine.
> 
> Does "emaint --fix binhost" help?
> 
Many thanks, that looks great.
I'll test it next time.

Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] /usr/portage/packages/Packages - what for?

2009-09-15 Thread Neil Bothwick
On Tue, 15 Sep 2009 15:19:01 +0200 (CEST), Helmut Jarausch wrote:

> I have the impression that when rsync'ing /usr/portage/packages from
> another machine (BINSERVER), 
> emerge --update --newuse --deep --buildpkg @system @world
> doesn't update packages which are upto-date on BINSERVER
> but not upto-date on the local machine.

Does "emaint --fix binhost" help?


-- 
Neil Bothwick

One person's error is another person's data.


signature.asc
Description: PGP signature


Re: [gentoo-user] /usr/portage/packages/Packages - what for?

2009-09-15 Thread Fabrice Delliaux
On Tue, 15 Sep 2009 15:21:50 +0200
Frank Steinmetzger wrote:

> Here it stores alotta info about the binary packages - for instance
> with what useflags they were compiled. This info is not in the
> archives, which only contain the files.

No, informations about environment are included in tbz2 packages.
You can read man xpak for explanations.

IMHO, the /usr/portage/packages/Packages file is an index for the
package manager to avoid wasting time to open, parse and close each
tbz2 file.



Re: [gentoo-user] /usr/portage/packages/Packages - what for?

2009-09-15 Thread Frank Steinmetzger
Am Dienstag, 15. September 2009 schrieb Helmut Jarausch:
> Hi,
>
> I have the impression that when rsync'ing /usr/portage/packages from
> another machine (BINSERVER),
> emerge --update --newuse --deep --buildpkg @system @world
> doesn't update packages which are upto-date on BINSERVER
> but not upto-date on the local machine.
>
> What's the role of the file
> /usr/portage/packages/Packages

Here it stores alotta info about the binary packages - for instance with what 
useflags they were compiled. This info is not in the archives, which only 
contain the files.
-- 
Gruß | Greetings | Qapla'
I guess irony can be pretty ironic sometimes.


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] /usr/portage/packages/Packages - what for?

2009-09-15 Thread Helmut Jarausch
Hi,

I have the impression that when rsync'ing /usr/portage/packages from
another machine (BINSERVER), 
emerge --update --newuse --deep --buildpkg @system @world
doesn't update packages which are upto-date on BINSERVER
but not upto-date on the local machine.

What's the role of the file
/usr/portage/packages/Packages

Many thanks for a hint,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany