Ao tentar usar o compartilhamento de tela com áudio no vesktop, recebi um erro do aplicativo que dizia "sua biblioteca c++ é muito antiga para executar o venmic", o que me levou a tentar atualizá-lo.
Eu segui os passos:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install --only-upgrade libstdc++6
Também atualizei meu gcc através do gerenciador de software logo após .
Os pacotes que foram removidos desses comandos foram:
intel-media-va-driver:i386 libgl1:i386 libgl1-mesa-dri:i386
libglx-mesa0:i386 libglx0:i386 libicu70:i386 libigdgmm12:i386 libllvm15:i386
libnvidia-fbc1-535:i386 libstdc++6:i386 libva-glx2:i386 libxml2:i386
mesa-va-drivers:i386 mesa-vulkan-drivers:i386 steam:i386
steam-libs-i386:i386 va-driver-all:i386
Não pensei muito nisso, pois estava sendo substituído por outras bibliotecas, infelizmente não me lembro quais, embora não tenha notado os pacotes "nvidia-firmware" ou "steam-devices". Também pensei que seria simples desfazer esse procedimento depois, então continuei. O Vesktop funcionou depois, mas alguns outros aplicativos não, então tentei desfazê-lo reinstalando todos os aplicativos removidos, presumindo que ele removeria o libstdc++6 e o substituiria por um diferente. Aqui está o que aconteceu:
sudo apt install intel-media-va-driver:i386 libgl1:i386 libgl1-mesa-dri:i386
libglx-mesa0:i386 libglx0:i386 libicu70:i386 libigdgmm12:i386 libllvm15:i386
libnvidia-fbc1-535:i386 libstdc++6:i386 libva-glx2:i386 libxml2:i386
mesa-va-drivers:i386 mesa-vulkan-drivers:i386 steam:i386
steam-libs-i386:i386 va-driver-all:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
intel-media-va-driver:i386 : Depends: libstdc++6:i386 (>= 11) but it is not going to be installed
libgl1-mesa-dri:i386 : Depends: libstdc++6:i386 (>= 11) but it is not going to be installed
Recommends: libgl1-amber-dri:i386 but it is not installable
libicu70:i386 : Depends: libstdc++6:i386 (>= 5.2) but it is not going to be installed
libigdgmm12:i386 : Depends: libstdc++6:i386 (>= 4.1.1) but it is not going to be installed
libllvm15:i386 : Depends: libstdc++6:i386 (>= 12) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
libglx-mesa0:i386: command not found
libnvidia-fbc1-535:i386: command not found
mesa-va-drivers:i386: command not found
steam-libs-i386:i386: command not found
Tentei remover o pacote libstdc++6 para ver se ele seria substituído por outro e consegui:
sudo apt-get remove libstdc++6
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
apt : Depends: libapt-pkg6.0 (>= 2.4.12) but it is not going to be installed
Depends: libstdc++6 (>= 11) but it is not going to be installed
mintsources : Depends: python3-apt but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python3-gi-cairo but it is not going to be installed
Depends: python3-pycurl but it is not going to be installed
Depends: python3-requests but it is not going to be installed
Depends: mint-common (>= 2) but it is not going to be installed
Depends: gir1.2-gdkpixbuf-2.0 but it is not going to be installed
Depends: gir1.2-gtk-3.0 but it is not going to be installed
Depends: gir1.2-vte-2.91 but it is not going to be installed
Depends: gir1.2-xapp-1.0 but it is not going to be installed
Depends: lsb-release but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Tentei instalar libstdc++6:i386 e isso aconteceu:
sudo apt install libstdc++6:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
apt : Depends: libapt-pkg6.0 (>= 2.4.12) but it is not going to be installed
Depends: libstdc++6 (>= 11) but it is not installable
mintsources : Depends: python3-apt but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python3-gi-cairo but it is not going to be installed
Depends: python3-pycurl but it is not going to be installed
Depends: python3-requests but it is not going to be installed
Depends: mint-common (>= 2) but it is not going to be installed
Depends: gir1.2-gdkpixbuf-2.0 but it is not going to be installed
Depends: gir1.2-gtk-3.0 but it is not going to be installed
Depends: gir1.2-vte-2.91 but it is not going to be installed
Depends: gir1.2-xapp-1.0 but it is not going to be installed
Depends: lsb-release but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Tentei consertar os pacotes quebrados e consegui o seguinte:
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
i965-va-driver:i386 libatomic1:i386 libbrotli1:i386 libdrm-amdgpu1:i386
libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libedit2:i386
libelf1:i386 libfontconfig1:i386 libfreetype6:i386 libglib2.0-0:i386
libgnutls30:i386 libhogweed6:i386 libnettle8:i386 libnm0:i386
libp11-kit0:i386 libpciaccess0:i386 libpng16-16:i386 libsensors5:i386
libtasn1-6:i386 libva-drm2:i386 libva-x11-2:i386 libva2:i386 libvulkan1:i386
libxcb-glx0:i386 libxcb-shm0:i386 libxfixes3:i386 libxi6:i386
libxinerama1:i386 libxss1:i386 libxxf86vm1:i386
nvidia-firmware-535-535.171.04 steam-devices
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Percebi então que o Steam havia sumido dos meus aplicativos e, ao tentar instalá-lo novamente, também encontrei um erro:
The following packages have unmet dependencies:
apt: Depends: libapt-pkg6.0 (>= 2.4.12) but it is not going to be installed
Depends: libstdc++6 (>= 11) but it is not installable
mintsources: Depends: python3-apt but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python3-gi-cairo but it is not going to be installed
Depends: python3-pycurl but it is not going to be installed
Depends: python3-requests but it is not going to be installed
Depends: mint-common (>= 2) but it is not going to be installed
Depends: gir1.2-gdkpixbuf-2.0 but it is not going to be installed
Depends: gir1.2-gtk-3.0 but it is not going to be installed
Depends: gir1.2-vte-2.91 but it is not going to be installed
Depends: gir1.2-xapp-1.0 but it is not going to be installed
Depends: lsb-release but it is not going to be installed
Então, o que aconteceu e o que eu faço? Nunca tive esse problema antes e já usei repositórios externos antes. Não executei o autoremove
comando por medo de quebrar ainda mais as coisas, mas parece que esses pacotes são os que estão causando problemas. Estou executando o Linux Mint 21.1 e não tenho certeza de qual biblioteca c++ é a adequada para este sistema, gostaria apenas de fazer com que as coisas voltassem a ser como eram.
O comando apt policy para libstdc++6 e libstdc++6:i386 :
apt policy libstdc++6 libstdc++6:i386
libstdc++6:
Installed: 13.1.0-8ubuntu1~22.04
Candidate: 13.1.0-8ubuntu1~22.04
Version table:
*** 13.1.0-8ubuntu1~22.04 100
100 /var/lib/dpkg/status
12.3.0-1ubuntu1~22.04 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
12-20220319-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
libstdc++6:i386:
Installed: (none)
Candidate: 12.3.0-1ubuntu1~22.04
Version table:
12.3.0-1ubuntu1~22.04 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
500 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages
12-20220319-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages