RPi-Distro / repo

Issue tracking for the archive.raspberrypi.org repo
37 stars 1 forks source link

By uninstalling software, fonts get installed #242

Closed dilyanpalauzov closed 3 years ago

dilyanpalauzov commented 3 years ago

I load 2021-03-04-raspios-buster-armhf.img and then call

apt-get install fonts-noto-color-emoji fonts-symbolia … apt-get purge -y --autoremove thonny lxplug-bluetooth vlc cups cups-common cups-daemon ffmpeg gdb git gcc binutils pulseaudio make manpages dillo galculator geany strace man-db aspell ghostscript gpicview rp-bookshelf gstreamer1.0-alsa gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-libav xarchiver system-config-printer rsyslog logrotate cron bluez blt groff-base gvfs luajit cifs-utils debian-reference-common dh-python qpdfview rsync pigpio raspi-gpio rpi.gpio-common:armhf wiringpi python-pigpio python3-pigpio python3-gpiozero python-gpiozero avahi-daemon wamerican wbritish info python3-gi python3-jwt python3-flask python-dev python3-mote python-jwt python-mote python-numpy python3-numpy linux-libc-dev libmnl-dev libraspberrypi-dev ed gcc-4.9-base gcc-5-base gcc-6-base gcc-7-base busybox javascript-common hyphen-en-gb ncdu bzip2 vim-common realvnc-vnc-server nfs-common libmtp-common python-apt-common libsane-common libzvbi-common patch install-info pypy pi-printer-support python3-chardet python3-scrollphat python3-serial python3-buttonshim python3-fourletterphat python3-piglow python3-six python3-setuptools python3-xdg python3-pantilthat python3-smbus python3-spidev python3-lib2to3 python3.7-venv python-certifi python-piglow python-scrollphat python-jinja2 python-buttonshim python-serial python-xdg python-enum34 python-crypto python-fourletterphat python-spidev xxd python-pantilthat python-setuptools python-wheel python-pip python-sn3218 uuid lxde-icon-theme libzmq5 fuse unzip pigz tasksel gnome-icon-theme pixflat-icons rpd-wallpaper raspberrypi-artwork rp-prefapps debconf-utils pkg-config gnome-themes-extra gtk2-engines gtk2-engines-pixbuf gtk2-engines-pixflat gtk2-engines-clearlookspix ibverbs-providers libraspberrypi-doc v4l-utils chromium-browser

The output is below. apt-cache rdepends fonts-dejavu shows that no package depends on fonts-dejavu.

Why does removing software lead to installing fonts and how can I avoid this?

Reading package lists... Done                                                                                                                                 
Building dependency tree                                                                                                                                      
Reading state information... Done                                                                                                                             
The following additional packages will be installed:                                                                                                          
  fonts-dejavu fonts-dejavu-extra                                                                                                                             
The following packages will be REMOVED:                                                                                                                       
  acl* apt-listchanges* arandr* aspell* aspell-en* avahi-daemon* bc*                                                                                          
  bind9-host* binutils* binutils-arm-linux-gnueabihf* binutils-common* blt*                                                                                   
  bluez* bluez-firmware* build-essential* busybox* bzip2* chromium-browser*                                                                                   
  chromium-browser-l10n* chromium-codecs-ffmpeg-extra* cifs-utils* colord*                                                                                    
  colord-data* cron* cups* cups-browsed* cups-client* cups-common*                                                                                            
  cups-core-drivers* cups-daemon* cups-filters* cups-filters-core-drivers*                                                                                    
  cups-ipp-utils* cups-pk-helper* cups-ppdc* cups-server-common*                                                                                              
  debconf-utils* debian-reference-common* debian-reference-en* dh-python*                                                                                     
  dillo* docutils-common* dpkg-dev* ed* fakeroot* ffmpeg* flashrom*                                                                                           
  fonts-freefont-ttf* fuse* g++* g++-8* galculator* gcc* gcc-4.9-base*                                                                                        
  gcc-5-base* gcc-6-base* gcc-7-base* gcc-8* gdb* gdisk* geany* geany-common*                                                                                 
  geoip-database* ghostscript* gir1.2-notify-0.7* gir1.2-packagekitglib-1.0*                                                                                  
  gir1.2-polkit-1.0* gir1.2-secret-1* git* git-man*                                                                                                           
  gnome-accessibility-themes* gnome-icon-theme* gnome-themes-extra*                                                                                           
  gnome-themes-extra-data* gnome-themes-standard* gpicview* groff-base*                                                                                       
  gsfonts* gstreamer1.0-alsa* gstreamer1.0-libav* gstreamer1.0-omx*                                                                                           
  gstreamer1.0-omx-rpi* gstreamer1.0-omx-rpi-config* gstreamer1.0-plugins-bad*                                                                                
  gstreamer1.0-plugins-base* gstreamer1.0-plugins-good* gstreamer1.0-x*                                                                                       
  gtk2-engines* gtk2-engines-clearlookspix* gtk2-engines-pixbuf*                                                                                              
  gtk2-engines-pixflat* gvfs* gvfs-backends* gvfs-common* gvfs-daemons*                                                                                       
  gvfs-fuse* gvfs-libs* hplip* hplip-data* hyphen-en-gb* ibverbs-providers*                                                                                   
  info* install-info* javascript-common* keyutils* liba52-0.7.4* libaa1*                                                                                      
  libalgorithm-diff-perl* libalgorithm-diff-xs-perl* libalgorithm-merge-perl*
  libaom0* libarchive13* libaribb24-0* libasan5* libasound2-plugins* libass9*
  libasyncns0* libatasmart4* libavahi-core7* libavahi-glib1* libavc1394-0*
  libavcodec58* libavdevice58* libavfilter7* libavformat58* libavresample4*
  libavutil56* libbabeltrace1* libbasicusageenvironment1* libbind9-161*
  libbinutils* libblas3* libblockdev-fs2* libblockdev-loop2*
  libblockdev-part-err2* libblockdev-part2* libblockdev-swap2*
  libblockdev-utils2* libblockdev2* libbluray2* libbs2b0* libc-dev-bin*
  libc6-dbg* libc6-dev* libcaca0* libcc1-0* libcddb2* libcdio-cdda2*
  libcdio-paranoia2* libcdio18* libcdparanoia0* libchromaprint1*
  libcodec2-0.8.1* libcolorhug2* libcupsfilters1* libcupsimage2* libdaemon0*
  libdav1d3* libdc1394-22* libdca0* libde265-0* libdjvulibre-text*
  libdjvulibre21* libdns1104* libdouble-conversion1* libdpkg-perl* libdv4*
  libdvbpsi10* libdvdnav4* libdvdread4* libdw1* libebml4v5* liberror-perl*
  libevent-2.1-6* libexpat1-dev* libfaad2* libfakeroot* libfftw3-double3*
  libfile-fcntllock-perl* libfl2* libflac8* libflite1* libfltk1.3*
  libfluidsynth1* libfontembed1* libfreetype6-dev* libfstrm0* libftdi1-2*
  libfuse2* libgcc-8-dev* libgck-1-0* libgcr-base-3-1* libgd3*
  libgdata-common* libgdata22* libgeoip1* libgfortran5* libgme0*
  libgoa-1.0-0b* libgoa-1.0-common* libgphoto2-6* libgphoto2-port12*
  libgroupsock8* libgs9* libgs9-common* libgsm1* libgssdp-1.0-3*
  libgstreamer-plugins-bad1.0-0* libgupnp-1.0-4* libgupnp-igd-1.0-4* libgusb2*
  libgutenprint-common* libgutenprint9* libhpmud0* libiec61883-0*
  libieee1284-3* libijs-0.35* libilmbase23* libimagequant0* libimobiledevice6*
  libisc1100* libisccc161* libisccfg163* libixml10* libjack-jackd2-0*
  libjansson4* libjbig2dec0* libjs-jquery* libjs-sphinxdoc* libjs-underscore*
  libkate1* liblapack3* libldb1* liblilv-0-0* liblirc-client0* liblivemedia64*
  liblmdb0* liblouis-data* liblouis17* liblouisutdml-bin* liblouisutdml-data*
  liblouisutdml8* liblua5.2-0* libluajit-5.1-2* libluajit-5.1-common*
  liblwres161* libmad0* libmariadb3* libmatroska6v5* libmikmod3*
  libmjpegutils-2.1-0* libmms0* libmnl-dev* libmodplug1* libmp3lame0*
  libmpcdec6* libmpeg2-4* libmpeg2encpp-2.1-0* libmpg123-0* libmplex2-2.1-0*
  libmtp-common* libmtp-runtime* libmtp9* libmysofa0* libnfs12* libnfsidmap2*
  libnice10* libnorm1* libnss-mdns* libntfs-3g883* liboauth0* libofa0*
  libopenal-data* libopenal1* libopenexr23* libopenmpt-modplug1* libopenmpt0*
  libopus0* libossp-uuid16* libpaper-utils* libpaper1* libparted-fs-resize0*
  libpcre2-16-0* libpgm-5.2-0* libpigpio-dev* libpigpio1* libpigpiod-if-dev*
  libpigpiod-if1* libpigpiod-if2-1* libplacebo7* libplist3* libpng-dev*
  libpng-tools* libpoppler-qt5-1* libpoppler82* libportmidi0* libpostproc55*
  libprotobuf-c1* libprotobuf-lite17* libproxy-tools* libpulse0* libpulsedsp*
  libpython-all-dev* libpython-dev* libpython2-dev* libpython2.7*
  libpython2.7-dev* libpython3-dev* libpython3.7* libpython3.7-dev* libqpdf21*
  libqt5concurrent5* libqt5core5a* libqt5dbus5* libqt5gui5* libqt5network5*
  libqt5printsupport5* libqt5sql5* libqt5sql5-sqlite* libqt5svg5*
  libqt5widgets5* libqt5x11extras5* libqt5xml5* libraspberrypi-dev*
  libraspberrypi-doc* libraw1394-11* libresid-builder0c2a* librtimulib-dev*
  librtimulib-utils* librtimulib7* librubberband2* libsane* libsane-common*
  libsane-hpaio* libsbc1* libsdl-image1.2* libsdl-mixer1.2* libsdl-ttf2.0-0*
  libsdl1.2debian* libsdl2-2.0-0* libserd-0-0* libshine3* libshout3*
  libsidplay2* libsmbclient* libsnappy1v5* libsndfile1* libsndio7.0*
  libsnmp-base* libsnmp30* libsodium23* libsord-0-0* libsoundtouch1* libsoxr0*
  libspandsp2* libspatialaudio0* libspectre1* libspeex1* libspeexdsp1*
  libsratom-0-0* libsrtp2-1* libssh-gcrypt-4* libstdc++-8-dev* libswresample3*
  libswscale5* libsynctex2* libtag1v5* libtag1v5-vanilla* libtalloc2*
  libtcl8.6* libtevent0* libtheora0* libtk8.6* libtwolame0* libubsan1*
  libudisks2-0* libupnp13* libusageenvironment3* libusb-0.1-4* libusbmuxd4*
  libv4l-0* libv4l2rds0* libv4lconvert0* libva-drm2* libva-x11-2* libva2*
  libvdpau-va-gl1* libvdpau1* libvidstab1.1* libvisual-0.4-0* libvlc-bin*
  libvlc5* libvlccore9* libvo-aacenc0* libvo-amrwbenc0* libvorbisenc2*
  libvpx5* libvulkan1* libwavpack1* libwbclient0* libwebpmux3*
  libwebrtc-audio-processing1* libwildmidi2* libx264-155* libx265-165*
  libxcb-icccm4* libxcb-image0* libxcb-keysyms1* libxcb-randr0*
  libxcb-render-util0* libxcb-xinerama0* libxcb-xkb1* libxcb-xv0*
  libxkbcommon-x11-0* libxss1* libxvidcore4* libzbar0* libzmq5*
  libzvbi-common* libzvbi0* linux-libc-dev* logrotate* luajit* lxde*
  lxde-icon-theme* lxplug-bluetooth* lxplug-ptbatt* lxplug-volumepulse* make*
  man-db* manpages* manpages-dev* mariadb-common* mesa-va-drivers*
  mesa-vdpau-drivers* mypy* mysql-common* ncdu* nfs-common* ntfs-3g*
  omxplayer* patch* pi-bluetooth* pi-printer-support* piclone* pigpio*
  pigpio-tools* pigpiod* pigz* pixflat-icons* pkg-config* poppler-data*
  poppler-utils* printer-driver-escpr* printer-driver-gutenprint*
  printer-driver-hpcups* printer-driver-postscript-hp* pulseaudio*
  pulseaudio-module-bluetooth* pulseaudio-utils* pylint3* pypy* pypy-lib*
  python-all* python-all-dev* python-apt-common* python-asn1crypto*
  python-automationhat* python-blinker* python-blinkt* python-buttonshim*
  python-cairo* python-cap1xxx* python-certifi* python-cffi-backend*
  python-chardet* python-click* python-colorama* python-colorzero*
  python-configparser* python-cookies* python-crypto* python-cryptography*
  python-dbus* python-dev* python-drumhat* python-entrypoints* python-enum34*
  python-envirophat* python-explorerhat* python-flask* python-fourletterphat*
  python-funcsigs* python-gobject-2* python-gpiozero* python-gtk2*
  python-idna* python-ipaddress* python-itsdangerous* python-jinja2*
  python-jwt* python-keyring* python-keyrings.alt* python-markupsafe*
  python-microdotphat* python-mock* python-mote* python-motephat*
  python-numpy* python-oauthlib* python-olefile* python-openssl*
  python-pantilthat* python-pbr* python-phatbeat* python-pianohat*
  python-picamera* python-piglow* python-pigpio* python-pil* python-pip*
  python-pip-whl* python-pkg-resources* python-pygame* python-pyinotify*
  python-rainbowhat* python-requests* python-requests-oauthlib*
  python-responses* python-rpi.gpio* python-rtimulib* python-scrollphat*
  python-scrollphathd* python-secretstorage* python-sense-hat* python-serial*
  python-setuptools* python-simplejson* python-six* python-skywriter*
  python-sn3218* python-spidev* python-talloc* python-tk* python-touchphat*
  python-twython* python-unicornhathd* python-urllib3* python-werkzeug*
  python-wheel* python-xdg* python2-dev* python2.7-dev* python3-apt*
  python3-asn1crypto* python3-astroid* python3-asttokens*
  python3-automationhat* python3-blinker* python3-blinkt* python3-bs4*
  python3-buttonshim* python3-cairo* python3-cap1xxx* python3-certifi*
  python3-cffi-backend* python3-chardet* python3-click* python3-colorama*
  python3-colorzero* python3-cookies* python3-crypto* python3-cryptography*
  python3-cups* python3-cupshelpers* python3-dbus* python3-debconf*
  python3-dev* python3-distutils* python3-docutils* python3-drumhat*
  python3-entrypoints* python3-envirophat* python3-explorerhat* python3-flask*
  python3-fourletterphat* python3-gi* python3-gpiozero* python3-html5lib*
  python3-idna* python3-isort* python3-itsdangerous* python3-jedi*
  python3-jinja2* python3-jwt* python3-keyring* python3-keyrings.alt*
  python3-lazy-object-proxy* python3-lib2to3* python3-logilab-common*
  python3-lxml* python3-markupsafe* python3-mccabe* python3-microdotphat*
  python3-mote* python3-motephat* python3-mypy* python3-mypy-extensions*
  python3-numpy* python3-oauthlib* python3-olefile* python3-openssl*
  python3-pantilthat* python3-parso* python3-pexpect* python3-pgzero*
  python3-phatbeat* python3-pianohat* python3-picamera* python3-piglow*
  python3-pigpio* python3-pil* python3-pip* python3-pkg-resources*
  python3-psutil* python3-ptyprocess* python3-pygame* python3-pygments*
  python3-pyinotify* python3-rainbowhat* python3-renderpm* python3-reportlab*
  python3-reportlab-accel* python3-requests* python3-requests-oauthlib*
  python3-responses* python3-roman* python3-rpi.gpio* python3-rtimulib*
  python3-scrollphat* python3-scrollphathd* python3-secretstorage*
  python3-send2trash* python3-sense-hat* python3-serial* python3-setuptools*
  python3-simplejson* python3-six* python3-skywriter* python3-smbc*
  python3-smbus* python3-sn3218* python3-soupsieve* python3-spidev*
  python3-tk* python3-touchphat* python3-twython* python3-typed-ast*
  python3-unicornhathd* python3-urllib3* python3-venv* python3-webencodings*
  python3-werkzeug* python3-wheel* python3-wrapt* python3-xdg* python3.7-dev*
  python3.7-venv* qpdfview* qpdfview-djvu-plugin* qpdfview-ps-plugin*
  qpdfview-translations* qt5-gtk-platformtheme* qt5-style-plugins* qt5ct*
  qttranslations5-l10n* raspberrypi-artwork* raspi-gpio* raspinfo*
  realvnc-vnc-server* rp-bookshelf* rp-prefapps* rpcbind* rpd-wallpaper*
  rpi-chromium-mods* rpi-eeprom* rpi-update* rpi.gpio-common* rsync* rsyslog*
  rtkit* samba-libs* sane-utils* sense-hat* sgml-base* ssh-import-id*
  ssl-cert* strace* system-config-printer* system-config-printer-common*
  system-config-printer-udev* tasksel* tasksel-data* thonny*
  timgm6mb-soundfont* tk8.6-blt2.5* udisks2* unzip* update-inetd* uuid*
  v4l-utils* va-driver-all* vdpau-driver-all* vim-common* vim-tiny* vlc*
  vlc-bin* vlc-data* vlc-l10n* vlc-plugin-base* vlc-plugin-notify*
  vlc-plugin-qt* vlc-plugin-samba* vlc-plugin-skins2* vlc-plugin-video-output*
  vlc-plugin-video-splitter* vlc-plugin-visualization* wamerican* wbritish*
  wiringpi* xarchiver* xml-core* xsel* xxd* zlib1g-dev*
The following NEW packages will be installed:
  fonts-dejavu fonts-dejavu-extra
0 upgraded, 2 newly installed, 735 to remove and 0 not upgraded.
Need to get 32.3 kB/2,014 kB of archives.
After this operation, 1,548 MB disk space will be freed.
Get:1 http://quantum-mirror.hu/mirrors/pub/raspbian/raspbian buster/main armhf fonts-dejavu all 2.37-1 [32.3 kB]
…
XECDesign commented 3 years ago

apt's dependency resolution can be iffy when doing things like this.

It looks like lxde depends on galculator | gnome-calculator. Since you're removing galculator, it's trying to install gnome-calculator and pulls in its dependency on yelp, which then pulls in the packages you're seeing. Then it decides to remove LXDE instead, but still keeps the dependencies of yelp for whatever reason. You can help it along by adding lxde or gnome-calculator to your list of packages you're removing. Another alternative is to add the packages which get installed to the list, since even if they're not installed, it tells apt to not try.