10.07.2015 Views

TuxInfo 50 - Index of

TuxInfo 50 - Index of

TuxInfo 50 - Index of

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

var/jupiter:total 20-rwxrwxr-x 1 root jupiter 43 Apr 29 04:14 available_resolutions-rw-r--r-- 1 root root 6 Apr 29 04:14 cpu_mode-rw-r--r-- 1 root root 6 Apr 29 04:14 power-rw-r--r-- 1 root root 9 Apr 29 04:14 rotation_saved-rw-r--r-- 1 root root 6 Apr 29 04:14 vga_saved[04:33:<strong>50</strong>]Vemos que el directorio /var/jupiter quedó y contiene archivos creados porque lo ejecutamos una vez. Esto nos genera unapregunta: ¿Está bien que no borre esos archivos? La vamos a dejar pendiente para un próximo artículo, en dondehablemos más sobre este tema. Por ahora lo mejor es bajarse otros paquetes src.rpm y probar generar el paquete. Yatenemos nuestra estructura de directorio, ahora tan sólo basta bajar otro src.rpm y colocarlo en$HOME/rmpbuild/SOURCES/. El paquete generado lo pueden bajar de acá también. Prueben hacer lo mismo pero coneste paquete que fue empaquetado por la misma persona [1] del primer ejemplo:http://alvesadrian.fedorapeople.org/encuentro­0.5­7.fc16.src.rpmBajando paquetes srcAhora si quisiéramos bajar algún paquete src, deberíamos habilitar el repo correspondiente de sources. Editamos elarchivo /etc/yum.repos.d/fedora.repo y donde dice enabled=0 lo cambiamos por 1.[root@restauracion yum.repos.d]# yum --disablerepo=\* --enablerepo=fedora-source search wgetLoaded plugins: fastestmirror, ibm-repository, langpacks, presto, refresh-packagekit, tidy-cacheLoading mirror speeds from cached hostfile* fedora-source: fedora.mirrorcatalogs.com======================= N/S Matched: wget ===================wget.x86_64 : A utility for retrieving files using the HTTP or FTP protocolsName and summary matches only, use "search all" for everything.[root@restauracion yum.repos.d]#Luego procedemos a bajar un paquete en especial.[root@restauracion yum.repos.d]# yum --disablerepo=\* --enablerepo=fedora-source search wgetLoaded plugins: fastestmirror, ibm-repository, langpacks, presto, refresh-packagekit, tidy-cacheLoading mirror speeds from cached hostfile* fedora-source: fedora.mirrorcatalogs.comwget.x86_64 : A utility for retrieving files using the HTTP or FTP protocolsName and summary matches only, use "search all" for everything.[root@restauracion yum.repos.d]#Procedemos a bajar el fuente:[restauracion@/home/crond1/rpmbuild/SOURCES $] yumdownloader --source wgetLoaded plugins: fastestmirror, ibm-repository, langpacks, presto, refresh-packagekitLoading mirror speeds from cached hostfile* fedora: mirror.metrocast.net* fedora-source: mirror.metrocast.net* updates: mirror.cc.vt.eduEnabling updates-source repositoryupdates-source/metalink | 12 kB 00:00updates-source | 3.3 kB 00:00updates-source/primary_db | 1.0 MB 00:01Enabling rpmfusion-nonfree-updates-source repositoryrpmfusion-nonfree-updates-source | 2.7 kB 00:00rpmfusion-nonfree-updates-source/primary_db | 26 kB 00:00Enabling rpmfusion-nonfree-source repositoryrpmfusion-nonfree-source | 2.7 kB 00:00rpmfusion-nonfree-source/primary_db | 33 kB 00:00Enabling rpmfusion-free-updates-source repository60 www.tuxinfo.com.ar

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!