How to remove libcups2 only ?

Forum Forums New users New Users and General Questions How to remove libcups2 only ?

  • This topic has 3 replies, 4 voices, and was last updated Oct 30-8:07 pm by Dzhigit.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44080
    Member
    kouroukinos77

      Hi I want to remove libcups2 and these dependancies. So I can’t some library is on native antix linux, and It’s broken if I try do delete only libcups2.

      Like that :

      sudo apt-get remove cups-common
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances       
      Lecture des informations d'état... Fait
      Les paquets suivants seront ENLEVÉS :
        cups-client cups-common cups-ppdc
      0 mis à jour, 0 nouvellement installés, 3 à enlever et 100 non mis à jour.
      Après cette opération, 4 603 ko d'espace disque seront libérés.
      Souhaitez-vous continuer ? [O/n] o
      (Lecture de la base de données... 177631 fichiers et répertoires déjà installés.)
      Suppression de cups-client (2.2.10-6+deb10u3) ...
      Suppression de cups-ppdc (2.2.10-6+deb10u3) ...
      Suppression de cups-common (2.2.10-6+deb10u3) ...
      Traitement des actions différées (« triggers ») pour man-db (2.8.5-2) ...
      pikaburk@antix1:~
      $ sudo apt-get remove libcups2
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances       
      Lecture des informations d'état... Fait
      Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
        adwaita-icon-theme audacity-data bubblewrap calibre-bin coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5
        coinor-libosi1v5 cups-server-common dc dconf-cli desktop-file-utils entr fonts-mathjax gconf-service gconf2 gconf2-common gdebi-core gifsicle
        gimp-data gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-notify-0.7 gir1.2-pango-1.0 gnome-themes-extra gnome-themes-extra-data
        gparted-common gtk-update-icon-cache heimdall-flash hexchat-common java-common kinit kio libabw-0.1-1 libamd2 libatk-bridge2.0-0 libatkmm-1.6-1v5
        libbabl-0.1-0 libblas3 libbluetooth3 libboost-atomic1.67.0 libboost-chrono1.67.0 libboost-date-time1.67.0 libboost-filesystem1.67.0
        libboost-locale1.67.0 libboost-python1.67.0 libboost-thread1.67.0 libcairomm-1.0-1v5 libcamd2 libcanberra0 libccolamd2 libcdr-0.1-1 libcfitsio7
        libchm1 libcholmod3 libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcolord2 libcompfaceg1 libdbusmenu-glib4 libdbusmenu-gtk3-4
        libdbusmenu-gtk4 libdbusmenu-qt5-2 libe-book-0.1-1 libenchant1c2a libeot0 libept1.5.0 libepubgen-0.1-1 libetonyek-0.1-1 libetpan20 libexiv2-14
        libexo-common libexo-helpers libexttextcat-2.0-0 libexttextcat-data libfam0 libffmpegthumbnailer4v5 libflac++6v5 libflickcurl0 libfontembed1
        libfreehand-0.1-1 libgc1c2 libgck-1-0 libgconf-2-4 libgcr-base-3-1 libgd3 libgdata-common libgdata22 libgee-0.8-2 libgegl-0.4-0 libgegl-common
        libgexiv2-2 libgfortran5 libglibmm-2.4-1v5 libgnome-keyring-common libgnome-keyring0 libgoa-1.0-0b libgoa-1.0-common libgpgme11 libgpgmepp6
        libgphoto2-6 libgphoto2-port12 libgraphicsmagick-q16-3 libgs9-common libgsl23 libgslcblas0 libgstreamer-gl1.0-0 libgtk-3-common libgtk2.0-common
        libgtksourceview2.0-common libgtop-2.0-11 libgtop2-common libguvcview-2.0-2 libharfbuzz-icu0 libhunspell-1.7-0 libhyphen0 libilmbase23
        libjavascriptcoregtk-4.0-18 libjs-coffeescript libjs-mathjax libjs-prototype libjs-scriptaculous libjs-sphinxdoc libjs-underscore
        libjson-glib-1.0-0 libjson-glib-1.0-common libkf5activities5 libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5baloo5
        libkf5balooengine5 libkf5bookmarks-data libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-data
        libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5
        libkf5dbusaddons-data libkf5dbusaddons5 libkf5doctools5 libkf5filemetadata-data libkf5filemetadata3 libkf5globalaccel-bin libkf5globalaccel-data
        libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-data libkf5iconthemes5
        libkf5itemmodels5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kdcraw5 libkf5kiocore5 libkf5kiontlm5
        libkf5kiowidgets5 libkf5kipi-data libkf5notifications-data libkf5notifications5 libkf5parts-data libkf5service-bin libkf5service-data
        libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
        libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5
        libkf5xmlgui-data libkwalletbackend5-5 liblapack3 liblensfun-data-v1 liblensfun1 libmagick++-6.q16-8 libmariadb3 libmetis5 libmhash2 libmng1
        libmpv1 libmspub-0.1-1 libmypaint-1.3-0 libmypaint-common libmythes-1.2-0 libneon27-gnutls liboauth0 libodfgen-0.1-1 libopenexr23
        libpagemaker-0.0-0 libpango1.0-0 libpangomm-1.4-1v5 libpangox-1.0-0 libpangoxft-1.0-0 libparted-fs-resize0 libpeas-common libphonon4qt5-4
        libpodofo0.9.6 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpolkit-qt5-1-1 libpoppler-glib8 libpoppler-qt5-1 libportsmf0 libpotrace0 libpugixml1v5
        libpulse-mainloop-glib0 libpython2.7 libpython3.7 libqpdf21 libqrcodegencpp1 libqt5concurrent5 libqt5designer5 libqt5help5 libqt5opengl5
        libqt5positioning5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5script5 libqt5sensors5 libqt5sql5 libqt5sql5-sqlite libqt5test5
        libqt5texttospeech5 libqt5webchannel5 libqt5webengine-data libqt5webenginecore5 libqt5xml5 libqxp-0.0-0 libraptor2-0 librasqal3 libraw19 librdf0
        libre2-5 libreoffice-base-core libreoffice-common libreoffice-core-nogui libreoffice-style-colibre librest-0.7-0 librevenge-0.0-0 libsnmp-base
        libsnmp30 libsoundtouch1 libsoup-gnome2.4-1 libstaroffice-0.0-0 libsynctex2 libtdb1 libumfpack5 libvamp-hostsdk3v5 libvisio-0.1-1
        libvte-2.91-common libvte-common libwmf0.2-7 libwnck-3-common libwoff1 libwpd-0.10-10 libwpg-0.3-3 libwps-0.4-4 libwxbase3.0-0v5 libxklavier16
        libxosd2 libxres1 libyajl2 libzip4 libzmf-0.0-0 mariadb-common mysql-common ndiswrapper ndiswrapper-utils-1.9 netcat netcat-traditional optipng
        phonon4qt5 phonon4qt5-backend-vlc python-apsw python-apt-common python-cairo python-chardet python-cherrypy3 python-css-parser python-cssselect
        python-cssutils python-dateutil python-dbus python-enchant python-enum34 python-feedparser python-gi python-gobject python-gobject-2
        python-html5-parser python-html5lib python-lxml python-markdown python-mechanize python-msgpack python-netifaces python-numpy python-pil
        python-pyexiv2 python-pyparsing python-regex python-repoze.lru python-routes python-sip python-six python-webencodings python3-apt python3-cairo
        python3-cssutils python3-debian python3-distro-info python3-entrypoints python3-gi-cairo python3-keyring python3-nbxmpp python3-precis-i18n
        python3-secretstorage roxterm-common sct shotwell-common sound-theme-freedesktop spacefm-common syslinux-utils thunar-data unattended-upgrades
        winff-data xdg-dbus-proxy xosd-bin
      Veuillez utiliser « sudo apt autoremove » pour les supprimer.
      Les paquets supplémentaires suivants seront installés : 
        anacron audacity-data foomatic-filters gdebi-core libreoffice-core-nogui pinentry-curses transmission-cli transmission-common
      Paquets suggérés :
        default-mta | mail-transport-agent pinentry-doc transmission-daemon transmission-gtk
      Paquets recommandés :
        audacity cups-client | lpr | lprng | rlpr ghostscript paps | cups | enscript | a2ps colord
      Les paquets suivants seront ENLEVÉS :
        add-desktop-antix add-key-antix antix-goodies antix-viewer apt-notifier arandr arc-theme asunder audacity automount-antix blueman
        ca-certificates-java calibre celluloid cherrytree claws-mail claws-mail-i18n claws-mail-pdf-viewer claws-mail-pgpinline claws-mail-pgpmime
        claws-mail-tools clearlooks-phenix-theme clipit codecs-antix connman-ui control-centre-antix cups-core-drivers cups-daemon cups-filters
        cups-filters-core-drivers cups-ipp-utils darktable default-jre default-jre-headless desktop-defaults-rox-antix desktop-defaults-spacefm-antix
        disk-manager ds-mouse-antix exo-utils falkon fbxkb file-roller gajim galculator galternatives gdebi geany gexec gftp-gtk ghostscript gimp
        gir1.2-appindicator3-0.1 gir1.2-gtk-3.0 gir1.2-vte-2.91 gksu gmtp gnome-bluetooth gnome-mahjongg gnome-ppp gparted grsync grubcc-antix
        gtk2-engines-murrine gtkam gtkdialog gtklp guvcview gweled gwenview hexchat inkscape inxi-gui-antix iso-snapshot-antix leafpad libappindicator1
        libappindicator3-1 libayatana-appindicator3-1 libayatana-ido3-0.4-0 libayatana-indicator3-7 libcanberra-gtk3-0 libcolord-gtk1 libcups2
        libcupsfilters1 libcupsimage2 libexif-gtk5 libexo-1-0 libexo-2-0 libgcr-ui-3-1 libgimp2.0 libgksu2-0 libglade2-0 libgnome-bluetooth13 libgs9
        libgtk-3-0 libgtk2.0-0 libgtkmm-2.4-1v5 libgtkmm-3.0-1v5 libgtksourceview2.0-0 libgtkspell0 libgtkspell3-3-0 libhpmud0 libindicator3-7
        libindicator7 libkf5bookmarks5 libkf5kiofilewidgets5 libkf5kipi32.0.0 libkf5parts5 libkf5xmlgui5 libnautilus-extension1a libosmgpsmap-1.0-1
        libpeas-1.0-0 libqt5printsupport5 libqt5webenginewidgets5 libqt5webkit5 libreoffice-calc libreoffice-core libreoffice-draw libreoffice-gtk3
        libreoffice-impress libreoffice-math libreoffice-writer libsuil-0-0 libthunarx-3-0 libvte-2.91-0 libvte9 libwebkit2gtk-4.0-37 libwnck-3-0
        libwxgtk3.0-0v5 libxfce4ui-1-0 libxfce4ui-2-0 lxappearance lxkeymap lxtask midori mirage modem-manager-gui mountbox-antix mtpaint ndisgtk
        notify-osd numix-gtk-theme openjdk-11-jre openjdk-11-jre-headless packageinstaller pinentry-gtk2 prettypink-themes printer-driver-brlaser
        printer-driver-c2050 printer-driver-c2esp printer-driver-dymo printer-driver-escpr printer-driver-foo2zjs printer-driver-hpijs
        printer-driver-m2300w printer-driver-pnm2ppa printer-driver-postscript-hp printer-driver-ptouch printer-driver-sag-gdi python-glade2 python-gtk2
        python-gtksourceview2 python-pyqt5 python-pyqt5.qtsvg python-pyqt5.qtwebkit python-xklavier python3-cups python3-cupshelpers qpdfview
        qt5-gtk-platformtheme qt5-style-plugins rox-filer roxterm-gtk2 screenlight-antix screenshot-antix searchmonkey set-dpi-antix
        set-screen-blank-antix shotwell smtube spacefm synaptic system-config-printer-udev thunar thunar-volman transmission-gtk ubports-installer
        volumeicon-alsa-icons volumeicon-alsa-legacy wallpaper-antix winff winff-gtk2 xfburn yad
      Les NOUVEAUX paquets suivants seront installés :
        anacron foomatic-filters libreoffice-core-nogui pinentry-curses
      Les paquets suivants seront mis à jour :
        audacity-data gdebi-core transmission-cli transmission-common
      4 mis à jour, 4 nouvellement installés, 193 à enlever et 72 non mis à jour.
      Il est nécessaire de prendre 36,5 Mo dans les archives.
      Après cette opération, 1 113 Mo d'espace disque seront libérés.
      Souhaitez-vous continuer ? [O/n]

      So if anyone see this problem, I have this line, is back on my menu-application of .fluxbox … And When I delete and restart my computer, I see this line again. How to delete definitively google chrome on my menu-application or my distro ? Thank you !

      [exec] (Google Chrome) {/usr/bin/google-chrome-stable } </usr/share/icons/papirus-antix/48x48/apps/google-chrome.png>
      

      $ uname -r
      4.9.212-antix.1-amd64-smp
      Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
      my xmpp : weerbor@jabber.fr

      #44082
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        Simply put, you can’t.
        On my box, aptitude shows several packages depending on libcups2

        The following packages will be REMOVED:  
          libcups2{p} 
        0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
        Need to get 0 B of archives. After unpacking 753 kB will be freed.
        The following packages have unmet dependencies:
         libgtk-3-0 : Depends: libcups2 (>= 1.6.0) but it is not going to be installed
         libgs9 : Depends: libcups2 (>= 1.4.0) but it is not going to be installed
         libreoffice-core : Depends: libcups2 (>= 1.7.0) but it is not going to be installed
         libcups2-dev : Depends: libcups2 (= 2.2.10-6+deb10u3) but it is not going to be installed
         google-chrome-stable : Depends: libcups2 (>= 1.4.0) but it is not going to be installed
         libgtk2.0-0 : Depends: libcups2 (>= 1.6.0) but it is not going to be installed
         teams : Depends: libcups2 (>= 1.4.0) but it is not going to be installed
         skypeforlinux : Depends: libcups2 (>= 1.4.0) but it is not going to be installed
         openjdk-11-jre-headless : Depends: libcups2 but it is not going to be installed
         libqt5printsupport5 : Depends: libcups2 (>= 1.4.0) but it is not going to be installed
         libcupsfilters1 : Depends: libcups2 (>= 1.7.0) but it is not going to be installed
         darktable : Depends: libcups2 (>= 1.7.0) but it is not going to be installed
         libcupsimage2 : Depends: libcups2 (= 2.2.10-6+deb10u3) but it is not going to be installed
         gtklp : Depends: libcups2 (>= 1.6.0) but it is not going to be installed
         qpdfview : Depends: libcups2 (>= 1.4.0) but it is not going to be installed
         teams-insiders : Depends: libcups2 (>= 1.4.0) but it is not going to be installed
        The following actions will resolve these dependencies:

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #44088
        Member
        Xecure
          Helpful
          Up
          0
          ::

          libcups is not only for google chrome. Other programs use it.
          If you no longer want to see google chrome on you menus, do:

          sudo rm /usr/share/applications/google-chrome.desktop
          sudo desktop-menu --write-out-global

          Your google chrome binary is no longer in the system so there is no more you need to do. But if you want to also delete the other files I mentioned here, you need to do it one by one in terminal. Copy the path of the files I listed for you in that topic and do:
          sudo rm /path/to/file
          replacing /path/to/file with each of the ones I listed.

          antiX Live system enthusiast.
          General Live Boot Parameters for antiX.

          #44092
          Member
          Dzhigit
            Helpful
            Up
            0
            ::

            It is because libgtk-3-0 and libgtk2.0-0 both depend on libcups2. If libcups2 is removed or purged, the same will happen to all applications that use either GTK2 or GTK3 as the widget toolkit. Which for me is all applications other than the GTK1-based XMMS and Athena-based GV.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.