Re: Problema al actualizar debian

2016-07-30 Por tema Camaleón
El Sat, 30 Jul 2016 16:32:52 +0200, David Rotger escribió:

(corrijo el top-posting... David, recuerda que tienes que responder 
debajo del texto que citas, no arriba ;-))

> esta es la salida de 'apt-get install deb-multimedia-keyring && apt-get
> update'
> 
>  apt-get install deb-multimedia-keyring && apt-get update
> Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo
> la información de estado... Hecho Se instalarán los siguientes paquetes
> NUEVOS:
>   deb-multimedia-keyring
> 0 actualizados, 1 nuevos se instalarán, 0 para eliminar y 110 no
> actualizados. 2 no instalados del todo o eliminados.
>
> Se necesita descargar 0 B/10,6 kB de archivos.
> Se utilizarán 25,6 kB de espacio de disco adicional después de esta
> operación.
> ATENCIÓN: ¡No se han podido autenticar los siguientes paquetes!
>   deb-multimedia-keyring
> ¿Instalar estos paquetes sin verificación? [s/N] s 

Bueno, pues has instalado bien el paquete con las claves del repo debian 
multimedia pero como que te faltan 110 más y tienes 2 con problemas.

> Configurando udev (215-17+deb8u4) ...
> addgroup: The group `input' already exists as a system group. Exiting.
> /var/lib/dpkg/info/udev.postinst: 52:
> /var/lib/dpkg/info/udev.postinst: ps: not found udev does not support
> containers, not started.
> update-initramfs: deferring update (trigger activated)
> insserv: warning: script 'S97DbSecuritySpt' missing LSB tags and
> overrides insserv: warning: script 'S99selinux' missing LSB tags and
> overrides insserv: warning: script 'DbSecuritySpt' missing LSB tags and
> overrides insserv: warning: script 'selinux' missing LSB tags and
> overrides insserv: Starting DbSecuritySpt depends on rmnologin and
> therefore on system facility `$all' which can not be true!
> insserv: Starting selinux depends on rmnologin and therefore on system
> facility `$all' which can not be true!

(...)

> update-rc.d: error: insserv rejected the script header dpkg: error al
> procesar el paquete udev (--configure):
>  el subproceso instalado el script post-installation devolvió el
> código de salida de error 1 Procesando disparadores para initramfs-tools
> (0.120) ...
> update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64 W: mdadm:
> /etc/mdadm/mdadm.conf defines no arrays.
> Se encontraron errores al procesar:
>  udev
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Bien, pues para aquí porque hay un cacao tremendo.

Primero, limpia (comenta #) tu sources.list y deja sólo los repos 
oficiales y quita los duplicados que tenías. Después, ejecuta "apt-get -f 
install" y manda la salida (o súbela a www.pastebin.com). Si es la misma 
que la anterior sin nada más indícalo sin más.

Saludos,


-- 
Camaleón



Re: Problema al actualizar debian

2016-07-30 Por tema David Rotger
esta es la salida de 'apt-get install deb-multimedia-keyring && apt-get update'

 apt-get install deb-multimedia-keyring && apt-get update
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Se instalarán los siguientes paquetes NUEVOS:
  deb-multimedia-keyring
0 actualizados, 1 nuevos se instalarán, 0 para eliminar y 110 no actualizados.
2 no instalados del todo o eliminados.
Se necesita descargar 0 B/10,6 kB de archivos.
Se utilizarán 25,6 kB de espacio de disco adicional después de esta operación.
ATENCIÓN: ¡No se han podido autenticar los siguientes paquetes!
  deb-multimedia-keyring
¿Instalar estos paquetes sin verificación? [s/N] s
Configurando udev (215-17+deb8u4) ...
addgroup: The group `input' already exists as a system group. Exiting.
/var/lib/dpkg/info/udev.postinst: 52:
/var/lib/dpkg/info/udev.postinst: ps: not found
udev does not support containers, not started.
update-initramfs: deferring update (trigger activated)
insserv: warning: script 'S97DbSecuritySpt' missing LSB tags and overrides
insserv: warning: script 'S99selinux' missing LSB tags and overrides
insserv: warning: script 'DbSecuritySpt' missing LSB tags and overrides
insserv: warning: script 'selinux' missing LSB tags and overrides
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: There is a loop between service DbSecuritySpt and rmnologin if started
insserv:  loop involving service rmnologin at depth 4
insserv:  loop involving service DbSecuritySpt at depth 1
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: There is a loop between service DbSecuritySpt and rmnologin if started
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!
insserv: Starting selinux depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting DbSecuritySpt depends on rmnologin and 

Re: Problema red servidor Debian

2016-07-30 Por tema Camaleón
El Sat, 30 Jul 2016 09:18:23 +0200, David Rotger escribió:

(corrijo el top-posting)

> El día 28 de julio de 2016, 16:56, Camaleón 
> escribió:
>> El Wed, 27 Jul 2016 22:47:52 +0200, David Rotger escribió:
>>
>>> tengo un problema con un servidor con Debian 8. Hace días que notaba
>>> que la conexión de toda la red me iba muy lenta, he descubierto que es
>>> el servidor que causa esta lentitud. Hago un ping desde cualquier
>>> terminal al router, y me tarda como 6000ms. Si desconecto el servidor,
>>> todo vuelve a la normalidad. He cambiado la tarjeta y el cable de red
>>> del servidor, pero el problema persiste. No se por donde empezar

(...)

>> Personalmente nunca he tenido ese problema cuando se ha duplicado
>> alguna IP en la red local, más allá de que en Windows te avisa del
>> conflicto pero con poco más efecto en otros equipos de la red.

> Volviendo al tema, porque me tiene bastante intrigado. No hay ninguna IP
> duplicada en la red, seguramente sea un servicio, porque si desde otro
> terminal hago un ping 192.168.1.101 -t ( el servidor ) y reinicio el
> servidor, cuando este carga los paquetes se envían y reciben bien,
> pero cuando termina de cargar vuelva otra vez el mismo problema. Hay
> alguna forma de saber que servicio esta mandando trafico? o alguna idea?

Prueba con un monitor de tráfico de red (iptraf, nmon...) pero vaya, que 
parando los servicios susceptibles de ser vampiros chupadores de ancho de 
banda local sería suficiente, al menos para identificar al culpable, 
luego ya te tocaría leerle la cartilla ;-)

Saludos,

-- 
Camaleón



Re: Problema al actualizar debian

2016-07-30 Por tema Camaleón
El Sat, 30 Jul 2016 09:45:02 +0200, David Rotger escribió:

> Hola,
> 
> cuando intendo hacer un apt-get update me lanza este error!!
> 
> Leyendo lista de paquetes... Hecho W: Error de GPG:
> http://www.deb-multimedia.org wheezy 

Hum... no deberías tener habilitado ese repo, es externo y te puede dar 
problemas. Entiendo que es útil pero yo siempre recomiendo habilitarlo de 
manera puntual cuando se quiera instalar algún paquete en concreto y 
volverlo a desactivar.

> InRelease: Las firmas siguientes no
> se pudieron verificar porque su clave pública no está disponible:
> NO_PUBKEY 5C808C2B65558117 

Actualiza el repo de claves:

apt-get install deb-multimedia-keyring && apt-get update

> W: Se produjo un error durante la
> verificación de las firmas. El repositorio no está actualizado y se
> utilizarán los ficheros de índice antiguos. El error GPG es:
> http://shell.ninthgate.se wheezy InRelease:
> Las firmas siguientes no se pudieron verificar porque su clave pública
> no está disponible: NO_PUBKEY 0B38CE01521D8275

Y aquí lo mismo, tendrás actualizar las claves de ese repo.

> W: Duplicate sources.list entry http://www.deb-multimedia.org/
> wheezy/main amd64 Packages
> (/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_main_binary-
> amd64_Packages)

(...)

Y este mensaje te lo dice claramente: tienes entradas duplicadas en el 
archivo "/etc/apt/sources.list", tendrás que comentarlas o eliminarlas.

Saludos,

-- 
Camaleón



Re: Problema red servidor Debian

2016-07-30 Por tema David Rotger
Creo que tengo un virus: este en concreto... Linux.BackDoor.Gates.5

Ahora voy a analizar con un live cd con clam a ver si hay suerte.

http://unix.stackexchange.com/questions/166251/update-rc-d-vncserver-x11-serviced-defaults-command-there-is-a-loop-between

El día 30 de julio de 2016, 14:10, TheFox
 escribió:
> Se me ocurre una cosa que te puede ayudar:
> 1. Abre una terminal en el servidor Debian.
> 2. Ejecuta el comando «netstat -ul».
> 3. Cuando veas el servicio que está enviando tráfico ejecuta el comando
> «service nombredelservicio stop». Es decir, que si por ejemplo tienes un
> servicio llamado «servicio_1» que te está enviando tráfico, lo que tienes
> que hacer es ejecutar el comando «service servicio_1 stop».
>
> Santiago.
>
>
> El 30/7/2016 9:19, "David Rotger"  escribió:
>>
>> Volviendo al tema, porque me tiene bastante intrigado. No hay ninguna
>> IP duplicada en la red, seguramente sea un servicio, porque si desde
>> otro terminal hago un ping 192.168.1.101 -t ( el servidor ) y reinicio
>> el servidor, cuando este carga los paquetes se envían y reciben bien,
>> pero cuando termina de cargar vuelva otra vez el mismo problema. Hay
>> alguna forma de saber que servicio esta mandando trafico? o alguna
>> idea?
>>
>>
>> El día 28 de julio de 2016, 16:56, Camaleón  escribió:
>> > El Wed, 27 Jul 2016 22:47:52 +0200, David Rotger escribió:
>> >
>> >> tengo un problema con un servidor con Debian 8. Hace días que notaba
>> >> que
>> >> la conexión de toda la red me iba muy lenta, he descubierto que es el
>> >> servidor que causa esta lentitud. Hago un ping desde cualquier terminal
>> >> al router, y me tarda como 6000ms. Si desconecto el servidor, todo
>> >> vuelve a la normalidad. He cambiado la tarjeta y el cable de red del
>> >> servidor, pero el problema persiste. No se por donde empezar
>> >
>> > Ya leo que cambiando la IP al servidor ha vuelto a normalidad pero si te
>> > vuelve a pasar prueba antes a recargar el servicio de red ("service
>> > networking restart") o detenerlo ("service networking stop"),
>> > directamente, sin necesidad de apagar el servidor. Y revisa el registro
>> > (syslog) por si vieras algún problema.
>> >
>> > Personalmente nunca he tenido ese problema cuando se ha duplicado alguna
>> > IP en la red local, más allá de que en Windows te avisa del conflicto
>> > pero con poco más efecto en otros equipos de la red.
>> >
>> > Saludos,
>> >
>> > --
>> > Camaleón
>> >
>>
>>
>>
>> --
>> David Rotger
>>
>



-- 
David Rotger



Re: Problema red servidor Debian

2016-07-30 Por tema TheFox
Se me ocurre una cosa que te puede ayudar:
1. Abre una terminal en el servidor Debian.
2. Ejecuta el comando «netstat -ul».
3. Cuando veas el servicio que está enviando tráfico ejecuta el comando
«service nombredelservicio stop». Es decir, que si por ejemplo tienes un
servicio llamado «servicio_1» que te está enviando tráfico, lo que tienes
que hacer es ejecutar el comando «service servicio_1 stop».

Santiago.

El 30/7/2016 9:19, "David Rotger"  escribió:

> Volviendo al tema, porque me tiene bastante intrigado. No hay ninguna
> IP duplicada en la red, seguramente sea un servicio, porque si desde
> otro terminal hago un ping 192.168.1.101 -t ( el servidor ) y reinicio
> el servidor, cuando este carga los paquetes se envían y reciben bien,
> pero cuando termina de cargar vuelva otra vez el mismo problema. Hay
> alguna forma de saber que servicio esta mandando trafico? o alguna
> idea?
>
>
> El día 28 de julio de 2016, 16:56, Camaleón  escribió:
> > El Wed, 27 Jul 2016 22:47:52 +0200, David Rotger escribió:
> >
> >> tengo un problema con un servidor con Debian 8. Hace días que notaba que
> >> la conexión de toda la red me iba muy lenta, he descubierto que es el
> >> servidor que causa esta lentitud. Hago un ping desde cualquier terminal
> >> al router, y me tarda como 6000ms. Si desconecto el servidor, todo
> >> vuelve a la normalidad. He cambiado la tarjeta y el cable de red del
> >> servidor, pero el problema persiste. No se por donde empezar
> >
> > Ya leo que cambiando la IP al servidor ha vuelto a normalidad pero si te
> > vuelve a pasar prueba antes a recargar el servicio de red ("service
> > networking restart") o detenerlo ("service networking stop"),
> > directamente, sin necesidad de apagar el servidor. Y revisa el registro
> > (syslog) por si vieras algún problema.
> >
> > Personalmente nunca he tenido ese problema cuando se ha duplicado alguna
> > IP en la red local, más allá de que en Windows te avisa del conflicto
> > pero con poco más efecto en otros equipos de la red.
> >
> > Saludos,
> >
> > --
> > Camaleón
> >
>
>
>
> --
> David Rotger
>
>


Re: Problema al actualizar debian

2016-07-30 Por tema David Rotger
Aquí va el sources.list:

  3 # deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64
NETINST Binary-1 20150906-11:09]/ jessie main
  4
  5 #deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64
NETINST Binary-1 20150906-11:09]/ jessie main
  6
  7 deb http://ftp.es.debian.org/debian/ jessie main
  8 deb-src http://ftp.es.debian.org/debian/ jessie main
  9
 10 deb http://security.debian.org/ jessie/updates main
 11 deb-src http://security.debian.org/ jessie/updates main
 12
 13 # jessie-updates, previously known as 'volatile'
 14 deb http://ftp.es.debian.org/debian/ jessie-updates main
 15 deb-src http://ftp.es.debian.org/debian/ jessie-updates main
 16
 17 deb http://download.webmin.com/download/repository sarge contrib
 18 deb http://webmin.mirror.somersettechsolutions.co.uk/repository
sarge contrib
 19 deb http://us.archive.ubuntu.com/ubuntu trusty main universe
 20

Cuando hago 'apt-get install deb-multimedia-keyring' me devuelve todo esto:

Los paquetes indicados a continuación se instalaron de forma
automática y ya no son necesarios.
  adwaita-icon-theme at-spi2-core avahi-utils colord colord-data
dconf-gsettings-backend dconf-service emacs24
  emacs24-bin-common emacs24-common fonts-droid gconf-service
gconf2-common ghostscript glib-networking
  glib-networking-common glib-networking-services
gsettings-desktop-schemas gsfonts hicolor-icon-theme
  imagemagick-common libasound2 libasound2-data libatk-bridge2.0-0
libatk1.0-0 libatk1.0-data libatspi2.0-0
  libcolord2 libcolorhug2 libcupsfilters1 libcupsimage2
libdbus-glib-1-2 libdconf1 libfftw3-double3 libgconf-2-4
  libgomp1 libgs9 libgs9-common libgtk-3-0 libgtk-3-bin
libgtk-3-common libgudev-1.0-0 libgusb2 libice6
  libijs-0.35 libjbig2dec0 libjson-glib-1.0-0 libjson-glib-1.0-common
liblcms2-2 liblqr-1-0 liblzo2-2 libm17n-0
  libmagickcore-6.q16-2 libmagickwand-6.q16-2 libotf0 libpaper-utils
libpaper1 libpkcs11-helper1
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0
libproxy1 librest-0.7-0 libsm6
  libsoup-gnome2.4-1 libsoup2.4-1 libwayland-client0
libwayland-cursor0 libxcomposite1 libxcursor1 libxdamage1
  libxfixes3 libxft2 libxi6 libxinerama1 libxkbcommon0 libxrandr2
libxt6 libxtst6 m17n-db policykit-1 poppler-data
  x11-common
Utilice «apt-get autoremove» para eliminarlos.
Se instalarán los siguientes paquetes NUEVOS:
  deb-multimedia-keyring
0 actualizados, 1 nuevos se instalarán, 0 para eliminar y 110 no actualizados.
2 no instalados del todo o eliminados.
Se necesita descargar 0 B/10,6 kB de archivos.
Se utilizarán 25,6 kB de espacio de disco adicional después de esta operación.
ATENCIÓN: ¡No se han podido autenticar los siguientes paquetes!
  deb-multimedia-keyring
¿Instalar estos paquetes sin verificación? [s/N] s
Configurando udev (215-17+deb8u4) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
insserv: warning: script 'S97DbSecuritySpt' missing LSB tags and overrides
insserv: warning: script 'S99selinux' missing LSB tags and overrides
insserv: warning: script 'DbSecuritySpt' missing LSB tags and overrides
insserv: warning: script 'selinux' missing LSB tags and overrides
insserv: Starting DbSecuritySpt depends on rmnologin and therefore on
system facility `$all' which can not be true!

















E: Sub-process /usr/bin/dpkg returned an error code (1)W: Tal vez deba
ejecutar «apt-get update» para corregir estos problemasW: Duplicate
sources.list entry http://shell.ninthgate.se/packages/debian/
wheezy/main amd64 Packages
(/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_wheezy_main_binary-amd64_Packages)W:
Duplicate sources.list entry
http://shell.ninthgate.se/packages/debian/ wheezy/main amd64 Packages
(/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_wheezy_main_binary-amd64_Packages)W:
Duplicate sources.list entry http://www.deb-multimedia.org/
wheezy/non-free amd64 Packages
(/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_non-free_binary-amd64_Packages)W:
Duplicate sources.list entry http://www.deb-multimedia.org/
wheezy/main amd64 Packages
(/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_main_binary-amd64_Packages)
udevSe encontraron errores al procesar:W: mdadm: /etc/mdadm/mdadm.conf
defines no arrays.update-initramfs: Generating
/boot/initrd.img-3.16.0-4-amd64Procesando disparadores para
initramfs-tools (0.120) ... el subproceso instalado el script
post-installation devolvió el código de salida de error 1dpkg: error
al procesar el paquete udev (--configure):update-rc.d: error: insserv
rejected the script headerinsserv: exiting now without changing boot
order!insserv: Starting selinux depends on rmnologin and therefore on
system facility `$all' which can not be true!

El día 30 de julio de 2016, 12:10, Javier Marcon
 escribió:
> El 30/07/16 a las 04:45, David Rotger escribió:
>> Hola,
>>
>> cuando intendo hacer un apt-get update me lanza este error!!
>>
>> Leyendo lista de paquetes... H

Re: Problema al actualizar debian

