[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]> Pues venia :-), por lo menos en mi gentoo no existe ese archivo, y no > encontre ninguno parecido en el directorio > > Alguien sabe si es un programa que desaparecio ? > Tienes toda la razón. Tienes definido ACCEPT_KEYWORDS en tu make.conf, y por lo tanto, estás usando una versión más reciente de portage (2.0.50), la cual ya no incluye dicho programa. Por lo tanto lo incluyo aquí: es muy sencillo, y si lo ven con cuidado, es simplemente una versión del comando `find' descrito por Sandino, escrito en Python puro. Disfrútenlo. #!/usr/bin/python # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-src/portage/bin/pkglist,v 1.7 2003/10/13 07:43:38 carpaski Exp $ # Very simple program that searches the /usr/portage tree for # ebuilds that match a key provided by the user. from os.path import splitext, walk, isdir import re installRoot = "/var/db/pkg" # inelegant routine to assemble the install directory that is associated # with a given portage directory def getinstalldir(portagedir): path = portagedir.split('/') installdir = path[4] for dir in path[5:-1]: installdir += "/" + dir return installdir # workhorse routine: for each directory look for ebuild files and # interrogate each ebuild file to see if it matches the key and, # if it does, also check to see if it is installed. def visit(dummy, dirname, files): for file in files: (base, ext) = splitext(file) if (ext == ".ebuild"): installname = getinstalldir(dirname) + '/' + base print installname if __name__ == '__main__': import sys if (len(sys.argv) != 1): print "Usage: pkglist" sys.exit(1) dummy = "" # walk requires three arguments walk(installRoot, visit, dummy) > Saludos > Max > On Thu, 2004-01-29 at 11:37, Cristian Othon Martinez Vera wrote: >> Faltan 3. >> >> /usr/lib/portage/bin/pkglist | sort >> >> Y sin necesidad de instalar gentoolkit o epm. El programa referido >> viene incluido con portage. :-) >> >> El jue, 29-01-2004 a las 10:55, Sandino Araico Sanchez escribió: >> > faltan 4 >> > >> > find /var/db/pkg/ -type d | cut -d '/' -f 6 | egrep [a-z]+ | sort >> > >> > Octavio Ruiz (Ta^3) wrote: >> > >> > >Max Valdez, who happens to be smarter than you, thinks: >> > > >> > > >> > >>si tienes epm instalado podras hacer esto: >> > >>epm -qa >> > >>epm es el "paralelo de rpm" para portage. >> > >>Si no, puedes hacer un emerge -ep world >> > >>Y eso te dara todos los paquetes instalados. >> > >>No entiendo a que te refieres con que no los quitaste de la bandera >> USE. >> > >> >> > >> >> > > >> > >Ya faltan 4 maneras.. :P >> > > >> > >Aunque emerge -ep world no es valido, puesto que es lo mismo que ver >> tu >> > >world file, el cual _no_ representa los paquetes instalados. >> > > >> > >Una manera poco ortodoxa de instalar un paquete es Gentoo es editando >> tu >> > >worldfile, añadir el categoria/paquete y ejecutar un emerge world :) >> > > >> > >Asi que aun faltan 5 :) >> > > >> > > >> > > Saludos -- __(o< | Nombres/Names: Cristian Othón | cfuga en linuxppp com \/|/ | Apellidos/Last Names: Martínez Vera | http://linuxppp.com/ /_/_ | | http://cfuga.net/ | "Pulchrum est paucorum hominum" - Horace _______________________________________________ Ayuda mailing list Ayuda en linux org mx Para salir de la lista: http://mail.linux.org.mx/mailman/listinfo/ayuda/