Discussion:
[gentoo-user] /usr/portage/packages/Packages - what for?
(too old to reply)
Helmut Jarausch
2009-09-15 13:20:07 UTC
Permalink
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
Frank Steinmetzger
2009-09-15 13:30:15 UTC
Permalink
Post by Helmut Jarausch
Hi,
I have the impression that when rsync'ing /usr/portage/packages from
another machine (BINSERVER),
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.
Fabrice Delliaux
2009-09-15 14:10:06 UTC
Permalink
On Tue, 15 Sep 2009 15:21:50 +0200
Post by Frank Steinmetzger
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.
Mike Williams
2009-09-15 17:50:08 UTC
Permalink
Post by Fabrice Delliaux
Post by Frank Steinmetzger
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
Neil Bothwick
2009-09-15 14:10:07 UTC
Permalink
Post by Helmut Jarausch
I have the impression that when rsync'ing /usr/portage/packages from
another machine (BINSERVER),
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.
Helmut Jarausch
2009-09-15 16:40:10 UTC
Permalink
Post by Neil Bothwick
Post by Helmut Jarausch
I have the impression that when rsync'ing /usr/portage/packages from
another machine (BINSERVER),
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
Continue reading on narkive:
Loading...