Enviado em 10/07/2020 - 19:05h
Estava tentando remover a versão 3.8 do python já que não tinha nenhum dependência ligada a ele e eu queria usar o python3.7 e tava dando um problema ou conflito que tava instalando o que eu queria na versão 3.8. Bem, vi uma solução que seria alterar o python padrão, fiz isso e alterei para o python3, mas aparentemente alterou um monte de dependência e não consigo desfazer isso, já procurei umas soluções mas nenhuma funcionou. Não consigo fazer aparentemete nada, só consigo abrir o terminal se eu for numa pasta e abrir o terminal na pasta, já que pelo atalho não funciona, nem na interface gráfica, o Software & Updates também não está abrindo, tentei reinstalar, mas não consegui instalar, não consigo fazer o update nem instalar nada no meu ubuntu. Se alguém puder me ajudar, eu agradeço.jose@jose-pc:~$ sudo apt update
Hit:1 http://linux.teamviewer.com/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://mirrors.mit.edu/ubuntu bionic InRelease
Hit:4 http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu bionic InRelease
Hit:5 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:6 http://mirrors.mit.edu/ubuntu bionic-updates InRelease
Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:8 http://archive.canonical.com/ubuntu bionic InRelease
Hit:9 http://mirrors.mit.edu/ubuntu bionic-backports InRelease
Hit:10 http://mirrors.mit.edu/ubuntu bionic-security InRelease
Hit:11 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease
Get:12 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease [4.003 B]
Hit:13 http://ppa.launchpad.net/librecad-dev/librecad-daily/ubuntu bionic InRelease
Hit:14 http://packages.ros.org/ros/ubuntu bionic InRelease
Hit:15 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
Hit:16 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic InRelease
Hit:17 http://ppa.launchpad.net/noobslab/apps/ubuntu bionic InRelease
Hit:18 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Get:19 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages [120 kB]
Fetched 233 kB in 7s (35,2 kB/s)
sh: 1: /usr/lib/cnf-update-db: not found
Reading package lists... Done
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 code
jose@jose-pc:~$ sudo apt install python-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-minimal is already the newest version (2.7.15~rc1-1).
python-minimal set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 0 B/72,8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up apturl-common (0.5.2ubuntu14.2) ...
/var/lib/dpkg/info/apturl-common.postinst: 27: /var/lib/dpkg/info/apturl-common.postinst: py3compile: not found
dpkg: error processing package apturl-common (--configure):
installed apturl-common package post-installation script subprocess returned error exit status 127
dpkg: error processing package software-properties-common (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of apturl:
apturl depends on apturl-common (= 0.5.2ubuntu14.2); however:
Package apturl-common is not configured yet.
dpkg: error processing package apturl (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of software-properties-gtk:
software-properties-gtk depends on software-properties-common; however:
Package software-properties-common is not configured yet.
dpkg: error processing package software-properties-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of gnome-software:
gnome-software depends on software-properties-gtk; however:
Package software-properties-gtk is not configured yet.
dpkg: error processing package gnome-software (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of gnome-software-plugin-snap:
gnome-software-plugin-snap depends on gnome-software (= 3.28.1-0ubuntu4.18.04.15); however:
Package gnome-software is not configured yet.
dpkg: error processing package gnome-software-plugin-snap (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
apturl-common
software-properties-common
apturl
software-properties-gtk
gnome-software
gnome-software-plugin-snap
E: Sub-process /usr/bin/dpkg returned an error code (1)
Atenção a quem posta conteúdo de dicas, scripts e tal (6)
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
O mínimo que você precisa saber sobre o terminal (parte 2)
O mínimo que você precisa saber sobre o terminal (parte 1)
Como iniciar uma máquina virtual do VirtualBox automaticamente no boot do LUbuntu 18 LTS
Como deixar as abas do Firefox mais fininhas
Mudar o gerenciador de login (GDM para SDDM)
"Tentando" fazer com que programas rodem no Wayland e no X11
Google Chrome não para de escrever no disco (9)
Windows XP rodando no Linux (5)
Som saiu,sumio,nao funciona, apos atualizacao do linux mint por 22 (1)
Erro ao iniciar Ubuntu 24.04.1 LTS - Management Owner Key - MoK (3)