public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /usr/portage/packages/Packages - what for?
@ 2009-09-15 13:19 Helmut Jarausch
  2009-09-15 13:21 ` Frank Steinmetzger
  2009-09-15 14:08 ` Neil Bothwick
  0 siblings, 2 replies; 6+ messages in thread
From: Helmut Jarausch @ 2009-09-15 13:19 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] /usr/portage/packages/Packages - what for?
  2009-09-15 13:19 [gentoo-user] /usr/portage/packages/Packages - what for? Helmut Jarausch
@ 2009-09-15 13:21 ` Frank Steinmetzger
  2009-09-15 14:04   ` Fabrice Delliaux
  2009-09-15 14:08 ` Neil Bothwick
  1 sibling, 1 reply; 6+ messages in thread
From: Frank Steinmetzger @ 2009-09-15 13:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] /usr/portage/packages/Packages - what for?
  2009-09-15 13:21 ` Frank Steinmetzger
@ 2009-09-15 14:04   ` Fabrice Delliaux
  2009-09-15 17:45     ` Mike Williams
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Delliaux @ 2009-09-15 14:04 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] /usr/portage/packages/Packages - what for?
  2009-09-15 13:19 [gentoo-user] /usr/portage/packages/Packages - what for? Helmut Jarausch
  2009-09-15 13:21 ` Frank Steinmetzger
@ 2009-09-15 14:08 ` Neil Bothwick
  2009-09-15 16:30   ` Helmut Jarausch
  1 sibling, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2009-09-15 14:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] /usr/portage/packages/Packages - what for?
  2009-09-15 14:08 ` Neil Bothwick
@ 2009-09-15 16:30   ` Helmut Jarausch
  0 siblings, 0 replies; 6+ messages in thread
From: Helmut Jarausch @ 2009-09-15 16:30 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] /usr/portage/packages/Packages - what for?
  2009-09-15 14:04   ` Fabrice Delliaux
@ 2009-09-15 17:45     ` Mike Williams
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Williams @ 2009-09-15 17:45 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-15 17:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 13:19 [gentoo-user] /usr/portage/packages/Packages - what for? Helmut Jarausch
2009-09-15 13:21 ` Frank Steinmetzger
2009-09-15 14:04   ` Fabrice Delliaux
2009-09-15 17:45     ` Mike Williams
2009-09-15 14:08 ` Neil Bothwick
2009-09-15 16:30   ` Helmut Jarausch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox