Enviado em 11/08/2022 - 12:23h
Há alguns meses, fiz uma bagunça nessa máquina que uso. Instalei muitas versões do cURL e do openSSL de muitas fontes (já que não foram reconhecidas pelos softwares que usava). Eu desinstalei algumas versões, mantendo a partir de apenas uma fonte, e comecei a reinstalar programas que precisavam deles como dependências, como a CLI do MongoDB. Mas, quando tentei instalar corretamente, quebrou a instalação do apt. Tentei alguns comandos como:
➭ sudo apt --fix-broken install -y
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Corrigindo dependências... Pronto
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
libboost-program-options1.71.0 libgoogle-perftools4 libtcmalloc-minimal4 libyaml-cpp0.6 mongodb-server-core
Utilize 'sudo apt autoremove' para os remover.
Os pacotes adicionais seguintes serão instalados:
mongodb-org-mongos mongodb-org-server
Os NOVOS pacotes a seguir serão instalados:
mongodb-org-mongos mongodb-org-server
0 pacotes atualizados, 2 pacotes novos instalados, 0 a serem removidos e 356 não atualizados.
2 pacotes não totalmente instalados ou removidos.
É preciso baixar 45,0 MB de arquivos.
Depois desta operação, 187 MB adicionais de espaço em disco serão usados.
Obter:1 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0/multiverse amd64 mongodb-org-server amd64 5.0.10 [26,4 MB]
Obter:2 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0/multiverse amd64 mongodb-org-mongos amd64 5.0.10 [18,6 MB]
Baixados 45,0 MB em 1min 7s (670 kB/s)
(Lendo banco de dados ... 465888 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../mongodb-org-server_5.0.10_amd64.deb ...
A descompactar mongodb-org-server (5.0.10) ...
dpkg: erro ao processar o arquivo /var/cache/apt/archives/mongodb-org-server_5.0.10_amd64.deb (--unpack):
a tentar sobre-escrever '/usr/bin/mongod', que também está no pacote mongodb-server-core 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3
dpkg-deb: erro: o subprocesso colar foi morto pelo sinal (Pipe quebrado)
A preparar para desempacotar .../mongodb-org-mongos_5.0.10_amd64.deb ...
A descompactar mongodb-org-mongos (5.0.10) ...
dpkg: erro ao processar o arquivo /var/cache/apt/archives/mongodb-org-mongos_5.0.10_amd64.deb (--unpack):
a tentar sobre-escrever '/usr/bin/mongos', que também está no pacote mongodb-server-core 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3
dpkg-deb: erro: o subprocesso colar foi morto pelo sinal (Pipe quebrado)
Erros foram encontrados durante o processamento de:
/var/cache/apt/archives/mongodb-org-server_5.0.10_amd64.deb
/var/cache/apt/archives/mongodb-org-mongos_5.0.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: problemas com dependências impedem a configuração de mongodb-org-database:
mongodb-org-database depende de mongodb-org-server; porém:
Pacote mongodb-org-server não está instalado.
mongodb-org-database depende de mongodb-org-mongos; porém:
Pacote mongodb-org-mongos não está instalado.
dpkg: erro ao processar o pacote mongodb-org-database (--configure):
problemas de dependência - deixando desconfigurado
dpkg: problemas com dependências impedem a configuração de mongodb-org:
mongodb-org depende de mongodb-org-database; porém:
Pacote mongodb-org-database não está configurado ainda.
dpkg: erro ao processar o pacote mongodb-org (--configure):
problemas de dependência - deixando desconfigurado
Erros foram encontrados durante o processamento de:
mongodb-org-database
mongodb-org
System: Kernel: 5.4.0-105-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 Desktop: Cinnamon 5.0.7 wm: muffin 5.0.2
dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal
Machine: Type: Desktop Mobo: ASUSTeK model: TUF H310M-PLUS GAMING/BR v: Rev X.0x serial: <filter> UEFI: American Megatrends
v: 2811 date: 05/27/2020
CPU: Topology: Quad Core model: Intel Core i3-9100F bits: 64 type: MCP arch: Kaby Lake rev: A L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28800
Speed: 800 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
Graphics: Device-1: NVIDIA vendor: Micro-Star MSI driver: nvidia v: 470.103.01 bus ID: 01:00.0 chip ID: 10de:2188
Display: x11 server: X.Org 1.20.13 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa
resolution: 2560x1080~60Hz
OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 470.103.01 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3
chip ID: 8086:a348
Device-2: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 01:00.1
chip ID: 10de:1aeb
Sound Server: ALSA v: k5.4.0-105-generic
Network: Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k port: efa0 bus ID: 00:1f.6
chip ID: 8086:15bc
IF: eno1 state: down mac: <filter>
Device-2: TP-Link TL-WN821N Version 5 RTL8192EU type: USB driver: rtl8xxxu bus ID: 1-1:2 chip ID: 2357:0107
serial: <filter>
IF: wlxb4b024d3af56 state: up mac: <filter>
IF-ID-1: br-3d729dfe2a33 state: down mac: <filter>
IF-ID-2: br-5827978d49e2 state: down mac: <filter>
IF-ID-3: br-5e251d5ee295 state: up speed: N/A duplex: N/A mac: <filter>
IF-ID-4: br-5f7335c5fee0 state: down mac: <filter>
IF-ID-5: br-8ed199b47d33 state: down mac: <filter>
IF-ID-6: docker0 state: down mac: <filter>
IF-ID-7: veth082a794 state: up speed: 10000 Mbps duplex: full mac: <filter>
IF-ID-8: veth442fad2 state: up speed: 10000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 912.90 GiB used: 86.08 GiB (9.4%)
ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-00ERMA0 size: 465.76 GiB speed: 6.0 Gb/s
rotation: 7200 rpm serial: <filter> rev: 1H15 temp: 45 C scheme: GPT
ID-2: /dev/sdb vendor: Kingston model: SA400S37240G size: 223.57 GiB speed: 6.0 Gb/s serial: <filter> rev: 0107
temp: 50 C scheme: GPT
ID-3: /dev/sdc vendor: Kingston model: SA400S37240G size: 223.57 GiB speed: 6.0 Gb/s serial: <filter> rev: J4.3
temp: 37 C scheme: GPT
Partition: ID-1: / size: 122.76 GiB used: 86.05 GiB (70.1%) fs: ext4 dev: /dev/sdb4
Sensors: System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 45 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 23%
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
1: deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
Active apt repos in: /etc/apt/sources.list.d/dbeaver.list
1: deb https://dbeaver.io/debs/dbeaver-ce /
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/heroku.list
1: deb https://cli-assets.heroku.com/apt ./
Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list
1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/21.04/prod hirsute main
Active apt repos in: /etc/apt/sources.list.d/mongodb-org-5.0.list
1: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse
Active apt repos in: /etc/apt/sources.list.d/mono-official-stable.list
1: deb [arch=amd64] https://download.mono-project.com/repo/ubuntu stable-focal main
Active apt repos in: /etc/apt/sources.list.d/nodesource.list
1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main
2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://mirror.ufscar.br/mint-archive uma main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Active apt repos in: /etc/apt/sources.list.d/ondrej-php-focal.list
1: deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
1: deb [arch=amd64] https://repo.skype.com/deb stable main
Active apt repos in: /etc/apt/sources.list.d/slack.list
1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http://repository.spotify.com stable non-free
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
Info: Processes: 254 Uptime: 31m Memory: 15.55 GiB used: 3.47 GiB (22.3%) Init: systemd v: 245 runlevel: 5 Compilers:
gcc: 9.4.0 alt: 9 Shell: zsh v: 5.8 running in: terminator inxi: 3.0.38