Alguma coisa a ver com python

1. Alguma coisa a ver com python

Ta_PegandoFogo
Ta_PegandoFogo

(usa Arch Linux)

Enviado em 09/11/2021 - 16:46h

Boa tarde amigos.
Estou com um problema aqui que está me dando um pouco de dor de cabeça.
Um dia eu fui ligar o computador e ele simplesmente não ligou porque corrompeu alguma coisa. Ficou tela preta com algumas letras e falava pra correr o fsck manualmente. Pois bem, desliguei ele, coloquei o live-cd do arch e rodei o fsck, até que o negócio falou que resolveu o problema. Dei reboot e quando liguei o computador me aparece isto uma bolinha vermelha com um menos no canto superior direito da tela, e fala "um problema ocorreu ao verificar as atualizações". E o mais estranho: quando digito qualquer coisa no terminal acontece isto:

vinicius@Ta-PegandoFogo ~> senwocmwjfiv
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 28, in <module>
from CommandNotFound import CommandNotFound
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 12, in <module>
import logging
File "/usr/lib/python3.9/logging/__init__.py", line 26, in <module>
import sys, os, time, io, re, traceback, warnings, weakref, collections.abc
File "/usr/lib/python3.9/traceback.py", line 5, in <module>
import linecache
File "/usr/lib/python3.9/linecache.py", line 11, in <module>
import tokenize
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 846, in exec_module
File "<frozen importlib._bootstrap_external>", line 978, in get_code
File "<frozen importlib._bootstrap_external>", line 647, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 71, in apport_excepthook
import re, traceback
File "/usr/lib/python3.9/traceback.py", line 5, in <module>
import linecache
File "/usr/lib/python3.9/linecache.py", line 11, in <module>
import tokenize
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 846, in exec_module
File "<frozen importlib._bootstrap_external>", line 978, in get_code
File "<frozen importlib._bootstrap_external>", line 647, in _compile_bytecode
ValueError: bad marshal data (unknown type code)

Original exception was:
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 28, in <module>
from CommandNotFound import CommandNotFound
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 12, in <module>
import logging
File "/usr/lib/python3.9/logging/__init__.py", line 26, in <module>
import sys, os, time, io, re, traceback, warnings, weakref, collections.abc
File "/usr/lib/python3.9/traceback.py", line 5, in <module>
import linecache
File "/usr/lib/python3.9/linecache.py", line 11, in <module>
import tokenize
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 846, in exec_module
File "<frozen importlib._bootstrap_external>", line 978, in get_code
File "<frozen importlib._bootstrap_external>", line 647, in _compile_bytecode
ValueError: bad marshal data (unknown type code)

E quando uso o apt aparece isso aqui de cima e também isto aqui:
Lendo listas de pacotes... Pronto
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error cod

E o mais estranho de tudo: Às vezes tudo volta ao normal como se nada tivesse acontecido

Linux Versão 5.13.0-20-generic, Compilado #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2
Dois 1GHz AMD C-60 Processadores, 3,4GB RAM, 4k Bogomips
Ta-PegandoFogo

Obs.: E o computador nem é tão antigo assim, é de 2012 (só tá meio malcuidado)



  


2. Re: Alguma coisa a ver com python

Osama Jr.
/bin/laden

(usa Void Linux)

Enviado em 10/11/2021 - 11:43h

Tá com cara de que o HD dessa máquina tá querendo te deixar.


--------------------------------------------------
echo 1244394795515721490698P | dc






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts