Hey guys, i a am using ParrotOS and trying to install virtualbox from .deb package and i got the following warning

dpkg: dependency problems prevent configuration of virtualbox-7.0:
 virtualbox-7.0 depends on libc6 (>= 2.34); however:
  Version of libc6:amd64 on system is 2.31-13+deb11u6.
 virtualbox-7.0 depends on libssl3 (>= 3.0.0~~alpha1); however:
  Package libssl3 is not installed.
 virtualbox-7.0 depends on libstdc++6 (>= 12); however:
  Version of libstdc++6:amd64 on system is 11.2.0-18really16parrot1.
 virtualbox-7.0 depends on libvpx7 (>= 1.10.0); however:
  Package libvpx7 is not installed.

but it seems like ParrotOS repo outdated so i add http://archive.ubuntu.com jammy main universe to /etc/apt/sources.list update repo list apt-get update and then obtain libc6 package information

apt-cache policy libc6
libc6:
  Installed: 2.31-13+deb11u7
  Candidate: 2.31-13+deb11u7
  Version table:
     2.35-0ubuntu3 50
         50 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
 *** 2.31-13+deb11u7 600
        600 https://deb.parrot.sh/parrot lts/main amd64 Packages
        600 https://deb.parrot.sh/parrot parrot/main amd64 Packages
        600 https://deb.parrot.sh/direct/parrot parrot-security/main amd64 Packages
        100 /var/lib/dpkg/status

then install libc6 via sudo apt-get install libc6=2.35-0ubuntu3 BUT i got

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  afl++-doc docbook-to-man greenbone-security-assistant gtk-doc-tools gvmd-common hashcat-data intltool libapache2-mod-php libapache2-mod-php7.4
  libc-devtools libclang-cpp11 libclang-cpp9 libclang1-11 libcrypt-dev libfakeroot libffi-dev libgc1 libgvm21 libhiredis0.14 libllvm9 libltdl-dev liblzf1
  libmicrohttpd12 libnsl-dev libobjc-10-dev libobjc4 libomp-11-dev libomp5-11 libpfm4 libpocl2-common libradcli4 libtirpc-dev libucl1 libz3-dev llvm-9
  llvm-9-runtime llvm-9-tools openvas-scanner oracle-instantclient-basic ospd-openvas php-common php7.4-cli php7.4-common php7.4-json php7.4-opcache
  php7.4-readline postgresql-common python3-defusedxml python3-qrcode python3-terminaltables redis-server redis-tools sysstat upx-ucl xsltproc
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libncurses6 libncursesw6 libtinfo6
Suggested packages:
  glibc-doc locales
Recommended packages:
  libnss-nis libnss-nisplus
The following packages will be REMOVED:
  afl afl++ afl++-clang armitage bluelog build-essential clang clang-11 clang-9 commix fakeroot g++ g++-10 gsad gvm gvm-tools gvmd hashcat lib32gcc-s1
  lib32stdc++6 libbluetooth-dev libc-bin libc-dev-bin libc6-dev libc6-i386 libclang-common-11-dev libclang-common-9-dev libexpat1-dev libncurses-dev
  libpocl2 libpython3-dev libpython3.9-dev libstdc++-10-dev libtinfo-dev libtool llvm-9-dev locales mate-common metasploit-framework pocl-opencl-icd
  postgresql postgresql-13 python3-dev python3-gvm python3.9-dev set unicorn-magic zlib1g-dev
The following packages will be upgraded:
  libc6 libncurses6 libncursesw6 libtinfo6
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  libc-bin
4 upgraded, 0 newly installed, 48 to remove and 180 not upgraded.
Need to get 3,812 kB of archives.
After this operation, 1,122 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

What should i do?

Edit: format command output

  • @1_4M_N008OP
    link
    14 months ago

    thanks for your advice, i downloaded .deb package few months ago on another machine when i was on public wiif and now i am now metric connection if there no other option, or it will cause system instability i will download it from package manager