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