Ubuntu 16.04 - Não é possível executar a atualização de software ou o apt-get-update [duplicado]

0

Estou executando o Ubuntu 16.04. Eu não consegui atualizar o software em meses porque continuo recebendo esta mensagem. Eu tentei alternar entre servidores. Não é isso. Tentei atualizar as chaves expiradas. Ainda sem sorte. Por favor me ajude a resolver isso. Eu não posso nem atualizar para uma versão mais recente do Ubuntu para consertá-lo. Nada funciona.

Eu também estou querendo saber se isso tem a ver com a seção de provedores de software de confiança do software atualizado estando vazio. Aqui está uma captura de tela:

OAtualizadordeSoftwaremeforneceoseguinte:

Failedtodownloadrepositoryinformation.Checkyourinternetconntection.

Nãoépossívelexecutarsudo-apt-get-update.Eureceboestamensagem:

Ign:1http://dl.google.com/linux/chrome/debstableInReleaseHit:2http://us.archive.ubuntu.com/ubuntuxenialInReleaseHit:3http://dl.google.com/linux/chrome/debstableReleaseHit:4http://us.archive.ubuntu.com/ubuntuxenial-updatesInReleaseHit:5http://us.archive.ubuntu.com/ubuntuxenial-securityInReleaseHit:6http://ppa.launchpad.net/gambas-team/gambas3/ubuntuxenialInReleaseHit:7http://archive.canonical.com/ubuntuwilyInReleaseIgn:8http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04InReleaseHit:10http://ppa.launchpad.net/i-nex-development-team/daily/ubuntuxenialInReleaseHit:11http://ppa.launchpad.net/mjblenner/ppa-hal/ubuntuxenialInReleaseHit:12http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04ReleaseHit:13http://ppa.launchpad.net/pipelight/stable/ubuntuxenialInReleaseHit:14http://ppa.launchpad.net/team-xbmc/ppa/ubuntuxenialInReleaseHit:15http://ppa.launchpad.net/webupd8team/java/ubuntuxenialInReleaseHit:16https://deb.opera.com/opera-stablestableInReleaseErr:17http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04Release.gpgThefollowingsignatureswereinvalid:KEYEXPIRED1496576244Readingpackagelists...DoneW:Anerroroccurredduringthesignatureverification.Therepositoryisnotupdatedandthepreviousindexfileswillbeused.GPGerror:http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04Release:Thefollowingsignatureswereinvalid:KEYEXPIRED1496576244W:Failedtofetchhttp://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/Release.gpgThefollowingsignatureswereinvalid:KEYEXPIRED1496576244W:Someindexfilesfailedtodownload.Theyhavebeenignored,oroldonesusedinstead.http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/Release.gpgThefollowingsignatureswereinvalid:KEYEXPIRED1496576244W:Someindexfilesfailedtodownload.Theyhavebeenignored,oroldonesusedinstead.

Eutenteiatualizaraschaves:

forKin$(apt-keylist|grepexpired|cut-d'/'-f2|cut-d''-f1);dosudoapt-keyadv--recv-keys--keyserverkeys.gnupg.net$K;done

Esaída:

Executing:/tmp/tmp.5NRsQ5oSoL/gpg.1.sh--recv-keys--keyserverkeys.gnupg.netBEB6D886gpg:requestingkeyBEB6D886fromhkpserverkeys.gnupg.netgpg:keyBEB6D886:"home:Horst3180 OBS

Project <home:[email protected]>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 Executing: /tmp/tmp.ctjucxHt4s/gpg.1.sh --recv-keys

--keyserver keys.gnupg.net F6D61D45 gpg: requesting key F6D61D45 from hkp server keys.gnupg.net gpg: key F6D61D45: "Opera Software Archive Automatic Signing Key 2015 <[email protected]>" 
not changed gpg: Total number processed: 1 gpg: unchanged: 1
    
por Dmat00 20.08.2017 / 19:09

1 resposta

2

Sua chave GPG para o repositório opensuse expirou.

Se você não precisar dessa fonte, comente as entradas de origem com este comando:

sudo sed -i '/opensuse/ s/^/#/' /etc/apt/sources.list.d/*.list

E execute este comando para excluir a chave expirada:

sudo apt-key del 1496576244

Em seguida, execute este comando para repositórios de atualização:

sudo apt update
    
por Ali Razmdideh 20.08.2017 / 20:48