Libqtcore4 installation

Parrot info

  • OS version: Parrot GNU/Linux 4.10
  • Kernel version: Linux parrot 5.7.0-2parrot2-amd64
  • Installation method: USB disk (using Etcher)
  • Multiboot with other systems: Yes, dual boot with Windows 10

** ISO information **

Version: 4.10
Desktop Environment: Mate
Edition: Security

Issue description

After a fresh installation of Parrot Sec v4.10, I’m trying to install libqtcore4 using the command sudo apt install libqtcore4. The thing is, to install this package, apt tries to remove many other packages that are necessary for the OS to work (e.g., multiple graphical interface related packages). Here is the output I get from sudo apt install libqtcore4:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  accountsservice alsa-tools bamfdaemon blueman bluetooth brasero brasero-cdrkit brasero-common breeze-cursor-theme caja-actions caja-actions-common caja-extensions-common caja-image-converter caja-open-terminal caja-sendto caja-share caja-xattr-tags cdrdao cheese cheese-common chromium-ublock-origin coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5 coinor-libosi1v5 cracklib-runtime cups cups-browsed cups-client cups-core-drivers cups-daemon cups-filters
  cups-filters-core-drivers cups-ipp-utils cups-ppdc cups-server-common dasher dasher-data dconf-editor debian-mate-default-settings diffstat docbook-to-man dvdauthor electrum element-desktop eom eom-common fairymax fonts-cantarell fonts-open-sans fonts-opensymbol gdebi-core geoclue-2.0 gimp gimp-data gir1.2-appindicator3-0.1 gir1.2-atspi-2.0 gir1.2-ayatanaappindicator3-0.1 gir1.2-bamf-3 gir1.2-eom-1.0 gir1.2-matedesktop-2.0 gir1.2-matemenu-2.0 gir1.2-matepanelapplet-4.0 gir1.2-nm-1.0 gir1.2-pluma-1.0 gir1.2-wnck-3.0 gnome-accessibility-themes gnome-desktop3-data gnome-system-tools gnome-themes-extra gnome-themes-extra-data gnome-video-effects gstreamer1.0-clutter-3.0 gtk-doc-tools gtk2-engines gtk2-engines-murrine gtk2-engines-pixbuf hdparm helpdev iio-sensor-proxy intltool intltool-debian ipp-usb libabw-0.1-1 libaccountsservice0 libaliased-perl libamd2 libao-common libao4 libappindicator3-1 libapt-pkg-perl libaribb24-0 libasync-mergepoint-perl libatk-adaptor libavahi-ui-gtk3-0 libayatana-appindicator3-1 libayatana-ido3-0.4-0 libayatana-indicator3-7 libbabl-0.1-0 libbamf3-2 libbasicusageenvironment1 libboost-locale1.71.0 libbotan-2-12 libbrasero-media3-1 libburn4 libcamd2 libcapture-tiny-perl libccolamd2 libcddb2 libcdr-0.1-1 libcharon-extauth-plugins libcheese-gtk25 libcheese8 libcholmod3 libclucene-contribs1v5 libclucene-core1v5 libclutter-1.0-0 libclutter-1.0-common libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcmis-0.5-5v5 libcogl-common libcogl-pango20 libcogl-path20 libcogl20 libcolamd2 libcollectdclient1 libconfig-tiny-perl libcpupower1 libcrack2 libcupsfilters1 libdata-dpath-perl
  libdata-messagepack-perl libdata-validate-domain-perl libdbusmenu-glib4 libdbusmenu-gtk3-4 libdevel-size-perl libdouble-conversion3 libdvbpsi10 libe-book-0.1-1 libebml5 libegl-dev libemail-address-xs-perl libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libexporter-tiny-perl libexttextcat-2.0-0 libexttextcat-data libfcitx-qt5-data libfile-find-rule-perl libfont-ttf-perl libfontembed1 libfreehand-0.1-1 libfuture-perl libgegl-0.4-0 libgegl-common libgexiv2-2 libgimp2.0 libgl-dev libglu1-mesa-dev
  libglx-dev libgnome-desktop-3-19 libgpgmepp6 libgroupsock8 libgtk-layer-shell0 libgtop-2.0-11 libgucharmap-2-90-7 libheif1 libhtml-html5-entities-perl libindicator3-7 libio-async-loop-epoll-perl libio-async-perl libio-string-perl libipc-run3-perl libisofs6 libiterator-perl libiterator-util-perl libixml10 libjim0.79 libjs-modernizr libjson-maybexs-perl libjte2 libjuh-java libjurt-java liblangtag-common liblangtag1 liblibreoffice-java liblightdm-gobject-1-0 liblinux-epoll-perl libliquid2d
  liblirc-client0 liblist-compare-perl liblist-moreutils-perl liblist-utilsby-perl liblivemedia77 liblouis-data liblouis20 liblouisutdml-bin liblouisutdml-data liblouisutdml9 libmad0 libmarco-private2 libmarkdown2 libmate-menu2 libmate-panel-applet-4-1 libmate-sensors-applet-plugin0 libmate-slab0 libmate-window-settings1 libmatedict6 libmatekbd-common libmatekbd4 libmatemixer-common libmatemixer0 libmateweather-common libmateweather1 libmatroska7 libmbim-glib4 libmbim-proxy libmd4c0
  libmetis5 libmetrics-any-perl libmm-glib0 libmng1 libmoox-aliases-perl libmouse-perl libmspub-0.1-1 libmwaw-0.3-3 libmypaint-1.5-1 libmypaint-common libmythes-1.2-0 libndp0 libnet-domain-tld-perl libnma-common libnma0 libnumber-compare-perl libnumbertext-1.0-0 libnumbertext-data libobjc-9-dev libodfgen-0.1-1 liboobs-1-5 libopenconnect5 libopenmpt-modplug1 liborcus-0.15-0 liborcus-parser-0.15-0 libpagemaker-0.0-0 libpath-tiny-perl libperlio-gzip-perl libplacebo72 libpoppler-cpp0v5
  libpoppler95 libproc-processtable-perl libprotobuf-lite23 libproxy-tools libpulse-mainloop-glib0 libpwquality-common libpwquality1 libqmi-glib5 libqmi-proxy libqpdf28 libqrcodegencpp1 libqscintilla2-qt5-l10n libquvi-0.9-0.9.3 libquvi-scripts-0.9 libqxp-0.0-0 libraptor2-0 librasqal3 libraw20 librda-common librda0 librdf0 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-math libreoffice-style-colibre  libreoffice-writer libresid-builder0c2a librevenge-0.0-0 libridl-java libsdl-image1.2 libsdl1.2debian libsecp256k1-0 libsereal-decoder-perl libsereal-encoder-perl libsereal-perl libshiboken2-py3-5.15 libsidplay2 libspatialaudio0 libspeechd2 libsqlcipher0 libstaroffice-0.0-0 libstd-rust-1.45 libstoken1 libstrongswan libstrongswan-standard-plugins libstruct-dumb-perl libsuitesparseconfig5 libteamdctl0 libtest-metrics-any-perl libtest-refcount-perl libtext-glob-perl libtext-levenshteinxs-perl libtext-markdown-discount-perl libtext-xslate-perl libtime-moment-perl libtomcrypt1 libtorrent-rasterbar10 libtotem-plparser-common libtotem-plparser18 libtracker-sparql-2.0-0 libtsk13 libtspi1 libtss2-esys0 libtype-tiny-perl libtype-tiny-xs-perl libumfpack5 libunicode-utf8-perl libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3 libuno-salhelpergcc3-3 libunoloader-java libupnp13 libusageenvironment3 libva-wayland2 libvisio-0.1-1 libvlc-bin libvlc5 libvlccore9 libvncclient1 libvulkan-dev libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb-xv0 libxext-dev libxkbcommon-x11-0 libxklavier16 libxmlsec1-nss libxpresent1 libyajl2 libyaml-libyaml-perl
  libzmf-0.0-0 libzulucrypt-exe1.2.0 libzulucrypt1.2.0 libzulucryptpluginmanager1.0.0 lightdm lightdm-gtk-greeter lightdm-parrot lightdm-settings lintian lp-solve lua-expat lua-json lua-socket marco marco-common mate-applet-brisk-menu mate-applets mate-applets-common mate-calc mate-calc-common mate-common mate-control-center mate-control-center-common mate-core mate-desktop-environment-core mate-dock-applet mate-icon-theme mate-indicator-applet mate-indicator-applet-common mate-media
  mate-media-common mate-menu mate-menus mate-panel mate-panel-common mate-polkit mate-polkit-bin mate-polkit-common mate-power-manager mate-power-manager-common mate-screensaver mate-screensaver-common mate-sensors-applet mate-sensors-applet-common mate-sensors-applet-nvidia mate-session-manager mate-settings-daemon mate-settings-daemon-common mate-system-monitor mate-system-monitor-common mate-themes mate-tweak mate-utils mate-utils-common menu-xdg mobile-broadband-provider-info modemmanager mozo mpv nautilus-extension-brasero network-manager network-manager-fortisslvpn network-manager-fortisslvpn-gnome network-manager-gnome network-manager-l2tp network-manager-l2tp-gnome network-manager-openconnect network-manager-openconnect-gnome network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-ssh network-manager-ssh-gnome network-manager-vpnc network-manager-vpnc-gnome onboard onboard-common onboard-data openconnect openfortivpn parrot-wallpapers patchutils pluma pluma-common pptp-linux python3-aiohttp-socks python3-aiorpcx python3-bitstring python3-electrum python3-flask-httpauth python3-flask-restless python3-grequests python3-mimeparse python3-mimerender python3-mock python3-netifaces python3-pbr python3-pyaes python3-pyxattr python3-uno python3-usb python3-xapp python3-xdg python3-xlib qt5-qmake qt5-qmake-bin qtchooser qttranslations5-l10n redshift redshift-gtk remmina remmina-common remmina-plugin-rdp remmina-plugin-secret remmina-plugin-vnc rtmpdump ruby-arel slick-greeter smartmontools sshpass strongswan strongswan-charon strongswan-libcharon strongswan-starter system-tools-backends t1utils tpm-udev uno-libs-private ure usb-modeswitch usb-modeswitch-data virtualbox-guest-dkms vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-samba vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization webext-https-everywhere webext-privacy-badger webext-ublock-origin webext-ublock-origin-chromium webext-ublock-origin-firefox wpasupplicant x11-apps x11-session-utils x11proto-xext-dev xboard xdg-user-dirs-gtk xinit
  xl2tpd xorg youtube-dl zulucrypt-cli zulumount-cli
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  qtcore4-l10n
Suggested packages:
  libicu57
The following packages will be REMOVED:
  arachni breeze-gtk-theme cookie-cadger cutycapt edb-debugger edb-debugger-plugins encryptpad fcitx-frontend-qt5 fcitx5-module-quickphrase-editor fern-wifi-cracker gdebi git-cola gtk3-engines-breeze guymager inspectrum johnny libfcitx-qt5-1 libguytools2 libpyside2-py3-5.15 libqscintilla2-qt5-15 libqt5charts5 libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5 libqt5help5 libqt5location5 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5 libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5positioning5 libqt5positioningquick5 libqt5printsupport5 libqt5qml5 libqt5qmlmodels5 libqt5qmlworkerscript5 libqt5quick5 libqt5quickwidgets5 libqt5sensors5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5test5 libqt5waylandclient5 libqt5waylandcompositor5 libqt5webchannel5 libqt5webkit5 libqt5websockets5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libqt5xmlpatterns5 onionshare ophcrack parrot-crypto parrot-interface parrot-interface-common parrot-interface-full parrot-mate parrot-privacy parrot-themes phantomjs pyqt5-dev-tools python3-pyqt5 python3-pyqt5.qtmultimedia python3-pyqt5.qtopengl python3-pyqt5.qtpositioning python3-pyqt5.qtquick python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebchannel python3-pyqt5.qtwebkit python3-pyqt5.qtwebsockets python3-pyqt5.qtxmlpatterns python3-pyqtgraph python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtwidgets python3-qdarkstyle python3-qtpy qbittorrent qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings qml-module-qtgraphicaleffects qml-module-qtmultimedia qml-module-qtqml qml-module-qtqml-models2 qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-layouts qml-module-qtquick-privatewidgets qml-module-qtquick-window2 qml-module-qtquick2 qt5-default qt5-gtk-platformtheme qtbase5-dev qtbase5-dev-tools qtwayland5 rfcat ricochet-im sirikali sqlitebrowser torbrowser-launcher vlc vlc-plugin-qt vlc-plugin-skins2 vokoscreen vokoscreen-ng wireshark wireshark-qt zeal zulucrypt zulucrypt-gui zulumount-gui zulupolkit
The following NEW packages will be installed:
  libqtcore4 qtcore4-l10n
0 upgraded, 2 newly installed, 121 to remove and 0 not upgraded.
Need to get 2,299 kB of archives.
After this operation, 503 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

You may notice that many packets are said to be “no longer required” and it is suggested to use autoremove to remove them. However, these packets are absolutely necessary for the OS (e.g. network manager), plus they are actually not listed when I run sudo apt autoremove.

This is very similar to this issue, but the suggested solution (using aptitude) does not work either. After some research, I found out that this may come from dependency issues between libcoreqt4 and the installed package libqt5core5a. I do want to keep qt5 installed though.

Note that I also tried to install libqtcore4 from a .deb file but I get the same problem.

Can you please help me install libqtcore4 while keeping Qt5 and other necessary packages ?

Thanks in advance for your help !

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.