RE: Actualizar Debian Jessie a la última versión. [SOLUCIONADO]
> -Mensaje original- > De: Camaleón [mailto:noela...@gmail.com] > Enviado el: viernes, 9 de septiembre de 2022 15:31 > Para: debian-user-spanish@lists.debian.org > Asunto: Re: Actualizar Debian Jessie a la última versión. > > El 2022-09-09 a las 14:00 +0200, Ramses escribió: > > (...) > > > > Sigo con la actualización. > > > > > (...) > > > > > Bueno, ya por fin tengo el Container LXC en Debian Bullseye: > > (...) > > > Ahora sólo me queda un problema que no veo cómo solucionar. Cuando > hago un "apt update" me aparecen los siguientes Warnings: > > > > -- > > root@maquina:~# apt update > > Hit:1 http://deb.debian.org/debian bullseye InRelease > > Hit:2 http://deb.debian.org/debian bullseye-updates InRelease > > Get:3 http://security.debian.org/debian-security > > bullseye-security/updates InRelease [48.4 kB] Fetched 48.4 kB in 2s > > (25.1 kB/s) Reading package lists... Done Building dependency tree... > > Done Reading state information... Done All packages are up to date. > > W: http://deb.debian.org/debian/dists/bullseye/InRelease: The key(s) in > the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by > user '_apt' executing apt-key. > > W: http://deb.debian.org/debian/dists/bullseye-updates/InRelease: The > key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not > readable by user '_apt' executing apt-key. > > W: http://security.debian.org/debian-security/dists/bullseye- > security/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg > are ignored as the file is not readable by user '_apt' executing apt-key. > > root@maquina:~# > > -- > > > > ¿Alguna idea de por dónde meterle mano? > > Mira a ver si te sirve esta solución: > > https://forums.debian.net/viewtopic.php?p=629511#p629511 > > Saludos, > > -- > Camaleón Buenas, Solucionado. He mirado por ahí y he encontrado algo que me ha dado una pista. Los ficheros en "/etc/apt/trusted.gpg.d" tienen los siguientes permisos: -- root@maquina:/etc/apt/trusted.gpg.d# ls -la total 80 drwxr-xr-x 2 root root 4096 Sep 8 22:03 . drwxr-xr-x 8 root root 4096 Sep 9 19:37 .. -rw-r--r-- 1 root root 8700 Feb 25 2021 debian-archive-bullseye-automatic.gpg -rw-r--r-- 1 root root 8709 Feb 25 2021 debian-archive-bullseye-security-automatic.gpg -rw-r--r-- 1 root root 2453 Feb 25 2021 debian-archive-bullseye-stable.gpg -rw-r--r-- 1 root root 8132 Feb 25 2021 debian-archive-buster-automatic.gpg -rw-r--r-- 1 root root 8141 Feb 25 2021 debian-archive-buster-security-automatic.gpg -rw-r--r-- 1 root root 2332 Feb 25 2021 debian-archive-buster-stable.gpg -rw-r--r-- 1 root root 7443 Feb 25 2021 debian-archive-stretch-automatic.gpg -rw-r--r-- 1 root root 7452 Feb 25 2021 debian-archive-stretch-security-automatic.gpg -rw-r--r-- 1 root root 2263 Feb 25 2021 debian-archive-stretch-stable.gpg -rw-r--r-- 1 root root 1769 Mar 18 2019 php.gpg root@maquina:/etc/apt/trusted.gpg.d# -- Y el fichero del error "W: http://deb.debian.org/debian/dists/bullseye/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key." tiene los siguientes permisos: -- root@maquina:~# ls -la /etc/apt/trusted.gpg* -rw--- 1 root root 39248 Sep 8 18:00 /etc/apt/trusted.gpg -- Por lo que el usuario "_apt" como dice el error, no puede leerlo. Algo tan fácil como: -- root@maquina:/etc/apt# chmod 644 /etc/apt/trusted.gpg root@maquina:/etc/apt# root@maquina:/etc/apt# ls -la /etc/apt/trusted.gpg -rw-r--r-- 1 root root 39248 Sep 8 18:00 /etc/apt/trusted.gpg root@maquina:/etc/apt# -- Y solucionado: -- root@maquina:/etc/apt# apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://security.debian.org/debian-security bullseye-security/updates InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. root@maquina:/etc/apt# -- Saludos y muchas gracias a tod@s por la ayuda.
Re: Actualizar Debian Jessie a la última versión.
El 2022-09-09 a las 14:00 +0200, Ramses escribió: (...) > > Sigo con la actualización. > > (...) > > Bueno, ya por fin tengo el Container LXC en Debian Bullseye: (...) > Ahora sólo me queda un problema que no veo cómo solucionar. Cuando hago un > "apt update" me aparecen los siguientes Warnings: > > -- > root@maquina:~# apt update > Hit:1 http://deb.debian.org/debian bullseye InRelease > Hit:2 http://deb.debian.org/debian bullseye-updates InRelease > Get:3 http://security.debian.org/debian-security bullseye-security/updates > InRelease [48.4 kB] > Fetched 48.4 kB in 2s (25.1 kB/s) > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > All packages are up to date. > W: http://deb.debian.org/debian/dists/bullseye/InRelease: The key(s) in the > keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user > '_apt' executing apt-key. > W: http://deb.debian.org/debian/dists/bullseye-updates/InRelease: The key(s) > in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable > by user '_apt' executing apt-key. > W: > http://security.debian.org/debian-security/dists/bullseye-security/updates/InRelease: > The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is > not readable by user '_apt' executing apt-key. > root@maquina:~# > -- > > ¿Alguna idea de por dónde meterle mano? Mira a ver si te sirve esta solución: https://forums.debian.net/viewtopic.php?p=629511#p629511 Saludos, -- Camaleón
RE: Actualizar Debian Jessie a la última versión.
> -Mensaje original- > De: Ramses [mailto:ramses.sevi...@gmail.com] > Enviado el: jueves, 8 de septiembre de 2022 18:40 > Para: 'debian-user-spanish@lists.debian.org' span...@lists.debian.org> > Asunto: RE: Actualizar Debian Jessie a la última versión. > > > -Mensaje original- > > De: Ramses [mailto:ramses.sevi...@gmail.com] Enviado el: jueves, 8 de > > septiembre de 2022 18:25 > > Para: 'debian-user-spanish@lists.debian.org' > span...@lists.debian.org> > > Asunto: RE: Actualizar Debian Jessie a la última versión. > > > > > -Mensaje original- > > > De: Camaleón [mailto:noela...@gmail.com] Enviado el: miércoles, 7 de > > > septiembre de 2022 20:04 > > > Para: debian-user-spanish@lists.debian.org > > > Asunto: Re: Actualizar Debian Jessie a la última versión. > > > > > > El 2022-09-07 a las 19:47 +0200, Ramses escribió: > > > > > > > > > >> W: Failed to fetch > > > > > > >> https://packages.sury.org/php/dists/jessie/main/binary-amd6 > > > > > > >> 4/ Pa ckag es server certificate verification failed. > > > > > > >> CAfile: > > > > > > >> /etc/ssl/certs/ca-certificates.crt CRLfile: none > > > > > > >> > > > > > > >> E: Some index files failed to download. They have been > > > > > > >> ignored, or old ones used instead. > > > > > > > > > > > > > >Cambia de servidor, ese no tiene el archivo que necesitas: > > > > > > > > > > > > > >https://packages.sury.org/php/dists/ > > > > > > > > > > > > > >Está vacío. > > > > > > > > > > > > > >Por eso siempre uso los alemanes: > > > > > > > > > > > > > >http://ftp.de.debian.org/debian/dists/jessie/main/binary-amd6 > > > > > > >4/ > > > > > > > > > > > > > >Aquí hay más chicha :-) > > > > > > > > > > > > > >> ¿A alguien le suena este error y cómo solucionarlo? > > > > > > > > > > > > > >Parece un error tontín, al fin y al cabo sólo estás > > > > > > >actualizando los paquetes de Debian Jessie; la «fiesta» de la > > > > > > >actualización aún no ha empezado... > > > > > > > > > > > > > > > > > > > Camaleón, tengo esto en el sources.list: > > > > > > > > > > > > deb http://ftp.de.debian.org/debian/ jessie main contrib > > > > > > non-free deb-src http://ftp.de.debian.org/debian/ jessie main > > > > > > contrib non-free > > > > > > > > > > > > > > > > > > deb http://httpredir.debian.org/debian jessie-updates main > > > > > > contrib non-free > > > > > ^ > > > > > > deb-src http://httpredir.debian.org/debian jessie-updates main > > > > > > contrib non-free > > > > > > (...) > > > > > > > > > ¿Los cambio y dejó sólo el que tú me has puesto? > > > > > > > > > > No, sólo el que te falla, que es un redirector y te lleva a un > > > > > servidor que no tiene todos los paquetes. > > > > > > > > > > Es decir, cambia este: > > > > > > > > > > # deb http://httpredir.debian.org/debian jessie-updates main > > > > > contrib > > > > > non- free # deb-src http://httpredir.debian.org/debian > > > > > jessie-updates main contrib non-free > > > > > > > > > > Por este: > > > > > > > > > > deb http://ftp.de.debian.org/debian jessie-updates main contrib > > > > > non-free deb-src http://ftp.de.debian.org/debian jessie-updates > > > > > main contrib non- free > > > > > > > > > > Y prueba de nuevo: > > > > > > > > > > apt-get update > > > > > > > > > > > > > Camaleón, buenas tardes, > > > > > > > > He cambiado el sources.list: > > > > > > > > -- > > > > -- > > > > -- > > > > -- root@maquina:/etc/apt# cat sources.list #deb > > > > http://ftp.debian.org/debian wheezy main contrib > > > > > > > > #deb http://ftp.debian.org/debian wheezy-updates main contrib > > > > > > > > #deb http://security.debian.org wheezy/updates main contrib > > > > > > > > deb http://ftp.de.debian.org/debian/ jessie main contrib non-free > > > > deb-src http://ftp.de.debian.org/debian/ jessie main contrib > > > > non-free > > > > > > > > > > > > #deb http://httpredir.debian.org/debian jessie-updates main > > > > contrib non-free #deb-src http://httpredir.debian.org/debian > > > > jessie-updates main contrib non-free deb > > > > http://ftp.de.debian.org/debian jessie-updates main contrib > > > > non-free deb-src http://ftp.de.debian.org/debian jessie-updates > > > > main contrib non-free > > > > > > > > > > > > deb http://security.debian.org/ jessie/updates main contrib > > > > non-free deb-src http://security.debian.org/ jessie/updates main > > > > contrib non-free > > > > > > > > > > > > root@maquina:/etc/apt# > > > > -- > > > > -- > > > > -- > > > > -- > > > > > > > > Y me sigue dando el mismo problema, tanto con apt update como con > > > > apt- > > > get update: > > > > > > > > -- > > > > -- > > > > -- > > > > -- > > > > root@soporte:/etc/apt# apt-get update Hit > > > > http://security.debian.org jessie/updates InRelease Ign > > > > https://packages.sury.org jessie InRelease > > >