2016-07-30 Por tema Javier Marcon
El 30/07/16 a las 04:45, David Rotger escribió:
> Hola,
>
> cuando intendo hacer un apt-get update me lanza este error!!
>
> Leyendo lista de paquetes... Hecho
> W: Error de GPG: http://www.deb-multimedia.org wheezy InRelease: Las
> firmas siguientes no se pudieron verificar porque su clave pública no
> está disponible: NO_PUBKEY 5C808C2B65558117
> W: Se produjo un error durante la verificación de las firmas. El
> repositorio no está actualizado y se utilizarán los ficheros de índice
> antiguos. El error GPG es: http://shell.ninthgate.se wheezy InRelease:
> Las firmas siguientes no se pudieron verificar porque su clave pública
> no está disponible: NO_PUBKEY 0B38CE01521D8275
>
> W: Fallo al obtener
> http://shell.ninthgate.se/packages/debian/dists/wheezy/InRelease
>
> W: No se han podido descargar algunos archivos de índice, se han
> omitido, o se han utilizado unos antiguos en su lugar.
> W: Duplicate sources.list entry http://www.deb-multimedia.org/
> wheezy/main amd64 Packages
> (/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_main_binary-amd64_Packages)
> W: Duplicate sources.list entry http://www.deb-multimedia.org/
> wheezy/non-free amd64 Packages
> (/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_non-free_binary-amd64_Packages)
> W: Duplicate sources.list entry
> http://shell.ninthgate.se/packages/debian/ wheezy/main amd64 Packages
> (/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_wheezy_main_binary-amd64_Packages)
> W: Duplicate sources.list entry
> http://shell.ninthgate.se/packages/debian/ wheezy/main amd64 Packages
> (/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_wheezy_main_binary-amd64_Packages)
>
>
Ese error se debe a que agregaste repositorios en sources.list pero apt
no tiene la key pgp para verificar que los repositorios, te paso un
script que intenta obtener la key y arreglar el problema:

#!/bin/bash

sudo apt-get update 2> /tmp/keymissing
for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //")
 do
echo -e "\nProcessing key: $key"
gpg --keyserver subkeys.pgp.net --recv $key && sudo gpg --export
--armor $key | apt-key add -


Saludos,

Javier.



Re: Problema al actualizar debian

2016-07-30 Por tema Angel Vicente
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

El Sat, 30 Jul 2016 09:45:02 +0200
David Rotger  escribió:
> Hola,

Hola.

> 
> cuando intendo hacer un apt-get update me lanza este error!!
> 
> Leyendo lista de paquetes... Hecho
> W: Error de GPG: http://www.deb-multimedia.org wheezy InRelease: Las
> firmas siguientes no se pudieron verificar porque su clave pública no
> está disponible: NO_PUBKEY 5C808C2B65558117
> W: Se produjo un error durante la verificación de las firmas. El
> repositorio no está actualizado y se utilizarán los ficheros de índice
> antiguos. El error GPG es: http://shell.ninthgate.se wheezy InRelease:
> Las firmas siguientes no se pudieron verificar porque su clave pública
> no está disponible: NO_PUBKEY 0B38CE01521D8275
> 
> W: Fallo al obtener
> http://shell.ninthgate.se/packages/debian/dists/wheezy/InRelease
> 
> W: No se han podido descargar algunos archivos de índice, se han
> omitido, o se han utilizado unos antiguos en su lugar.
> W: Duplicate sources.list entry http://www.deb-multimedia.org/
> wheezy/main amd64 Packages
> (/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_main_binary-amd64_Packages)
> W: Duplicate sources.list entry http://www.deb-multimedia.org/
> wheezy/non-free amd64 Packages
> (/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_non-free_binary-amd64_Packages)
> W: Duplicate sources.list entry
> http://shell.ninthgate.se/packages/debian/ wheezy/main amd64 Packages
> (/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_wheezy_main_binary-amd64_Packages)
> W: Duplicate sources.list entry
> http://shell.ninthgate.se/packages/debian/ wheezy/main amd64 Packages
> (/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_wheezy_main_binary-amd64_Packages)
> 
> 

Muéstranos el sources.list. ¿Es la primera vez que usas deb-multimedia
y ninthgate.se?

