O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

13. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

Maria
Alayse11

(usa Ubuntu)

Enviado em 07/08/2020 - 13:48h

Pebis escreveu:


Alayse11 escreveu:

Carlos_Cunha escreveu:

Eu ainda não entendi o que vc chamava de problema, mas se resolveu blz hehe
Marque como resolvido e se teve alguma das respostas dada que foi a melhor.

#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#


Desculpe, mas eu não sei como marco como resolvido e melhor resposta. Como é? 😁


Jovem... seus repositórios estão uma zona... O que são esses repositórios do 16 aí?

Obter:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Obter:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]


Mas não sei como adicionar somente os repositórios do Ubuntu 20.04
Já editei várias vezes a source.list e removi e adicionei vários repositórios, como disse sou iniciante e não entendo muito de Linux. Toda ajuda é bem vinda.


  


14. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

josinaldo
-josinaldo-

(usa KUbuntu)

Enviado em 07/08/2020 - 14:18h

Alayse11 escreveu:

Pebis escreveu:


Alayse11 escreveu:

Carlos_Cunha escreveu:

Eu ainda não entendi o que vc chamava de problema, mas se resolveu blz hehe
Marque como resolvido e se teve alguma das respostas dada que foi a melhor.

#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#


Desculpe, mas eu não sei como marco como resolvido e melhor resposta. Como é? 😁


Jovem... seus repositórios estão uma zona... O que são esses repositórios do 16 aí?

Obter:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Obter:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]


Mas não sei como adicionar somente os repositórios do Ubuntu 20.04
Já editei várias vezes a source.list e removi e adicionei vários repositórios, como disse sou iniciante e não entendo muito de Linux. Toda ajuda é bem vinda.


Poste a saída desses comandos:

lsb_release -a
uname -a
sudo egrep -h -v '(^#)|(^$)' /etc/apt/sources.list $(ls /etc/apt/sources.list.d/*.list 2> /dev/null)




15. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

Maria
Alayse11

(usa Ubuntu)

Enviado em 07/08/2020 - 15:35h

-josinaldo- escreveu:

Alayse11 escreveu:

Pebis escreveu:


Alayse11 escreveu:

Carlos_Cunha escreveu:

Eu ainda não entendi o que vc chamava de problema, mas se resolveu blz hehe
Marque como resolvido e se teve alguma das respostas dada que foi a melhor.

#-------------------------------------------------------------------------------------#
"Falar é fácil, me mostre o código." - Linus Torvalds
#-------------------------------------------------------------------------------------#


Desculpe, mas eu não sei como marco como resolvido e melhor resposta. Como é? 😁


Jovem... seus repositórios estão uma zona... O que são esses repositórios do 16 aí?

Obter:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Obter:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]


Mas não sei como adicionar somente os repositórios do Ubuntu 20.04
Já editei várias vezes a source.list e removi e adicionei vários repositórios, como disse sou iniciante e não entendo muito de Linux. Toda ajuda é bem vinda.


Poste a saída desses comandos:

lsb_release -a
uname -a
sudo egrep -h -v '(^#)|(^$)' /etc/apt/sources.list $(ls /etc/apt/sources.list.d/*.list 2> /dev/null)



Está aí:

alayse@Luna:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
alayse@Luna:~$ uname -a
Linux Luna 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
alayse@Luna:~$ sudo egrep -h -v '(^#)|(^$)' /etc/apt/sources.list $(ls /etc/apt/sources.list.d/*.list 2> /dev/null)
[sudo] senha para alayse:
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb http://linux.teamviewer.com/deb stable main
deb http://linux.teamviewer.com/deb preview main



16. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

Paulo Jr
Pebis

(usa Debian)

Enviado em 07/08/2020 - 17:13h


Veja como ter repositórios novinhos do Ubuntu

https://www.it-swarm.dev/pt/repository/como-faco-para-restaurar-os-repositorios-padrao/959757949/


17. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

josinaldo
-josinaldo-

(usa KUbuntu)

Enviado em 07/08/2020 - 18:21h

[/quote]

Está aí:

alayse@Luna:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
alayse@Luna:~$ uname -a
Linux Luna 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
alayse@Luna:~$ sudo egrep -h -v '(^#)|(^$)' /etc/apt/sources.list $(ls /etc/apt/sources.list.d/*.list 2> /dev/null)
[sudo] senha para alayse:
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb http://linux.teamviewer.com/deb stable main
deb http://linux.teamviewer.com/deb preview main
[/quote]

Vocẽ não deveria ter adicionado o repositório do Ubuntu 16.04 no Ubuntu 20.04, isso pode quebra e/ou dar conflito entre pacotes.
Só adicione repositórios de terceiro se tiver a real necessidade de uso dos mesmos.

A única linha referente ao repositório da versão em uso é esta:
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse

ta incompleto..

Vamos refazer sua source.list, digite os comandos em sequencia, não vai ter erro:

sudo rm -fr /etc/apt/*sources.list*

sudo rm /var/lib/apt/lists/*

sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu focal partner" >> /etc/apt/sources.list'

sudo apt update

wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo add-apt-repository ppa:ondrej/php -y





18. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

Maria
Alayse11

(usa Ubuntu)

Enviado em 07/08/2020 - 18:29h

-josinaldo- escreveu:



Está aí:

alayse@Luna:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
alayse@Luna:~$ uname -a
Linux Luna 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
alayse@Luna:~$ sudo egrep -h -v '(^#)|(^$)' /etc/apt/sources.list $(ls /etc/apt/sources.list.d/*.list 2> /dev/null)
[sudo] senha para alayse:
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb http://linux.teamviewer.com/deb stable main
deb http://linux.teamviewer.com/deb preview main
[/quote]

Vocẽ não deveria ter adicionado o repositório do Ubuntu 16.04 no Ubuntu 20.04, isso pode quebra e/ou dar conflito entre pacotes.
Só adicione repositórios de terceiro se tiver a real necessidade de uso dos mesmos.

A única linha referente ao repositório da versão em uso é esta:
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse

ta incompleto..

Vamos refazer sua source.list, digite os comandos em sequencia, não vai ter erro:

sudo rm -fr /etc/apt/*sources.list*

sudo rm /var/lib/apt/lists/*

sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu focal partner" >> /etc/apt/sources.list'

sudo apt update

wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo add-apt-repository ppa:ondrej/php -y


[/quote]

Deu isso>>

alayse@Luna:~$ sudo rm -fr /etc/apt/*sources.list*
[sudo] senha para alayse:
alayse@Luna:~$ sudo rm /var/lib/apt/lists/*
rm: não foi possível remover '/var/lib/apt/lists/auxfiles': É um diretório
rm: não foi possível remover '/var/lib/apt/lists/partial': É um diretório
alayse@Luna:~$


19. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

josinaldo
-josinaldo-

(usa KUbuntu)

Enviado em 07/08/2020 - 18:40h


Alayse11 escreveu:

-josinaldo- escreveu:



Está aí:

alayse@Luna:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
alayse@Luna:~$ uname -a
Linux Luna 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
alayse@Luna:~$ sudo egrep -h -v '(^#)|(^$)' /etc/apt/sources.list $(ls /etc/apt/sources.list.d/*.list 2> /dev/null)
[sudo] senha para alayse:
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb http://linux.teamviewer.com/deb stable main
deb http://linux.teamviewer.com/deb preview main


Vocẽ não deveria ter adicionado o repositório do Ubuntu 16.04 no Ubuntu 20.04, isso pode quebra e/ou dar conflito entre pacotes.
Só adicione repositórios de terceiro se tiver a real necessidade de uso dos mesmos.

A única linha referente ao repositório da versão em uso é esta:
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse

ta incompleto..

Vamos refazer sua source.list, digite os comandos em sequencia, não vai ter erro:

sudo rm -fr /etc/apt/*sources.list*

sudo rm /var/lib/apt/lists/*

sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu focal partner" >> /etc/apt/sources.list'

sudo apt update

wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo add-apt-repository ppa:ondrej/php -y


[/quote]

Deu isso>>

alayse@Luna:~$ sudo rm -fr /etc/apt/*sources.list*
[sudo] senha para alayse:
alayse@Luna:~$ sudo rm /var/lib/apt/lists/*
rm: não foi possível remover '/var/lib/apt/lists/auxfiles': É um diretório
rm: não foi possível remover '/var/lib/apt/lists/partial': É um diretório
alayse@Luna:~$ [/quote]

Digite todos os comandos novamente, ignore qualquer mensagem de erro.
sudo rm /var/lib/apt/lists/* foi para remover o arquivos temporários baixados pelo apt.
ok?



20. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

josinaldo
-josinaldo-

(usa KUbuntu)

Enviado em 07/08/2020 - 18:51h

poste

cat /etc/apt/sources.list

depois roda esses comandos

sudo apt update

wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo add-apt-repository ppa:ondrej/php -y

Insira sua senha sempre q pedir



21. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

Maria
Alayse11

(usa Ubuntu)

Enviado em 07/08/2020 - 18:57h

-josinaldo- escreveu:


Alayse11 escreveu:

-josinaldo- escreveu:



Está aí:

alayse@Luna:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
alayse@Luna:~$ uname -a
Linux Luna 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
alayse@Luna:~$ sudo egrep -h -v '(^#)|(^$)' /etc/apt/sources.list $(ls /etc/apt/sources.list.d/*.list 2> /dev/null)
[sudo] senha para alayse:
deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu focal main
deb http://linux.teamviewer.com/deb stable main
deb http://linux.teamviewer.com/deb preview main


Vocẽ não deveria ter adicionado o repositório do Ubuntu 16.04 no Ubuntu 20.04, isso pode quebra e/ou dar conflito entre pacotes.
Só adicione repositórios de terceiro se tiver a real necessidade de uso dos mesmos.

A única linha referente ao repositório da versão em uso é esta:
deb http://archive.ubuntu.com/ubuntu focal main universe restricted multiverse

ta incompleto..

Vamos refazer sua source.list, digite os comandos em sequencia, não vai ter erro:

sudo rm -fr /etc/apt/*sources.list*

sudo rm /var/lib/apt/lists/*

sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu focal partner" >> /etc/apt/sources.list'

sudo apt update

wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo add-apt-repository ppa:ondrej/php -y




Deu isso>>

alayse@Luna:~$ sudo rm -fr /etc/apt/*sources.list*
[sudo] senha para alayse:
alayse@Luna:~$ sudo rm /var/lib/apt/lists/*
rm: não foi possível remover '/var/lib/apt/lists/auxfiles': É um diretório
rm: não foi possível remover '/var/lib/apt/lists/partial': É um diretório
alayse@Luna:~$ [/quote]

Digite todos os comandos novamente, ignore qualquer mensagem de erro.
sudo rm /var/lib/apt/lists/* foi para remover o arquivos temporários baixados pelo apt.
ok?
[/quote]

A saída de todos os comandos.

alayse@Luna:~$ sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
> deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
> deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
> deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal-proposed main restricted universe multiverse
> deb http://us.archive.ubuntu.com/ubuntu/">http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
> deb http://archive.canonical.com/ubuntu focal partner" >> /etc/apt/sources.list'
alayse@Luna:~$ sudo apt update
Obter:1 http://archive.canonical.com/ubuntu focal InRelease [12,1 kB]
Obter:2 http://us.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Obter:3 http://archive.canonical.com/ubuntu focal/partner i386 Packages [1.620 B]
Obter:4 http://archive.canonical.com/ubuntu focal/partner amd64 Packages [1.596 B]
Obter:5 http://archive.canonical.com/ubuntu focal/partner Translation-en [804 B]
Obter:6 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Obter:7 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Obter:8 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease [265 kB]
Obter:9 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98,3 kB]
Obter:10 http://us.archive.ubuntu.com/ubuntu focal/main i386 Packages [718 kB]
Obter:11 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
Obter:12 http://us.archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
Obter:13 http://us.archive.ubuntu.com/ubuntu focal/main Translation-pt [166 kB]
Obter:14 http://us.archive.ubuntu.com/ubuntu focal/main Translation-pt_BR [287 kB]
Obter:15 http://us.archive.ubuntu.com/ubuntu focal/main amd64 DEP-11 Metadata [494 kB]
Obter:16 http://us.archive.ubuntu.com/ubuntu focal/main DEP-11 48x48 Icons [98,4 kB]
Obter:17 http://us.archive.ubuntu.com/ubuntu focal/main DEP-11 64x64 Icons [163 kB]
Obter:18 http://us.archive.ubuntu.com/ubuntu focal/main DEP-11 64x64@2 Icons [15,8 kB]
Obter:19 http://us.archive.ubuntu.com/ubuntu focal/main DEP-11 128x128 Icons [367 kB]
Obter:20 http://us.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29,5 kB]
Obter:21 http://us.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22,0 kB]
Obter:22 http://us.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [8.112 B]
Obter:23 http://us.archive.ubuntu.com/ubuntu focal/restricted Translation-pt_BR [1.308 B]
Obter:24 http://us.archive.ubuntu.com/ubuntu focal/restricted Translation-pt [1.300 B]
Obter:25 http://us.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6.212 B]
Obter:26 http://us.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
Obter:27 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages [4.642 kB]
Obter:28 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8.628 kB]
Obter:29 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-en [5.124 kB]
Obter:30 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-pt [794 kB]
Obter:31 http://us.archive.ubuntu.com/ubuntu focal/universe Translation-pt_BR [1.016 kB]
Obter:32 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 DEP-11 Metadata [3.603 kB]
Obter:33 http://us.archive.ubuntu.com/ubuntu focal/universe DEP-11 48x48 Icons [3.016 kB]
Obter:34 http://us.archive.ubuntu.com/ubuntu focal/universe DEP-11 64x64 Icons [7.794 kB]
Obter:35 http://us.archive.ubuntu.com/ubuntu focal/universe DEP-11 64x64@2 Icons [44,3 kB]
Obter:36 http://us.archive.ubuntu.com/ubuntu focal/universe DEP-11 128x128 Icons [14,3 MB]
Obter:37 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
Obter:38 http://us.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
Obter:39 http://us.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [74,7 kB]
Obter:40 http://us.archive.ubuntu.com/ubuntu focal/multiverse Translation-pt_BR [18,5 kB]
Obter:41 http://us.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
Obter:42 http://us.archive.ubuntu.com/ubuntu focal/multiverse Translation-pt [8.348 B]
Obter:43 http://us.archive.ubuntu.com/ubuntu focal/multiverse amd64 DEP-11 Metadata [48,4 kB]
Obter:44 http://us.archive.ubuntu.com/ubuntu focal/multiverse DEP-11 48x48 Icons [23,1 kB]
Obter:45 http://us.archive.ubuntu.com/ubuntu focal/multiverse DEP-11 64x64 Icons [192 kB]
Obter:46 http://us.archive.ubuntu.com/ubuntu focal/multiverse DEP-11 64x64@2 Icons [214 B]
Obter:47 http://us.archive.ubuntu.com/ubuntu focal/multiverse DEP-11 128x128 Icons [326 kB]
Obter:48 http://us.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9.136 B]
Obter:49 http://us.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [157 kB]
Obter:50 http://us.archive.ubuntu.com/ubuntu focal-security/main i386 Packages [59,5 kB]
Obter:51 http://us.archive.ubuntu.com/ubuntu focal-security/main Translation-en [56,4 kB]
Obter:52 http://us.archive.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [21,2 kB]
Obter:53 http://us.archive.ubuntu.com/ubuntu focal-security/main DEP-11 48x48 Icons [8.330 B]
Obter:54 http://us.archive.ubuntu.com/ubuntu focal-security/main DEP-11 64x64 Icons [12,1 kB]
Obter:55 http://us.archive.ubuntu.com/ubuntu focal-security/main DEP-11 64x64@2 Icons [29 B]
Obter:56 http://us.archive.ubuntu.com/ubuntu focal-security/main DEP-11 128x128 Icons [27,9 kB]
Obter:57 http://us.archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [3.952 B]
Obter:58 http://us.archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [29,2 kB]
Obter:59 http://us.archive.ubuntu.com/ubuntu focal-security/restricted i386 Packages [6.356 B]
Obter:60 http://us.archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [7.732 B]
Obter:61 http://us.archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [324 B]
Obter:62 http://us.archive.ubuntu.com/ubuntu focal-security/universe i386 Packages [23,9 kB]
Obter:63 http://us.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [52,2 kB]
Obter:64 http://us.archive.ubuntu.com/ubuntu focal-security/universe Translation-en [26,6 kB]
Obter:65 http://us.archive.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [36,0 kB]
Obter:66 http://us.archive.ubuntu.com/ubuntu focal-security/universe DEP-11 48x48 Icons [7.192 B]
Obter:67 http://us.archive.ubuntu.com/ubuntu focal-security/universe DEP-11 64x64 Icons [10,1 kB]
Obter:68 http://us.archive.ubuntu.com/ubuntu focal-security/universe DEP-11 64x64@2 Icons [29 B]
Obter:69 http://us.archive.ubuntu.com/ubuntu focal-security/universe DEP-11 128x128 Icons [11,2 kB]
Obter:70 http://us.archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [2.108 B]
Obter:71 http://us.archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [1.172 B]
Obter:72 http://us.archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [540 B]
Obter:73 http://us.archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [116 B]
Obter:74 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [190 kB]
Obter:75 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [318 kB]
Obter:76 http://us.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [119 kB]
Obter:77 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [196 kB]
Obter:78 http://us.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [46,3 kB]
Obter:79 http://us.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [70,6 kB]
Obter:80 http://us.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64@2 Icons [29 B]
Obter:81 http://us.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 128x128 Icons [156 kB]
Obter:82 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [8.160 B]
Obter:83 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [6.356 B]
Obter:84 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [29,2 kB]
Obter:85 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [7.732 B]
Obter:86 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [324 B]
Obter:87 http://us.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [82,4 kB]
Obter:88 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [149 kB]
Obter:89 http://us.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [74,3 kB]
Obter:90 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [177 kB]
Obter:91 http://us.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 48x48 Icons [92,2 kB]
Obter:92 http://us.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64 Icons [159 kB]
Obter:93 http://us.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64@2 Icons [29 B]
Obter:94 http://us.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 128x128 Icons [387 kB]
Obter:95 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [5.060 B]
Obter:96 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [3.312 B]
Obter:97 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [11,6 kB]
Obter:98 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [3.892 B]
Obter:99 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2.468 B]
Obter:100 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 48x48 Icons [29 B]
Obter:101 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64 Icons [2.638 B]
Obter:102 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64@2 Icons [29 B]
Obter:103 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 128x128 Icons [29 B]
Obter:104 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [480 B]
Obter:105 http://us.archive.ubuntu.com/ubuntu focal-proposed/main i386 Packages [19,8 kB]
Obter:106 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages [46,0 kB]
Obter:107 http://us.archive.ubuntu.com/ubuntu focal-proposed/main Translation-pt_BR [287 kB]
Obter:108 http://us.archive.ubuntu.com/ubuntu focal-proposed/main Translation-en [22,9 kB]
Obter:109 http://us.archive.ubuntu.com/ubuntu focal-proposed/main Translation-pt [166 kB]
Obter:110 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 DEP-11 Metadata [14,9 kB]
Obter:111 http://us.archive.ubuntu.com/ubuntu focal-proposed/main DEP-11 48x48 Icons [4.845 B]
Obter:112 http://us.archive.ubuntu.com/ubuntu focal-proposed/main DEP-11 64x64 Icons [6.357 B]
Obter:113 http://us.archive.ubuntu.com/ubuntu focal-proposed/main DEP-11 64x64@2 Icons [29 B]
Obter:114 http://us.archive.ubuntu.com/ubuntu focal-proposed/main DEP-11 128x128 Icons [8.965 B]
Obter:115 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 c-n-f Metadata [1.404 B]
Obter:116 http://us.archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 Packages [3.556 B]
Obter:117 http://us.archive.ubuntu.com/ubuntu focal-proposed/restricted Translation-pt_BR [1.308 B]
Obter:118 http://us.archive.ubuntu.com/ubuntu focal-proposed/restricted Translation-en [1.216 B]
Obter:119 http://us.archive.ubuntu.com/ubuntu focal-proposed/restricted Translation-pt [1.300 B]
Obter:120 http://us.archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 c-n-f Metadata [116 B]
Obter:121 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe i386 Packages [13,1 kB]
Obter:122 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe amd64 Packages [47,0 kB]
Obter:123 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe Translation-pt [794 kB]
Obter:124 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe Translation-en [28,0 kB]
Obter:125 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe Translation-pt_BR [1.016 kB]
Obter:126 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe amd64 DEP-11 Metadata [58,7 kB]
Obter:127 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe DEP-11 48x48 Icons [11,5 kB]
Obter:128 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe DEP-11 64x64 Icons [25,8 kB]
Obter:129 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe DEP-11 64x64@2 Icons [29 B]
Obter:130 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe DEP-11 128x128 Icons [39,3 kB]
Obter:131 http://us.archive.ubuntu.com/ubuntu focal-proposed/universe amd64 c-n-f Metadata [1.836 B]
Obter:132 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse i386 Packages [5.932 B]
Obter:133 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 Packages [672 B]
Obter:134 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse Translation-en [3.492 B]
Obter:135 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse Translation-pt [8.348 B]
Obter:136 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse Translation-pt_BR [18,5 kB]
Obter:137 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 DEP-11 Metadata [2.468 B]
Obter:138 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse DEP-11 48x48 Icons [29 B]
Obter:139 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse DEP-11 64x64 Icons [2.638 B]
Obter:140 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse DEP-11 64x64@2 Icons [29 B]
Obter:141 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse DEP-11 128x128 Icons [29 B]
Obter:142 http://us.archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 c-n-f Metadata [188 B]
Obter:143 http://us.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [112 B]
Obter:144 http://us.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
Obter:145 http://us.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [2.268 B]
Obter:146 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [3.096 B]
Obter:147 http://us.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [1.448 B]
Obter:148 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1.972 B]
Obter:149 http://us.archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 48x48 Icons [2.809 B]
Obter:150 http://us.archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 64x64 Icons [3.943 B]
Obter:151 http://us.archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 64x64@2 Icons [29 B]
Obter:152 http://us.archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 128x128 Icons [6.807 B]
Obter:153 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [224 B]
Obter:154 http://us.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
Baixados 60,4 MB em 47s (1.298 kB/s)
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
66 packages can be upgraded. Run 'apt list --upgradable' to see them.
alayse@Luna:~$ wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add
--2020-08-07 18:51:50-- https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc
Resolvendo download.teamviewer.com (download.teamviewer.com)... 104.16.62.16, 104.16.63.16, 2606:4700::6810:3e10, ...
Conectando-se a download.teamviewer.com (download.teamviewer.com)|104.16.62.16|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 302 Found
Localização: https://dl.teamviewer.com/download/linux/signature/TeamViewer2017.asc [redirecionando]
--2020-08-07 18:51:50-- https://dl.teamviewer.com/download/linux/signature/TeamViewer2017.asc
Resolvendo dl.teamviewer.com (dl.teamviewer.com)... 104.16.62.16, 104.16.63.16, 2606:4700::6810:3e10, ...
Conectando-se a dl.teamviewer.com (dl.teamviewer.com)|104.16.62.16|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 3132 (3,1K) [text/plain]
Salvando em: “STDOUT”

- 100%[===================>] 3,06K --.-KB/s em 0s

2020-08-07 18:51:50 (10,6 MB/s) - escrito para a saída padrão [3132/3132]

OK
alayse@Luna:~$ sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'
sh: 1: cannot create /etc/apt/sources.list.d/teamviewer.list: Directory nonexistent
alayse@Luna:~$ sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list
>
>
alayse@Luna:~$ sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'
[sudo] senha para alayse:
sh: 1: cannot create /etc/apt/sources.list.d/teamviewer.list: Directory nonexistent
alayse@Luna:~$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add
OK
alayse@Luna:~$ sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sh: 1: cannot create /etc/apt/sources.list.d/google-chrome.list: Directory nonexistent
alayse@Luna:~$ sudo add-apt-repository ppa:ondrej/php -y
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 186, in <module>
if not sp.add_source_from_shortcut(shortcut, options.enable_source):
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 773, in add_source_from_shortcut
self.set_modified_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 498, in set_modified_sourceslist
self.save_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 664, in save_sourceslist
self.sourceslist.save()
File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 430, in save
files[source.file] = open(source.file, "w")
FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: '/etc/apt/sources.list.d/ondrej-ubuntu-php-focal.list'
alayse@Luna:~$




22. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

josinaldo
-josinaldo-

(usa KUbuntu)

Enviado em 07/08/2020 - 19:01h

sudo mkdir /etc/apt/sources.list.d

depois rode os comandos novamente

wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo add-apt-repository ppa:ondrej/php -y



23. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

Maria
Alayse11

(usa Ubuntu)

Enviado em 07/08/2020 - 19:06h

-josinaldo- escreveu:

sudo mkdir /etc/apt/sources.list.d

depois rode os comandos novamente

wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/">http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo add-apt-repository ppa:ondrej/php -y


Pronto

alayse@Luna:~$ sudo mkdir /etc/apt/sources.list.d
mkdir: não foi possível criar o diretório “/etc/apt/sources.list.d”: Arquivo existe
alayse@Luna:~$ wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -
--2020-08-07 19:04:52-- https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc
Resolvendo download.teamviewer.com (download.teamviewer.com)... 104.16.63.16, 104.16.62.16, 2606:4700::6810:3e10, ...
Conectando-se a download.teamviewer.com (download.teamviewer.com)|104.16.63.16|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 302 Found
Localização: https://dl.teamviewer.com/download/linux/signature/TeamViewer2017.asc [redirecionando]
--2020-08-07 19:04:52-- https://dl.teamviewer.com/download/linux/signature/TeamViewer2017.asc
Resolvendo dl.teamviewer.com (dl.teamviewer.com)... 104.16.63.16, 104.16.62.16, 2606:4700::6810:3e10, ...
Conectando-se a dl.teamviewer.com (dl.teamviewer.com)|104.16.63.16|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 3132 (3,1K) [text/plain]
Salvando em: “STDOUT”

- 100%[===================>] 3,06K --.-KB/s em 0s

2020-08-07 19:04:53 (12,4 MB/s) - escrito para a saída padrão [3132/3132]

OK
alayse@Luna:~$ sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'
alayse@Luna:~$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
OK
alayse@Luna:~$ sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/">http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
alayse@Luna:~$ sudo add-apt-repository ppa:ondrej/php -y
Obter:1 http://linux.teamviewer.com/deb stable InRelease [11,0 kB]
Obter:2 http://dl.google.com/linux/chrome/deb stable InRelease [1.811 B]
Atingido:3 http://us.archive.ubuntu.com/ubuntu focal InRelease
Atingido:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Atingido:5 http://archive.canonical.com/ubuntu focal InRelease
Obter:6 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1.150 B]
Obter:7 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease [23,9 kB]
Atingido:8 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Obter:9 http://linux.teamviewer.com/deb stable/main i386 Packages [6.820 B]
Obter:10 http://linux.teamviewer.com/deb stable/main amd64 Packages [7.036 B]
Atingido:11 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease
Atingido:12 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Obter:13 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages [46,0 kB]
Obter:14 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main i386 Packages [19,2 kB]
Obter:15 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main Translation-en [20,9 kB]
Baixados 138 kB em 4s (34,0 kB/s)
Lendo listas de pacotes... Pronto
alayse@Luna:~$


24. Re: O apt update dando obter repositórios mas não atualiza os mesmos [RESOLVIDO]

Maria
Alayse11

(usa Ubuntu)

Enviado em 07/08/2020 - 20:08h

-josinaldo- escreveu:

Ta resolvido,

rode sudo apt full-upgrade para atualizar seu sistema depois reinicie.

ao iniciar sudo apt clean
pronto..


Ok. Muito obrigada a todos pela ajuda!



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts