Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How i can resolve the problem of packages?

2,632 views
Skip to first unread message

William Torrez Corea

unread,
Oct 2, 2021, 10:30:04 PM10/2/21
to
I try update and upgrade the package with the tool APT but get the following error:

apt-get update
Err:10 http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease
  Las firmas siguientes no se pudieron verificar porque su clave pública no está disponible: NO_PUBKEY 7FCC7D46ACCC4CF8
Obj:13 http://ftp.de.debian.org/debian stretch Release
Leyendo lista de paquetes... Hecho
W: Error de GPG: http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease: Las firmas siguientes no se pudieron verificar porque su clave pública no está disponible: NO_PUBKEY 7FCC7D46ACCC4CF8
E: El repositorio «http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease» no está firmado.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.

apt-get upgrade
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Read-only file system
dpkg: error al procesar el paquete libc-bin (--configure):
 el subproceso instalado paquete libc-bin script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

--
With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Stanislav Vlasov

unread,
Oct 3, 2021, 3:10:05 AM10/3/21
to
2021-10-03 7:28 GMT+05:00, William Torrez Corea <willi...@gmail.com>:
> I try update and upgrade the package with the tool APT but get the
> following error:
[...]
> ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Read-only
> file system

Either remount filesystems to rw, if you mount it in ro before run
apt, or reboot and repair filesystem.
Also this may be hardware problem with disks.

And please next time send diagnostic in english:
LANG=C apt update

--
Stanislav

dalios

unread,
Oct 3, 2021, 3:20:04 AM10/3/21
to
On 10/3/21 5:28 AM, William Torrez Corea wrote:
> I try update and upgrade the package with the tool APT but get the
> following error:
>
> */apt-get update/*
> Err:10 http://apt.postgresql.org/pub/repos/apt
> <http://apt.postgresql.org/pub/repos/apt> buster-pgdg InRelease
>   Las firmas siguientes no se pudieron verificar porque su clave pública
> no está disponible: NO_PUBKEY 7FCC7D46ACCC4CF8
> Obj:13 http://ftp.de.debian.org/debian <http://ftp.de.debian.org/debian>
> stretch Release
> Leyendo lista de paquetes... Hecho
> W: Error de GPG: http://apt.postgresql.org/pub/repos/apt
> <http://apt.postgresql.org/pub/repos/apt> buster-pgdg InRelease: Las
> firmas siguientes no se pudieron verificar porque su clave pública no
> está disponible: NO_PUBKEY 7FCC7D46ACCC4CF8
> E: El repositorio «http://apt.postgresql.org/pub/repos/apt
> <http://apt.postgresql.org/pub/repos/apt> buster-pgdg InRelease» no está
> firmado.
> N: No se puede actualizar de un repositorio como este de forma segura y
> por tanto está deshabilitado por omisión.
> N: Vea la página de manual apt-secure(8) para los detalles sobre la
> creación de repositorios y la configuración de usuarios.
>
> /*apt-get upgrade*/
> ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Read-only
> file system
> dpkg: error al procesar el paquete libc-bin (--configure):
>  el subproceso instalado paquete libc-bin script post-installation
> devolvió el código de salida de error 1
> Se encontraron errores al procesar:
>  libc-bin
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> --
>
> With kindest regards, William.
>
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org <https://www.debian.org>
> ⠈⠳⣄⠀⠀⠀⠀
>

I guess you should ask your question on the Spanish language list
https://lists.debian.org/debian-user-spanish/


dalios

William Torrez Corea

unread,
Oct 3, 2021, 9:40:05 AM10/3/21
to
apt-get update
Err:13 http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7FCC7D46ACCC4CF8
Reading package lists... Done
W: GPG error: http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7FCC7D46ACCC4CF8
E: The repository 'http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

On Sun, Oct 3, 2021 at 1:07 AM Stanislav Vlasov <stanis...@gmail.com> wrote:
And please next time send diagnostic in english:
LANG=C apt update

--
Stanislav



Andrew M.A. Cater

unread,
Oct 3, 2021, 10:00:04 AM10/3/21
to
On Sun, Oct 03, 2021 at 07:33:40AM -0600, William Torrez Corea wrote:
> *apt-get update *
> Err:13 http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease
> The following signatures couldn't be verified because the public key is
> not available: NO_PUBKEY 7FCC7D46ACCC4CF8
> Reading package lists... Done
> W: GPG error: http://apt.postgresql.org/pub/repos/apt buster-pgdg
> InRelease: The following signatures couldn't be verified because the public
> key is not available: NO_PUBKEY 7FCC7D46ACCC4CF8
> E: The repository 'http://apt.postgresql.org/pub/repos/apt buster-pgdg
> InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is therefore
> disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration
> details.
>

Hi William,

1. This is a third party repository not Debian so any advice here can only
be a best guess. Is there a reason why you are using this particularly
rather than using the packages inside Debian?

2. You need to import the GPG key from postgresql.org into your keyring

3. Apt is telling you that "I don't trust this repository" and refuse to
update in the absence of a key.

Add the third party repository in the correct way - perhaps
under /etc/apt/sources.list.d/ and it should work correctly.

All the very best, as ever,

Andy Cater

to...@tuxteam.de

unread,
Oct 3, 2021, 10:20:05 AM10/3/21
to
On Sun, Oct 03, 2021 at 01:57:00PM +0000, Andrew M.A. Cater wrote:
> On Sun, Oct 03, 2021 at 07:33:40AM -0600, William Torrez Corea wrote:
> > *apt-get update *
> > Err:13 http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease
> > The following signatures couldn't be verified because the public key is
> > not available: NO_PUBKEY 7FCC7D46ACCC4CF8
> > Reading package lists... Done
> > W: GPG error: http://apt.postgresql.org/pub/repos/apt buster-pgdg
> > InRelease: The following signatures couldn't be verified because the public
> > key is not available: NO_PUBKEY 7FCC7D46ACCC4CF8
> > E: The repository 'http://apt.postgresql.org/pub/repos/apt buster-pgdg
> > InRelease' is not signed.
> > N: Updating from such a repository can't be done securely, and is therefore
> > disabled by default.
> > N: See apt-secure(8) manpage for repository creation and user configuration
> > details.
> >
>
> Hi William,
>
> 1. This is a third party repository not Debian so any advice here can only
> be a best guess. Is there a reason why you are using this particularly
> rather than using the packages inside Debian?

[...]

Actually, the instructions are here

https://wiki.postgresql.org/wiki/Apt

(if you go to https://apt.postgresql.org/ you get redirected to the
above wiki page, so the PostgreSQL folks have really taken pains
to make sure nobody misses it). Quoting from that page:

Quickstart
----------

Import the repository key from https://www.postgresql.org/media/keys/ACCC4CF8.asc:

sudo apt install curl ca-certificates gnupg
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null

Create /etc/apt/sources.list.d/pgdg.list. The distributions are called codename-pgdg. In the example, replace buster with the actual distribution you are using. File contents:

Let us know whether there is still anything unclear.

Cheers
- t
signature.asc

William Torrez Corea

unread,
Oct 10, 2021, 1:00:03 PM10/10/21
to
I try execute the followings tasks but i get the same error:

ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Read-only file system
dpkg: error al procesar el paquete libc-bin (--configure):
 el subproceso instalado paquete libc-bin script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can't proceed for a good way.

On Sun, Oct 3, 2021 at 8:18 AM <to...@tuxteam.de> wrote:
Actually, the instructions are here

  https://wiki.postgresql.org/wiki/Apt

(if you go to https://apt.postgresql.org/ you get redirected to the
above wiki page, so the PostgreSQL folks have really taken pains
to make sure nobody misses it). Quoting from that page:

    Quickstart
    ----------

    Import the repository key from https://www.postgresql.org/media/keys/ACCC4CF8.asc:

    sudo apt install curl ca-certificates gnupg
    curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null

    Create /etc/apt/sources.list.d/pgdg.list. The distributions are called codename-pgdg. In the example, replace buster with the actual distribution you are using. File contents:

Let us know whether there is still anything unclear.

Cheers
 - t


Dan Ritter

unread,
Oct 10, 2021, 1:20:11 PM10/10/21
to
William Torrez Corea wrote:
> I try execute the followings tasks but i get the same error:
>
> ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Read-only
> > file system



Your root file system is read-only. This indicates a major
problem during boot.

You'll need to fix this first. Look at logs.


-dsr-

Cindy Sue Causey

unread,
Oct 10, 2021, 1:50:03 PM10/10/21
to
I saw that but wanted to see someone respond first. I've experienced
read-only with hardware failures, too. The affected partition will
become dismounted by itself then will be read-only if it remounts at
all.

Faulty USB hubs are the primary cause in my instances.That would
involve having to spend money to fix. It's why I didn't want to type
about this first. :)

Cindy :)
--
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *

William Torrez Corea

unread,
Jan 3, 2022, 2:30:05 PM1/3/22
to
Why i have this type of problem?. This problem has happened with two hard drive different, i don't know what happen.
0 new messages