2. /var/cache/edb/world is now /var/lib/portage/world.
3. /etc/portage/profile/virtuals is _USER_ configs only.
+ 24 Sep 2005; Brian Harring <ferringb@gentoo.org> pym/portage.py,
+ bin/emerge:
+ Final emerge metadata/cache cleanups; emerge --metadata no longer
+ requires root (we run searches as non root, which can update the cache,
+ so emerge --metadata as root is daft), and silenced auxdb exceptions
+ when doing metadata transfers- preparation for when the default backend
+ is changed. If that weren't in, user would see > 20,0000 lines of
+ pointless cruft output.
+
24 Sep 2005; Brian Harring <ferringb@gentoo.org> pym/portage.py,
+pym/portage_db_metadata.py, +pym/portage_db_flat_hash.py,
pym/portage_db_flat.py, pym/portage_const.py:
emergehelp.help(myaction,myopts,havecolor)
# check if root user is the current user for the actions where emerge needs this
-if ("--pretend" in myopts) or ("--fetchonly" in myopts or "--fetch-all-uri" in myopts) or (myaction=="search"):
+if ("--pretend" in myopts) or ("--fetchonly" in myopts or "--fetch-all-uri" in myopts) or (myaction=="metadata"):
if not portage.secpass:
if portage.wheelgid==portage.portage_gid:
print "emerge: wheel group membership required for \"--pretend\" and search."
help()
sys.exit(0)
elif portage.secpass!=2:
- if myaction in ["search", "info", "regen"]:
+ if myaction in ["search", "info", "regen", "metadata"]:
pass
elif (not myaction) and (not myfiles):
pass
raise
except Exception, e:
auxdb_is_valid = 0
- writemsg("auxdb exception: [%(loc)s]: %(exception)s\n" % {"loc":mylocation+"::"+cat+"/"+pkg, "exception":str(e)})
+ if not metacachedir:
+ writemsg("auxdb exception: [%(loc)s]: %(exception)s\n" % {"loc":mylocation+"::"+cat+"/"+pkg, "exception":str(e)})
if self.auxdb[mylocation][cat].has_key(pkg):
self.auxdb[mylocation][cat].del_key(pkg)
self.auxdb[mylocation][cat].sync()