Reveter comandos que ferraram meu apt-get update

1. Reveter comandos que ferraram meu apt-get update

Vilma
vilmah

(usa Debian)

Enviado em 26/05/2019 - 15:44h

Como reverter esses comandos?

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg">https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt install yarn


Tava tentando instalar o yarn, mas não funcionou e ainda quando eu dou
sudo apt-get update não funciona mais:
vilma@vilmah:~/js/backend$ sudo apt-get update
[sudo] password for vilma:
Hit:1 http://repo.steampowered.com/steam precise InRelease
Hit:2 https://deb.nodesource.com/node_8.x stretch InRelease
Hit:3 https://repo.skype.com/deb stable InRelease
Ign:4 https://dl.bintray.com/getinsomnia/Insomnia InRelease
Get:5 https://dl.bintray.com/getinsomnia/Insomnia Release [815 B]
Hit:5 https://dl.bintray.com/getinsomnia/Insomnia Release
Hit:7 http://security.debian.org/debian-security">http://security.debian.org/debian-security stretch/updates InRelease
Ign:8 http://deb.debian.org/debian stretch InRelease
Hit:9 http://security.debian.org stretch/updates InRelease
Get:10 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:11 http://deb.debian.org/debian stretch Release
Ign:12 http://dl.google.com/linux/chrome/deb stable InRelease
Get:14 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:15 http://dl.google.com/linux/chrome/deb stable Release
Ign:17 http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./ InRelease
Hit:18 http://deb.playonlinux.com stretch InRelease
Get:19 http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./ Release [974 B]
Get:20 http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./ Release.gpg [481 B]
Err:20 http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./ Release.gpg
The following signatures were invalid: EXPKEYSIG 2F7F0DA5FD5B64B9 home:strycore OBS Project <home:strycore@build.opensuse.org>
Hit:21 http://linux.teamviewer.com/deb stable InRelease
Fetched 184 kB in 16min 4s (191 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./ Release: The following signatures were invalid: EXPKEYSIG 2F7F0DA5FD5B64B9 home:strycore OBS Project <home:strycore@build.opensuse.org>
W: Failed to fetch http://download.opensuse.org/repositories/home:/strycore/Debian_9.0/./Release.gpg The following signatures were invalid: EXPKEYSIG 2F7F0DA5FD5B64B9 home:strycore OBS Project <home:strycore@build.opensuse.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
vilma@vilmah:~/js/backend$




E nossa meu apt-get update está demorando muito
Alguém pode me dar uma luz?

Meu /etc/apt/sources.list tá quase padrão:
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#

# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 DVD Binary-1 20170722-11:31]/ stretch contrib main

#erronoaptgetupdatetiveqcomentar-deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 DVD Binary-1 20170722-11:31]/ stretch contrib main

deb http://security.debian.org/debian-security">http://security.debian.org/debian-security stretch/updates main contrib
deb-src http://security.debian.org/debian-security">http://security.debian.org/debian-security stretch/updates main contrib

# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://deb.debian.org/debian/ stretch-updates main contrib
# deb-src http://deb.debian.org/debian/ stretch-updates main contrib



deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

# WIFI
deb http://ftp.debian.org/debian stretch-backports main

#------------------------------------------------------------------------------#
# UNOFFICIAL REPOS
#------------------------------------------------------------------------------#





  


2. Re: Reveter comandos que ferraram meu apt-get update

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 26/05/2019 - 17:25h

-poste saída comando
ls /etc/apt/sources.list.d/*



3. Re: Reveter comandos que ferraram meu apt-get update

skjdeecedcnfncvnrfcnrncjvnjrnfvjcnjrjvcjrvcj
Londreslondres

(usa Slackware)

Enviado em 26/05/2019 - 18:07h

Para remover o repositório:
# rm /etc/apt/sources.list.d/yarn.list 


Para remover a chave:
# apt-key del id-da-chave 

Para saber o id da chave, use esse comando:
# apt-key list | grep yarnpkg 




4. Re: Reveter comandos que ferraram meu apt-get update

Vilma
vilmah

(usa Debian)

Enviado em 26/05/2019 - 18:09h

clodoaldops escreveu:

-poste saída comando
ls /etc/apt/sources.list.d/*


/etc/apt/sources.list.d/google-chrome.list /etc/apt/sources.list.d/lutris.list /etc/apt/sources.list.d/playonlinux.list /etc/apt/sources.list.d/steam.list
/etc/apt/sources.list.d/insomnia.list /etc/apt/sources.list.d/nodesource.list /etc/apt/sources.list.d/skype-stable.list /etc/apt/sources.list.d/teamviewer.list


Eu tinha ido nesse caminho manualmente e tinha deletado a parte do yarn




5. Re: Reveter comandos que ferraram meu apt-get update

Vilma
vilmah

(usa Debian)

Enviado em 26/05/2019 - 18:12h

Londreslondres escreveu:

Para remover o repositório:
# rm /etc/apt/sources.list.d/yarn.list 


Para remover a chave:
# apt-key del id-da-chave 

Para saber o id da chave, use esse comando:
# apt-key list | grep yarnpkg 



# rm /etc/apt/sources.list.d/yarn.list 

rm: cannot remove '/etc/apt/sources.list.d/yarn.list': No such file or directory
isso eu já tinha deletado manualmente

# apt-key list | grep yarnpkg 

Warning: apt-key output should not be parsed (stdout is not a terminal)




6. Re: Reveter comandos que ferraram meu apt-get update

Vilma
vilmah

(usa Debian)

Enviado em 29/05/2019 - 17:02h

pessoal aqui não respondeu, mas o problema estavam nas lists:
lutris e playonlinux, qm tiver com problemas é só remover as duas, deu algum problema nelas.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts