Atualização da distro (apt-get update e apt-get dist-upgrade) [RESOLVIDO]

1. Atualização da distro (apt-get update e apt-get dist-upgrade) [RESOLVIDO]

Debian
joaofs18

(usa Debian)

Enviado em 26/10/2016 - 00:39h

Olá Pessoal estou passando por um problema complicado e não sei como resolver se alguém puder me ajudar.
Segue o passo a passo do procedimento:

Dei o o primeiro comando -> apt-get update
Dei o segundo comando -> apt-get dist-upgrade

E agora não consigo rodar nenhuma comando no terminal (apt-get, npm, node... ) nem nada!!

abaixo segue o erro quando eu executo o comando apt-get:

root@debian:/etc/apt# apt-get update
Hit:1 http://ftp.br.debian.org/debian stretch InRelease
0% [1 InRelease gpgv 251 kB] [Waiting for headers] [Connecting to security.debian.org] [Waiting for headers]Couldn't create temporary file /tmp/apt.coErr:1 http://ftp.br.debian.org/debian stretch InRelease
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Hit:2 http://ftp.br.debian.org/debian stretch-proposed-updates InRelease
0% [2 InRelease gpgv 136 kB] [Connecting to security.debian.org] [Waiting for headers]Couldn't create temporary file /tmp/apt.conf.LKHPIb for passing Err:2 http://ftp.br.debian.org/debian stretch-proposed-updates InRelease
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Hit:5 http://security.debian.org stretch/updates InRelease
Err:5 http://security.debian.org stretch/updates InReleasee /tmp/apt.conf.zUAK3S for passing config to apt-key
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Hit:3 http://alcateia.ufscar.br/debian stretch InRelease
Err:3 http://alcateia.ufscar.br/debian stretch InRelease't create temporary file /tmp/apt.conf.K8agyi for passing config to apt-key
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Ign:4 http://alcateia.ufscar.br/debian jessie InRelease
Hit:6 http://debian.c3sl.ufpr.br/debian jessie Release
Err:7 http://httpredir.debian.org/debian jessie Release.gpg/tmp/apt.conf.deJO8T for passing config to apt-key
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Reading package lists... Done
W: chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Read-only file system)
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Read-only file system)
W: Not using locking for read only lock file /var/lib/apt/lists/lock
W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.QHwTY2 - IsAccessibleBySandboxUser (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.ftSLkv - IsAccessibleBySandboxUser (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.UulEGX - IsAccessibleBySandboxUser (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.PQVw2p - IsAccessibleBySandboxUser (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.QbEpoS - IsAccessibleBySandboxUser (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/ftp.br.debian.org_debian_dists_stretch_InRelease - PrepareFiles (30: Read-only file system)
W: chown to _apt:root of file /var/lib/apt/lists/ftp.br.debian.org_debian_dists_stretch_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chmod 0600 of file /var/lib/apt/lists/ftp.br.debian.org_debian_dists_stretch_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chown to root:root of file /var/lib/apt/lists/ftp.br.debian.org_debian_dists_stretch_InRelease failed - 400::URIFailure (30: Read-only file system)
W: chmod 0644 of file /var/lib/apt/lists/ftp.br.debian.org_debian_dists_stretch_InRelease failed - 400::URIFailure (30: Read-only file system)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.br.debian.org/debian stretch InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Problem unlinking the file /var/lib/apt/lists/partial/ftp.br.debian.org_debian_dists_stretch-proposed-updates_InRelease - PrepareFiles (30: Read-only file system)
W: chown to _apt:root of file /var/lib/apt/lists/ftp.br.debian.org_debian_dists_stretch-proposed-updates_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chmod 0600 of file /var/lib/apt/lists/ftp.br.debian.org_debian_dists_stretch-proposed-updates_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chown to root:root of file /var/lib/apt/lists/ftp.br.debian.org_debian_dists_stretch-proposed-updates_InRelease failed - 400::URIFailure (30: Read-only file system)
W: chmod 0644 of file /var/lib/apt/lists/ftp.br.debian.org_debian_dists_stretch-proposed-updates_InRelease failed - 400::URIFailure (30: Read-only file system)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.br.debian.org/debian stretch-proposed-updates InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Problem unlinking the file /var/lib/apt/lists/partial/security.debian.org_dists_stretch_updates_InRelease - PrepareFiles (30: Read-only file system)
W: chown to _apt:root of file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chmod 0600 of file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chown to root:root of file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_InRelease failed - 400::URIFailure (30: Read-only file system)
W: chmod 0644 of file /var/lib/apt/lists/security.debian.org_dists_stretch_updates_InRelease failed - 400::URIFailure (30: Read-only file system)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org stretch/updates InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Problem unlinking the file /var/lib/apt/lists/partial/httpredir.debian.org_debian_dists_stretch_InRelease - PrepareFiles (30: Read-only file system)
W: chown to _apt:root of file /var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chmod 0600 of file /var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chown to root:root of file /var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch_InRelease failed - 400::URIFailure (30: Read-only file system)
W: chmod 0644 of file /var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch_InRelease failed - 400::URIFailure (30: Read-only file system)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://alcateia.ufscar.br/debian stretch InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Problem unlinking the file /var/lib/apt/lists/partial/httpredir.debian.org_debian_dists_jessie_InRelease - PrepareFiles (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/httpredir.debian.org_debian_dists_jessie_Release - PrepareFiles (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/httpredir.debian.org_debian_dists_jessie_Release.gpg - pkgAcqMetaSig (30: Read-only file system)
W: chown to _apt:root of file /var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_Release failed - Item::QueueURI (30: Read-only file system)
W: chmod 0600 of file /var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_Release failed - Item::QueueURI (30: Read-only file system)
W: chown to root:root of file /var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_Release failed - 400::URIFailure (30: Read-only file system)
W: chmod 0644 of file /var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_Release failed - 400::URIFailure (30: Read-only file system)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://debian.c3sl.ufpr.br/debian jessie Release: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch http://ftp.br.debian.org/debian/dists/stretch/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch http://ftp.br.debian.org/debian/dists/stretch-proposed-updates/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch http://httpredir.debian.org/debian/dists/stretch/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/Release.gpg Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (30: Read-only file system)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (30: Read-only file system)
W: Not using locking for read only lock file /var/lib/dpkg/lock
root@debian:/etc/apt#




  


2. Re: Atualização da distro (apt-get update e apt-get dist-upgrade) [RESOLVIDO]

Dan
dan108

(usa Outra)

Enviado em 26/10/2016 - 09:11h

uai Slackware tem apt?? Como assim fera?


3. Re: Atualização da distro (apt-get update e apt-get dist-upgrade) [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 26/10/2016 - 09:49h

-eu acho que isso esteja acontecendo pq vc tem repositórios do debian-jessie estável e do debian-stretch testting na sua sources.list

***********************************************
http://dicaslinuxmint.blogspot.com.br/


4. Re: Atualização da distro (apt-get update e apt-get dist-upgrade) [RESOLVIDO]

Debian
joaofs18

(usa Debian)

Enviado em 26/10/2016 - 13:48h

nitaicharan escreveu:

uai Slackware tem apt?? Como assim fera?


Desculpa eu tinha esquecido de atulizar meu perfil eu não uso mais o Slackware.


5. Re: Atualização da distro (apt-get update e apt-get dist-upgrade) [RESOLVIDO]

Dan
dan108

(usa Outra)

Enviado em 26/10/2016 - 13:51h

kkkkk de boa. Só tirando onda.
Vc conseguiu resolver ?


6. Re: Atualização da distro (apt-get update e apt-get dist-upgrade) [RESOLVIDO]

Debian
joaofs18

(usa Debian)

Enviado em 26/10/2016 - 14:20h

nitaicharan escreveu:

kkkkk de boa. Só tirando onda.
Vc conseguiu resolver ?


rsrsrsss.. pow mano ainda não consegui resolver não... acho que vai ser o jeito formatar tudo viu. Não tenho a mínima idéia do porque que aconteceu isso. Já dei uma olhada no link que o amigo clodoaldops passou, mas mesmo assim não consegui resolver.


7. Re: Atualização da distro (apt-get update e apt-get dist-upgrade) [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 26/10/2016 - 15:14h

https://www.vivaolinux.com.br/dica/O-que-fazer-depois-de-instalar-o-Debian-8
-se vc está usando debian-8-jessie use dica acima do jbaf


***********************************************
http://dicaslinuxmint.blogspot.com.br/


8. Resolvido

Debian
joaofs18

(usa Debian)

Enviado em 27/10/2016 - 08:46h

Fui no site https://debgen.simplylinux.ch/ gerei uma source.list e reiniciei a maquina e depois dei o comando apt-get update e funcionou! Muito obrigado galera ai por tudo! Valeu..






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts