Bienvenido(a) a Alcance Libre 06/02/2023, 00:44
|
![]() |
Índice del foro > Todo acerca de Linux > Soporte técnico de ALDOS |
![]() ![]() |
![]() |
Forsaken64 |
|
|||||||
![]() ![]() ![]() ![]() ![]() Nuevo Estado: desconectado ![]() Identificado: 10/21/09 Mensajes: 3 |
El día de hoy me decidí a descargar ALDOS 1.4.9 e instalarlo en varios equipos, pero me encontré con el siguiente problema al tratar de hacer un "yum update" en todas las instalaciones:
Complementos cargados:langpacks, refresh-packagekit Could not retrieve mirrorlist http://www.alcancelibre.org/al/aldos/$releasever/x86_64/aldos-mirrorlist error was 14: HTTP Error 404 - Not Found One of the configured repositories failed (ALDOS $releasever - x86_64), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Disable the repository, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable ALDOS 4. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=ALDOS.skip_if_unavailable=true Cannot find a valid baseurl for repo: ALDOS/$releasever/x86_64 Ojalá puedan ayudarme, muchas gracias de antemano. |
|||||||
|
||||||||
Joel Barrios Dueñas |
|
|||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Estado: desconectado ![]() Identificado: 02/17/07 Mensajes: 1761 Localización:Mexico |
Es un bug raro de YUM relacionado con RPM, que se da en ciertas circunstancias con conectividad limitada. También se presenta en Fedora y CentOS. Se resuelve de manera sencilla. Edita /etc/yum.conf y añade lo siguiente a las opciones (OJO: sólo funciona en ALDOS. En CentOS y Fedora llevan otros valores):
BASH Formatted Code releasever=14En realidad el valor de esa variable debería de calcularse automáticamente pero algo en YUM que nadie ha resuelto hasta ahora no lee el valor de esa y a veces otras las variables en la base de datos de RPM. También, si ejecutas rpm--rebuilddb después de reiniciar, el problema debería de desaparecer. |
|||||||
|
||||||||
Forsaken64 |
|
|||||||
![]() ![]() ![]() ![]() ![]() Nuevo Estado: desconectado ![]() Identificado: 10/21/09 Mensajes: 3 |
Realice todos los pasos, mi "/etc/yum.conf" se ve así:
PHP Formatted Code [main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3 releasever=14 # This is the default, if you make this bigger yum won't see if the metadata # is newer on the remote and so you'll "gain" the bandwidth of not having to # download the new metadata and "pay" for it by yum not having correct # information. # It is esp. important, to have correct metadata, for distributions like # Fedora which don't keep old packages around. If you don't like this checking # interupting your command line usage, it's much better to have something # manually check the metadata once an hour (yum-updatesd will do this). # metadata_expire=90m # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d Y después de reiniciar hice el "rpm --rebuilddb" pero sigue sin funcionar |
|||||||
|
||||||||
Joel Barrios Dueñas |
|
|||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Estado: desconectado ![]() Identificado: 02/17/07 Mensajes: 1761 Localización:Mexico |
Cambia a root y edita con pluma todos los archivos de /etc/yum.repos.d/ALDOS-*.repo y reemplaza todas las instancias de $releasever por 14 o bien instala manualmente los siguientes paquetes que hacen lo mismo:
BASH Formatted Code rpm -Uvh http://www.alcancelibre.org/al/aldos/1.4/updates/x86_64/mate-desktop-release-1.0.2-16.fc14.al.noarch.rpm http://www.alcancelibre.org/al/aldos/1.4/updates/x86_64/alcancelibre-release-notes-1.0.2-16.fc14.al.noarch.rpm |
|||||||
|
||||||||
Forsaken64 |
|
|||||||
![]() ![]() ![]() ![]() ![]() Nuevo Estado: desconectado ![]() Identificado: 10/21/09 Mensajes: 3 |
Listo, todo funciona ya normalmente.
Elegí ALDOS para mi organización ya que se me hizo la distro más equilibrada, agradezco mucho tu trabajo y tu soporte, de verdad muchas gracias. |
|||||||
|
||||||||
Contenido generado en: 0.38 segundos |
![]() ![]() |
Todas las horas son CST. Hora actual 12:44 AM. |
|
|