Salu2

- -- 
Key fingerprint 01DC 0386 2B28 0A02 A270 E243 008B AABF 1822 9851
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlecb2EACgkQAIuqvxgimFGhhAD/aCGIN0Psf+0sAxKe1XQ+fYQS
an4hgWyg+DFpMMZbCFQA/3C0NPviGtR339hsudCyVMOY7hXFiKmHI/eXmBJRWCcm
=PqTB
-END PGP SIGNATURE-


Problema al actualizar debian

2016-07-30 Por tema David Rotger
Hola,

cuando intendo hacer un apt-get update me lanza este error!!

Leyendo lista de paquetes... Hecho
W: Error de GPG: http://www.deb-multimedia.org wheezy InRelease: Las
firmas siguientes no se pudieron verificar porque su clave pública no
está disponible: NO_PUBKEY 5C808C2B65558117
W: Se produjo un error durante la verificación de las firmas. El
repositorio no está actualizado y se utilizarán los ficheros de índice
antiguos. El error GPG es: http://shell.ninthgate.se wheezy InRelease:
Las firmas siguientes no se pudieron verificar porque su clave pública
no está disponible: NO_PUBKEY 0B38CE01521D8275

W: Fallo al obtener
http://shell.ninthgate.se/packages/debian/dists/wheezy/InRelease

W: No se han podido descargar algunos archivos de índice, se han
omitido, o se han utilizado unos antiguos en su lugar.
W: Duplicate sources.list entry http://www.deb-multimedia.org/
wheezy/main amd64 Packages
(/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://www.deb-multimedia.org/
wheezy/non-free amd64 Packages
(/var/lib/apt/lists/www.deb-multimedia.org_dists_wheezy_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry
http://shell.ninthgate.se/packages/debian/ wheezy/main amd64 Packages
(/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_wheezy_main_binary-amd64_Packages)
W: Duplicate sources.list entry
http://shell.ninthgate.se/packages/debian/ wheezy/main amd64 Packages
(/var/lib/apt/lists/shell.ninthgate.se_packages_debian_dists_wheezy_main_binary-amd64_Packages)


-- 
David Rotger



Re: Problema red servidor Debian

2016-07-30 Por tema David Rotger
Volviendo al tema, porque me tiene bastante intrigado. No hay ninguna
IP duplicada en la red, seguramente sea un servicio, porque si desde
otro terminal hago un ping 192.168.1.101 -t ( el servidor ) y reinicio
el servidor, cuando este carga los paquetes se envían y reciben bien,
pero cuando termina de cargar vuelva otra vez el mismo problema. Hay
alguna forma de saber que servicio esta mandando trafico? o alguna
idea?


El día 28 de julio de 2016, 16:56, Camaleón  escribió:
> El Wed, 27 Jul 2016 22:47:52 +0200, David Rotger escribió:
>
>> tengo un problema con un servidor con Debian 8. Hace días que notaba que
>> la conexión de toda la red me iba muy lenta, he descubierto que es el
>> servidor que causa esta lentitud. Hago un ping desde cualquier terminal
>> al router, y me tarda como 6000ms. Si desconecto el servidor, todo
>> vuelve a la normalidad. He cambiado la tarjeta y el cable de red del
>> servidor, pero el problema persiste. No se por donde empezar
>
> Ya leo que cambiando la IP al servidor ha vuelto a normalidad pero si te
> vuelve a pasar prueba antes a recargar el servicio de red ("service
> networking restart") o detenerlo ("service networking stop"),
> directamente, sin necesidad de apagar el servidor. Y revisa el registro
> (syslog) por si vieras algún problema.
>
> Personalmente nunca he tenido ese problema cuando se ha duplicado alguna
> IP en la red local, más allá de que en Windows te avisa del conflicto
> pero con poco más efecto en otros equipos de la red.
>
> Saludos,
>
> --
> Camaleón
>



-- 
David Rotger