Re: Problema al actualizar debian

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

El Sat, 30 Jul 2016 13:18:53 +0200
David Rotger  escribió:
> 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
> 

Yo comentaría las líneas de sarge y de ubuntu, y haría como ha
propuesto Camaleón. Es más que posible que haya dependencias
incompatibles entre versiones y distros.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAleduiAACgkQAIuqvxgimFGevQEAiYXw8E35yVKiWaqpwEayQPt7
6lycEePPlmiDAb4IK3EA/0o15O+hGwP2MVj++FK59Q7YowXXFzE2JkVOBhbQrwBV
=uz6g
-END PGP SIGNATURE-


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 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 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