Erro ao atualizar XUbuntu 20.04

1. Erro ao atualizar XUbuntu 20.04

Eurico Neto
EuricoNT

(usa XUbuntu)

Enviado em 09/09/2022 - 00:49h

Galera me lasquei.
Quando dou o comando apt-get update saí isso aqui ó:

sudo apt-get update
Atingido:1 http://dl.google.com/linux/chrome/deb stable InRelease
Atingido:2 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Ign:3 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
Atingido:4 https://deb.opera.com/opera-developer stable InRelease
Atingido:5 https://deb.opera.com/opera-stable stable InRelease
Atingido:6 http://archive.ubuntu.com/ubuntu focal InRelease
Atingido:7 http://cz.archive.ubuntu.com/ubuntu focal InRelease
Atingido:8 http://br.archive.ubuntu.com/ubuntu focal InRelease
Atingido:9 http://archive.canonical.com/ubuntu bionic InRelease
Ign:10 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 InRelease
Atingido:11 http://repository.spotify.com stable InRelease
Atingido:12 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Atingido:13 https://download.sublimetext.com apt/stable/ InRelease
Atingido:14 http://ppa.launchpad.net/dhor/myway/ubuntu focal InRelease
Atingido:15 https://dbeaver.io/debs/dbeaver-ce InRelease
Obter:16 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Atingido:17 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release
Atingido:18 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Atingido:19 http://security.ubuntu.com/ubuntu bionic-security InRelease
Atingido:20 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease
Atingido:21 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 Release
Atingido:22 https://packages.microsoft.com/repos/vscode stable InRelease
Atingido:23 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease
Atingido:24 http://security.ubuntu.com/ubuntu focal-security InRelease
Atingido:25 http://ppa.launchpad.net/linuxuprising/java/ubuntu focal InRelease
Atingido:26 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Atingido:27 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease
Obter:28 http://br.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Obter:31 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Obter:32 http://br.archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB]
Baixados 539 kB em 5s (102 kB/s)
Traceback (most recent call last):
File "/usr/bin/debtags", line 700, in <module>
main()
File "/usr/bin/debtags", line 694, in main
sys.exit(action.main(args))
File "/usr/bin/debtags", line 632, in main
for pkg, tags in self.tags_from_apt():
File "/usr/bin/debtags", line 256, in tags_from_apt
cache = self.apt_cache
File "/usr/bin/debtags", line 241, in apt_cache
res = self._apt_cache = apt.Cache()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 170, in __init__
self.open(progress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 232, in open
self._cache = apt_pkg.Cache(progress)
apt_pkg.Error: E:flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory), E:Could not open file - open (2: No such file or directory), E:Problem opening , E:The package lists or status file could not be parsed or opened.
Lendo listas de pacotes... Erro!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: Arquivo ou diretório inexistente)
E: Não foi possível abrir arquivo - open (2: Arquivo ou diretório inexistente)
E: Problem opening
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.

E não consigo fazer mais nada. Sem update, nem upgrade. Já dei clean, vi o dpkg e nada.
Não quero instalar tudo do zedo.
Alguém pra me dar uma luz?





  


2. Erro ao atualizar

Perfil removido
removido

(usa Nenhuma)

Enviado em 09/09/2022 - 06:31h

Amigo remove esses ppa. E ao que parece vc misturou o coisa do Ubuntu Bionic e Focal, mas posso estar errado. Tenta remover os ppa depois atualiza de novo.


3. Re: Erro ao atualizar XUbuntu 20.04

Jbaf68
Jbaf

(usa XUbuntu)

Enviado em 09/09/2022 - 09:43h


EuricoNT escreveu:

Galera me lasquei.
Quando dou o comando apt-get update saí isso aqui ó:

