public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Portage-utils reinitialization - do I need it?
@ 2011-12-23  9:50 Mick
  2011-12-23 11:07 ` Paul Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Mick @ 2011-12-23  9:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 654 bytes --]

This came up today when I updated portage-utils:

 * Messages for package app-portage/portage-utils-0.8:

 * /etc/portage/postsync.d/q-reinitialize has been installed for convenience
 * If you wish for it to be automatically run at the end of every --sync:
 *    # chmod +x /etc/portage/postsync.d/q-reinitialize

I'm not really sure if I need to be running this script after I resync:

#!/bin/sh
[ -x /usr/bin/q ] && /usr/bin/q -r ${PORTAGE_QUIET:+-q}

which from the man page of q tells me that it will "reinitialize ebuild 
cache".  Do I need this if I already use eix?  Doesn't eix manage all portage 
databases?
-- 
Regards,
Mick

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

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

* Re: [gentoo-user] Portage-utils reinitialization - do I need it?
  2011-12-23  9:50 [gentoo-user] Portage-utils reinitialization - do I need it? Mick
@ 2011-12-23 11:07 ` Paul Hartman
  2011-12-23 19:24   ` Mick
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Hartman @ 2011-12-23 11:07 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/23/2011 03:50 AM, Mick wrote:
> This came up today when I updated portage-utils:
> 
> * Messages for package app-portage/portage-utils-0.8:
> 
> * /etc/portage/postsync.d/q-reinitialize has been installed for
> convenience * If you wish for it to be automatically run at the end
> of every --sync: *    # chmod +x
> /etc/portage/postsync.d/q-reinitialize
> 
> I'm not really sure if I need to be running this script after I
> resync:
> 
> #!/bin/sh [ -x /usr/bin/q ] && /usr/bin/q -r ${PORTAGE_QUIET:+-q}
> 
> which from the man page of q tells me that it will "reinitialize
> ebuild cache".  Do I need this if I already use eix?  Doesn't eix
> manage all portage databases?

I believe q-reinitialize updates the cache used by the q* utils. If
you don't use them for searching (using eix instead) then it's
probably not important for you to add that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk70YPsACgkQrJnO3ng8yjpZFgCgr/Bq4+lD0HiWc/w38YK40tLE
vswAnR0suHjvl/0MfkFf1w1ZXkH9tCBz
=iMWp
-----END PGP SIGNATURE-----



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

* Re: [gentoo-user] Portage-utils reinitialization - do I need it?
  2011-12-23 11:07 ` Paul Hartman
@ 2011-12-23 19:24   ` Mick
  0 siblings, 0 replies; 3+ messages in thread
From: Mick @ 2011-12-23 19:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1081 bytes --]

On Friday 23 Dec 2011 11:07:39 Paul Hartman wrote:
> On 12/23/2011 03:50 AM, Mick wrote:
> > This came up today when I updated portage-utils:
> > 
> > * Messages for package app-portage/portage-utils-0.8:
> > 
> > * /etc/portage/postsync.d/q-reinitialize has been installed for
> > convenience * If you wish for it to be automatically run at the end
> > of every --sync: *    # chmod +x
> > /etc/portage/postsync.d/q-reinitialize
> > 
> > I'm not really sure if I need to be running this script after I
> > resync:
> > 
> > #!/bin/sh [ -x /usr/bin/q ] && /usr/bin/q -r ${PORTAGE_QUIET:+-q}
> > 
> > which from the man page of q tells me that it will "reinitialize
> > ebuild cache".  Do I need this if I already use eix?  Doesn't eix
> > manage all portage databases?
> 
> I believe q-reinitialize updates the cache used by the q* utils. If
> you don't use them for searching (using eix instead) then it's
> probably not important for you to add that.

Thanks for explaining this to me.  I occasionally use them, but not that 
often.
-- 
Regards,
Mick

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

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

end of thread, other threads:[~2011-12-23 19:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-23  9:50 [gentoo-user] Portage-utils reinitialization - do I need it? Mick
2011-12-23 11:07 ` Paul Hartman
2011-12-23 19:24   ` Mick

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