Logo Espacio Linux       
Portada Taller Linux Descargas Foros Buscar Mapa del sitio Ayuda BlogEL
   Iniciar sesión | Registrarse    
 
Principal

Patrocinadores

Anuncios



Boletín Espacio Linux
Las novedades del sitio y el mundo Linux en tu email.


Usuarios
Bienvenido, Anónimo

     Miembros:
Último: EscarMatrix
Nuevos hoy: 2
Nuevos ayer: 17
Total: 29175

     Navegando:
Anónimos: 89
Miembros: 4
Total: 93


Miembros conectados:

01: milux1
02: linuxlover
03: Sagman
04: hellraiser

Mensajes recientes
 Instalación de distribuciones
 Prolemas para emular PC linux en Xp mediante Virtual PC
 duda en goblinX...
 Software
 vlc por consola
 http tunneling +tomcat+ rtmp
 Hardware
 Si detecta la tarjeta pero no se conecta!
 problema sonido
 Programación
 Problemas con Mono
 compilar un programa en c en linux ?
 Sistema
 No puedo ver videos en youtube con ubuntu 7.10
 Cambiar de Slack a Debian
 Seguridad
 ¿Como acceder en Slackware como root sin pass y con lilo?
 restringir ejecucion de un proceso
 Redes y Servidores
 Duda servidor streaming
 Problemas para configurar tarjeta red en Centos[SOLUCION ADO]
 Proyectos
 VENENUX GNU/Linux "Venezolana de Linux" Descargalo
 Desarrollando distro linux, ayuda en logo y splash
 Debates
 qué no les gusta de Linux?
 Debian o Ubuntu
 El Café
 He vuelto
 Ociosidad y desperdicio de recursos de PC. Ideas?
 Desarrollo Web
 MySQL - como devover mensaje de error en un Store Proc???
 LAMPP no me deja grabar datos en mysql desde pagina en php
 Documentación
 libros para linux
 [Espacio Linux] Estacion de trabajo en Audio
 Screenshots
 Debian Lenny con Gnome
 Mi inicio en fluxbox...
 KDE
 error al configurar
 actualizar kde3.5 a kde 4.03 en mandriva
 GNOME
 editor de menus
 error al iniciar secion
 Otros escritorios y entornos
 XFce se ve chido... pero mi teclado....
 inicio de programas en fluxbox
 X Window
 ayuda con compiz
 Librerías GUI Solaris

[ Entrar a los foros ]
Buscar

Sitios amigos

Espacio Linux :: Ver tema - Error al ejecutar sudo apt-get update
ReglamentoReglamento general de los foros
 FAQFAQ  BuscarBuscar  Grupos de usuariosGrupos de usuarios  Miembros  PerfilPerfil
  Mensajes privadosMensajes privados  

Error al ejecutar sudo apt-get update Ir a página 1, 2  Siguiente

Publicar nuevo tema  Responder al tema  Foros de discusión -> Sistema
Ver tema anterior :: Ver tema siguiente  
Autor Mensaje
PeTTi
Forista Nuevo
Forista Nuevo



Miembro No. 28419
Registrado: Jun 17, 2008
Mensajes: 12
Ubicación: Merlo, Bs. As.

MensajePublicado: Sab Jun 28, 2008 12:43 pm    Asunto: Error al ejecutar sudo apt-get update Responder citando

Cuando quiero descargar algo en la Terminal me aparece esto:

petti@petti-desktop:~$ sudo apt-get update
sudo: unable to resolve host petti-desktop


*Titulo editado lee el reglamento del foro, el titulo deve de ser descriptivo "Error en la terminal (CREO)", no dice nada del problema


*Mensaje movido al foro sistema por ser mas apropiado, lee la descripcion de cada foro antes de postear
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
Otrebor
Forista Legendario
Forista Legendario



Miembro No. 9065
Registrado: Jul 25, 2005
Mensajes: 1535
Ubicación: El Fuerte/Sinaloa/Mé xico

MensajePublicado: Sab Jun 28, 2008 3:04 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

que distro linux es la que tienes instalada?
_________________
Debian Etch->Lenny
Ubuntu Edgy->Feisty->Gutsy
Melodic Death Metal

Mess with the best...die like the rest!
Volver arriba
Ver perfil de usuario Enviar mensaje privado
PeTTi
Forista Nuevo
Forista Nuevo



Miembro No. 28419
Registrado: Jun 17, 2008
Mensajes: 12
Ubicación: Merlo, Bs. As.

MensajePublicado: Sab Jun 28, 2008 3:25 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

Otrebor escribió:
que distro linux es la que tienes instalada?

Ubuntu 8.04
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
Otrebor
Forista Legendario
Forista Legendario



Miembro No. 9065
Registrado: Jul 25, 2005
Mensajes: 1535
Ubicación: El Fuerte/Sinaloa/Mé xico

MensajePublicado: Sab Jun 28, 2008 4:56 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

al ejecutar el comando te pide password y luego sale ese error?

y si tratas de instalar por synaptic para ver que pasa?

EDITADO: checa este LINK para que puedas arreglar tu problema ya que dice que es un bug de ubuntu hardy

saludos!!
_________________
Debian Etch->Lenny
Ubuntu Edgy->Feisty->Gutsy
Melodic Death Metal

Mess with the best...die like the rest!
Volver arriba
Ver perfil de usuario Enviar mensaje privado
PeTTi
Forista Nuevo
Forista Nuevo



Miembro No. 28419
Registrado: Jun 17, 2008
Mensajes: 12
Ubicación: Merlo, Bs. As.

MensajePublicado: Sab Jun 28, 2008 11:16 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

El Synaptic tampoco abre, aparece abriendose y luego desaparece..


mañana cuando entre con Ubuntu me fijo y lo reporto.
Gracias (Y).
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
niky45
Moderador
Moderador



Miembro No. 20684
Registrado: Apr 12, 2007
Mensajes: 3909
Ubicación: /world/europe/spa in/madrid/....

MensajePublicado: Dom Jun 29, 2008 4:07 am    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

comprueba que el sources.list sea correcto.... eso de que intente acceder a petti-desktop me resulta 'extraño'.

(si tienes dudas, postea tu sources.list)

Muy Feliz

PD: para ver el sources.list:
less /etc/apt/sources.list
_________________
#446716

AMDAthlon64x2 3800+Zalman CNPS8700/AsusM2N-VM/atiHD3750/2GbRAM/640GbHD

"No sabré hacerlo, no ha producido jamás buen resultado.
probaré a hacerlo, ha obrado casi siempre maravillas.
lo haré, ha conseguido milagros."
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
PeTTi
Forista Nuevo
Forista Nuevo



Miembro No. 28419
Registrado: Jun 17, 2008
Mensajes: 12
Ubicación: Merlo, Bs. As.

MensajePublicado: Dom Jun 29, 2008 11:24 am    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

niky45 escribió:
PD: para ver el sources.list:
less /etc/apt/sources.list

# deb http://ar.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://ar.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://ar.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://ar.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
# deb http://ar.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://ar.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://ar.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://ar.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ar.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://archive.ubuntu.com/ubuntu/ hardy main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main universe multiverse restricted #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
(END)


eso es el source list?
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
PeTTi
Forista Nuevo
Forista Nuevo



Miembro No. 28419
Registrado: Jun 17, 2008
Mensajes: 12
Ubicación: Merlo, Bs. As.

MensajePublicado: Dom Jun 29, 2008 11:31 am    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

Otrebor escribió:
al ejecutar el comando te pide password y luego sale ese error?

y si tratas de instalar por synaptic para ver que pasa?

EDITADO: checa este LINK para que puedas arreglar tu problema ya que dice que es un bug de ubuntu hardy

saludos!!

Ya entré y no se como reportar el bug, y en la terminal

y despues quiero editar el /etc/hosts y no me deja, solo me lo muestra.
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
milux1
Administrador
Administrador



Miembro No. 14465
Registrado: Apr 03, 2006
Mensajes: 5230
Ubicación: San Roque- Cadiz- Andalucia

MensajePublicado: Dom Jun 29, 2008 12:35 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

El bug, no es necesario que lo reportes.

Para que te permita modificarlo deves de hacerlo anteponiendo sudo, para tener privilegios de superusuario
_________________
usuario linux:377508, debian lenny,archlinux

Google casi siempre tiene la respuesta, solo hay que hacer la pregunta adecuada
Volver arriba
Ver perfil de usuario Enviar mensaje privado
Otrebor
Forista Legendario
Forista Legendario



Miembro No. 9065
Registrado: Jul 25, 2005
Mensajes: 1535
Ubicación: El Fuerte/Sinaloa/Mé xico

MensajePublicado: Dom Jun 29, 2008 1:35 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

lo que milux1 estadiciendo es que ejecutes el comando asi:

sudo gedit /etc/hosts

ya con eso podras guardar cambios en dicho archivo

saludos!!
_________________
Debian Etch->Lenny
Ubuntu Edgy->Feisty->Gutsy
Melodic Death Metal

Mess with the best...die like the rest!
Volver arriba
Ver perfil de usuario Enviar mensaje privado
toche
Forista Mayor
Forista Mayor



Miembro No. 16170
Registrado: Jul 20, 2006
Mensajes: 929
Ubicación: Bogotá, Colombia

MensajePublicado: Dom Jun 29, 2008 4:16 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

Cita:
Si no podemos editar el archivo al no poder ejecutar sudo y gksudo, nos queda como último recurso entrar en el modo de recuperación mediante la entrada correspondiente del menú de Grub y seleccionar abrir una consola con permisos de root para editar desde esta /etc/hosts con vim, nano o emacs. Guardamos, reiniciamos, y listo, adios al sudo: unable to resolve host.

lo dice en el mismo link
_________________
Gentoo amd64 2007.0 // KDE 3.5 // Fluxbox 1.0.0
AMD Athlon64 3200+ 2.2Ghz // 1Gb + 256Mb RAM
Ati Radeon 9550 256Mb
GNU/Media
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
PeTTi
Forista Nuevo
Forista Nuevo



Miembro No. 28419
Registrado: Jun 17, 2008
Mensajes: 12
Ubicación: Merlo, Bs. As.

MensajePublicado: Lun Jun 30, 2008 7:06 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

y yo tengo problemas con el "sudo"

petti@petti-desktop:~$ sudo gedit /etc/hosts
sudo: unable to resolve host petti-desktop
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
Otrebor
Forista Legendario
Forista Legendario



Miembro No. 9065
Registrado: Jul 25, 2005
Mensajes: 1535
Ubicación: El Fuerte/Sinaloa/Mé xico

MensajePublicado: Lun Jun 30, 2008 8:58 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

PeTTi escribió:
y yo tengo problemas con el "sudo"

petti@petti-desktop:~$ sudo gedit /etc/hosts
sudo: unable to resolve host petti-desktop


tonses tendria que ser de la forma en que puso el forista toche

ya logueado como root ejecutar lo siguiente:

nano /etc/hosts

ya que modifiques tecleas:
Ctrl + O para guardar el archivo
Ctrl + X para salir del nano

reinicias la pc y entras en modo normal para ver si ya no tienes el problema

saludos!!
_________________
Debian Etch->Lenny
Ubuntu Edgy->Feisty->Gutsy
Melodic Death Metal

Mess with the best...die like the rest!
Volver arriba
Ver perfil de usuario Enviar mensaje privado
PeTTi
Forista Nuevo
Forista Nuevo



Miembro No. 28419
Registrado: Jun 17, 2008
Mensajes: 12
Ubicación: Merlo, Bs. As.

MensajePublicado: Dom Jul 06, 2008 6:50 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

Ya entre como root, modifique el /etc/hosts y asi quedo


GNU nano 2.0.7 Fichero: /etc/hosts

127.0.0.1 localhost petti-desktop.DATALAN
127.0.1.1 petti-desktop.DATALAN

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
127.0.1.1 localhost


pero sigo teniendo el mismo error con el 'sudo'.
Volver arriba
Ver perfil de usuario Enviar mensaje privado Enviar email Visitar sitio web del usuario MSN Messenger
Otrebor
Forista Legendario
Forista Legendario



Miembro No. 9065
Registrado: Jul 25, 2005
Mensajes: 1535
Ubicación: El Fuerte/Sinaloa/Mé xico

MensajePublicado: Dom Jul 06, 2008 7:30 pm    Asunto: Re: Error al ejecutar sudo apt-get update Responder citando

tu maquima tiene este nombre?
petti-desktop.DATALAN
o este?
petti-desktop

porque si el nombre es el segundo deberia quedar asi:

127.0.0.1 localhost petti-desktop
127.0.1.1 petti-desktop

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
127.0.1.1 localhost

saludos!!
_________________
Debian Etch->Lenny
Ubuntu Edgy->Feisty->Gutsy
Melodic Death Metal

Mess with the best...die like the rest!
Volver arriba
Ver perfil de usuario Enviar mensaje privado
Mostrar mensajes anteriores:   
Publicar nuevo tema  Responder al tema  Foros de discusión -> Sistema Todas las horas son GMT - 6 Horas

Página 1 de 2 Ir a página 1, 2  Siguiente



No puedes publicar nuevos temas en este foro
No puedes responder a temas en este foro
No puedes editar tus mensajes en este foro
No puedes borrar tus mensajes en este foro
No puedes votar en encuestas en este foro



Powered by phpBB © 2001 phpBB Group
phpBB port v2.1 based on Tom Nitzschner's phpbb2.0.6 upgraded to phpBB 2.0.4 standalone was developed and tested by:
ArtificialIntel, ChatServ, mikem,
sixonetonoffun and Paul Laudanski (aka Zhen-Xjell).

Version 2.1 by Nuke Cops © 2003 http://www.nukecops.com

Forums ©
 

Copyright | Términos de uso | Política de privacidad | Publicidad | Contáctanos | Blog