sudo apt-get update
Atingido:1 http://dl.google.com/linux/chrome/deb stable InRelease
Atingido:2 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Ign:3 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
Atingido:4 https://deb.opera.com/opera-developer stable InRelease
Atingido:5 https://deb.opera.com/opera-stable stable InRelease
Atingido:6 http://archive.ubuntu.com/ubuntu focal InRelease
Atingido:7 http://cz.archive.ubuntu.com/ubuntu focal InRelease
Atingido:8 http://br.archive.ubuntu.com/ubuntu focal InRelease
Atingido:9 http://archive.canonical.com/ubuntu bionic InRelease
Ign:10 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 InRelease
Atingido:11 http://repository.spotify.com stable InRelease
Atingido:12 http://archive.ubuntu.com/ubuntu focal-updates InRelease
********** [b]Atingido:13 https://download.sublimetext.com apt/stable/ InRelease ===>>> Essa página não mais existe!!![/b]
Atingido:14 http://ppa.launchpad.net/dhor/myway/ubuntu focal InRelease
Atingido:15 https://dbeaver.io/debs/dbeaver-ce InRelease
Obter:16 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Atingido:17 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release
Atingido:18 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Atingido:19 http://security.ubuntu.com/ubuntu bionic-security InRelease
Atingido:20 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease
Atingido:21 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 Release
Atingido:22 https://packages.microsoft.com/repos/vscode stable InRelease
Atingido:23 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease
Atingido:24 http://security.ubuntu.com/ubuntu focal-security InRelease
Atingido:25 http://ppa.launchpad.net/linuxuprising/java/ubuntu focal InRelease
Atingido:26 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Atingido:27 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease
Obter:28 http://br.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Obter:31 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Obter:32 http://br.archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB]
Baixados 539 kB em 5s (102 kB/s)
Traceback (most recent call last):
File "/usr/bin/debtags", line 700, in <module>
main()
File "/usr/bin/debtags", line 694, in main
sys.exit(action.main(args))
File "/usr/bin/debtags", line 632, in main
for pkg, tags in self.tags_from_apt():
File "/usr/bin/debtags", line 256, in tags_from_apt
cache = self.apt_cache
File "/usr/bin/debtags", line 241, in apt_cache
res = self._apt_cache = apt.Cache()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 170, in __init__
self.open(progress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 232, in open
self._cache = apt_pkg.Cache(progress)
apt_pkg.Error: E:flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory), E:Could not open file - open (2: No such file or directory), E:Problem opening , E:The package lists or status file could not be parsed or opened.
Lendo listas de pacotes... Erro!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: Arquivo ou diretório inexistente)
E: Não foi possível abrir arquivo - open (2: Arquivo ou diretório inexistente)
E: Problem opening
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.

E não consigo fazer mais nada. Sem update, nem upgrade. Já dei clean, vi o dpkg e nada.
Não quero instalar tudo do zedo.
Alguém pra me dar uma luz?







4. Re: Erro ao atualizar XUbuntu 20.04

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 09/09/2022 - 15:42h

Qual nome e versão do seu Linux?
Vc está usando repositórios de versões diferentes.
Vá em programas e atualizações, outros programas e remova tudo que seja da versão que vc usa.



5. Re: Erro ao atualizar XUbuntu 20.04

Eurico Neto
EuricoNT

(usa XUbuntu)

Enviado em 09/09/2022 - 16:09h

Quando eu tento remover os repositórios sugeridos ou qualquer outro dá o seguinte erro:






6. Re: Erro ao atualizar XUbuntu 20.04

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 09/09/2022 - 16:56h



Poste saída do comando: lsb_release -a




7. Re: Erro ao atualizar XUbuntu 20.04

Eurico Neto
EuricoNT

(usa XUbuntu)

Enviado em 09/09/2022 - 16:58h

Uso o Ubuntu

eurico@eurico-Inspiron-5437:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal





8. Re: Erro ao atualizar XUbuntu 20.04

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 10/09/2022 - 02:52h

-programas/atualizações >> outros/programas >> desmarque tudo que não seja do ubuntu/focal >> tente novamente



9. Re: Erro ao atualizar XUbuntu 20.04

Eurico Neto
EuricoNT

(usa XUbuntu)

Enviado em 10/09/2022 - 02:56h


Quando eu tento desmarcar os pacotes dá isso aqui:



10. Re: Erro ao atualizar XUbuntu 20.04

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 10/09/2022 - 15:43h


EuricoNT escreveu:


Quando eu tento desmarcar os pacotes dá isso aqui:


Tenta num terminal (com todos os programas gráficos de controle de pacotes fechados)

sudo apt autoremove
depois abre o sistema de gerenciamento e tenta instalar/desinstalar



11. Re: Erro ao atualizar XUbuntu 20.04

Eurico Neto
EuricoNT

(usa XUbuntu)

Enviado em 10/09/2022 - 20:55h


Mesmo com tudo fechado ainda dá o erro:



12. Re: Erro ao atualizar XUbuntu 20.04

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 10/09/2022 - 23:00h

sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
sudo apt-get update
sudo apt-get upgrade





01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts