EDM115 / unzip-bot

Telegram bot deployable to heroku that can extract every archive !
https://t.me/unzip_edm115bot
MIT License
91 stars 125 forks source link

slim Dockerfile (UNTESTED !) #250

Closed EDM115 closed 5 months ago

EDM115 commented 9 months ago

249

EDM115 commented 9 months ago
#6 23.27 checking dependencies...
#6 23.27 warning: removing alsa-lib from target list
#6 23.27 warning: removing fontconfig from target list
#6 23.27 warning: removing gsm from target list
#6 23.27 warning: removing jack2 from target list
#6 23.27 warning: removing libass from target list
#6 23.27 warning: removing libbluray from target list
#6 23.27 warning: removing libbs2b from target list
#6 23.27 warning: removing freetype2 from target list
#6 23.27 warning: removing libiec61[883](https://github.com/EDM115/unzip-bot/actions/runs/6889744092/job/18741365259#step:6:888) from target list
#6 23.27 warning: removing libjxl from target list
#6 23.27 warning: removing libopenmpt from target list
#6 23.27 warning: removing libpulse from target list
#6 23.27 warning: removing librsvg from target list
#6 23.27 warning: removing libtheora from target list
#6 23.27 warning: removing libva from target list
#6 23.27 warning: removing libvdpau from target list
#6 23.27 warning: removing vid.stab from target list
#6 23.27 warning: removing libwebp from target list
#6 23.27 warning: removing libx11 from target list
#6 23.27 warning: removing libxcb from target list
#6 23.27 warning: removing libxext from target list
#6 23.27 warning: removing libxv from target list
#6 23.27 warning: removing zimg from target list
#6 23.27 warning: removing ocl-icd from target list
#6 23.27 warning: removing onevpl from target list
#6 23.27 warning: removing openjpeg2 from target list
#6 23.27 warning: removing sdl2 from target list
#6 23.27 warning: removing speex from target list
#6 23.27 warning: removing v4l-utils from target list
#6 23.27 warning: removing vmaf from target list
#6 23.27 warning: removing vulkan-icd-loader from target list
#6 23.27 warning: removing perl from target list
#6 23.27 warning: removing perl-error from target list
#6 23.27 warning: removing perl-mailtools from target list
#6 23.27 warning: removing pcre2 from target list
#6 23.27 warning: removing libusb from target list
#6 23.27 warning: removing sqlite from target list
#6 23.27 warning: removing mesa from target list
#6 23.27 warning: removing alsa-topology-conf from target list
#6 23.27 warning: removing alsa-ucm-conf from target list
#6 23.27 warning: removing libpng from target list
#6 23.27 warning: removing harfbuzz from target list
#6 23.27 warning: removing db5.3 from target list
#6 23.27 warning: removing libsamplerate from target list
#6 23.27 warning: removing libsndfile from target list
#6 23.27 warning: removing giflib from target list
#6 23.27 warning: removing gperftools from target list
#6 23.27 warning: removing highway from target list
#6 23.27 warning: removing libjpeg-turbo from target list
#6 23.27 warning: removing openexr from target list
#6 23.27 warning: removing flac from target list
#6 23.27 warning: removing mpg123 from target list
#6 23.27 warning: removing portaudio from target list
#6 23.27 warning: removing libasyncns from target list
#6 23.27 warning: removing cairo from target list
#6 23.27 warning: removing gdk-pixbuf2 from target list
#6 23.27 warning: removing pango from target list
#6 23.27 warning: removing libxfixes from target list
#6 23.27 warning: removing wayland from target list
#6 23.27 warning: removing libtiff from target list
#6 23.27 warning: removing xorgproto from target list
#6 23.27 warning: removing xcb-proto from target list
#6 23.27 warning: removing libxdmcp from target list
#6 23.27 warning: removing libxau from target list
#6 23.27 warning: removing libunwind from target list
#6 23.27 warning: removing libxdamage from target list
#6 23.27 warning: removing libxshmfence from target list
#6 23.27 warning: removing libxxf86vm from target list
#6 23.27 warning: removing llvm-libs from target list
#6 23.27 warning: removing lm_sensors from target list
#6 23.27 warning: removing libomxil-bellagio from target list
#6 23.27 warning: removing lcms2 from target list
#6 23.27 warning: removing db from target list
#6 23.27 warning: removing perl-timedate from target list
#6 23.27 warning: removing libxrender from target list
#6 23.27 warning: removing libxcursor from target list
#6 23.27 warning: removing hidapi from target list
#6 23.27 warning: removing speexdsp from target list
#6 23.27 warning: removing hicolor-icon-theme from target list
#6 23.27 warning: removing lzo from target list
#6 23.27 warning: removing pixman from target list
#6 23.27 warning: removing shared-mime-info from target list
#6 23.27 warning: removing graphite from target list
#6 23.27 warning: removing jbigkit from target list
#6 23.27 warning: removing default-cursors from target list
#6 23.27 warning: removing libedit from target list
#6 23.27 warning: removing imath from target list
#6 23.27 warning: removing libdeflate from target list
#6 23.27 warning: removing libthai from target list
#6 23.27 warning: removing libxft from target list
#6 23.27 warning: removing libdatrie from target list
#6 23.27  there is nothing to do
#6 23.29 error: no targets specified (use -h for help)
#6 ERROR: process "/bin/sh -c pacman -Syyu --noconfirm &&     pacman -S --noconfirm python-pip zstd p7zip git ffmpeg &&     pacman -Rsu --noconfirm cairo alsa-lib default-cursors fontconfig freetype2     gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath     jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl     libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva     libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp     libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd     onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate     perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils     vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg &&     pacman -Rnsu $(pacman -Qdtq) &&     pacman -Scc --noconfirm" did not complete successfully: exit code: 1
------
 > [2/5] RUN pacman -Syyu --noconfirm &&     pacman -S --noconfirm python-pip zstd p7zip git ffmpeg &&     pacman -Rsu --noconfirm cairo alsa-lib default-cursors fontconfig freetype2     gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath     jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl     libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva     libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp     libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd     onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate     perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils     vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg &&     pacman -Rnsu $(pacman -Qdtq) &&     pacman -Scc --noconfirm:
23.27 warning: removing jbigkit from target list
23.27 warning: removing default-cursors from target list
23.27 warning: removing libedit from target list
23.27 warning: removing imath from target list
23.27 warning: removing libdeflate from target list
23.27 warning: removing libthai from target list
23.27 warning: removing libxft from target list
23.27 warning: removing libdatrie from target list
23.27  there is nothing to do
23.29 error: no targets specified (use -h for help)
------
Dockerfile:3
--------------------
   2 |     
   3 | >>> RUN pacman -Syyu --noconfirm && \
   4 | >>>     pacman -S --noconfirm python-pip zstd p7zip git ffmpeg && \
   5 | >>>     pacman -Rsu --noconfirm cairo alsa-lib default-cursors fontconfig freetype2 \
   6 | >>>     gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath \
   7 | >>>     jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl \
   8 | >>>     libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva \
   9 | >>>     libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp \
  10 | >>>     libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd \
  11 | >>>     onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate \
  12 | >>>     perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils \
  13 | >>>     vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg && \
  14 | >>>     pacman -Rnsu $(pacman -Qdtq) && \
  15 | >>>     pacman -Scc --noconfirm
  16 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c pacman -Syyu --noconfirm &&     pacman -S --noconfirm python-pip zstd p7zip git ffmpeg &&     pacman -Rsu --noconfirm cairo alsa-lib default-cursors fontconfig freetype2     gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath     jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl     libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva     libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp     libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd     onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate     perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils     vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg &&     pacman -Rnsu $(pacman -Qdtq) &&     pacman -Scc --noconfirm" did not complete successfully: exit code: 1
EDM115 commented 9 months ago
sh-5.2# pacman
error: no operation specified (use -h for help)
sh-5.2# sudo pacman -h
sh: sudo: command not found
sh-5.2# pacman -h
usage:  pacman <operation> [...]
operations:
    pacman {-h --help}
    pacman {-V --version}
    pacman {-D --database} <options> <package(s)>
    pacman {-F --files}    [options] [file(s)]
    pacman {-Q --query}    [options] [package(s)]
    pacman {-R --remove}   [options] <package(s)>
    pacman {-S --sync}     [options] [package(s)]
    pacman {-T --deptest}  [options] [package(s)]
    pacman {-U --upgrade}  [options] <file(s)>

use 'pacman {-h --help}' with an operation for available options
sh-5.2# pacman -Ru cairo
checking dependencies...
warning: removing cairo from target list
 there is nothing to do
sh-5.2# pacman -Ru alsa-lib
checking dependencies...
warning: removing alsa-lib from target list
 there is nothing to do
sh-5.2# pacman -Ru --noconfirm cairo alsa-lib default-cursors fontconfig freetype2 \
    gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath \
    jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl \
    libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva \
    libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp \
    libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd \
    onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate \
    perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils \
    vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg
checking dependencies...
warning: removing alsa-lib from target list
warning: removing fontconfig from target list
warning: removing gsm from target list
warning: removing jack2 from target list
warning: removing libass from target list
warning: removing libbluray from target list
warning: removing libbs2b from target list
warning: removing freetype2 from target list
warning: removing libiec61883 from target list
warning: removing libjxl from target list
warning: removing libopenmpt from target list
warning: removing libpulse from target list
warning: removing librsvg from target list
warning: removing libtheora from target list
warning: removing libva from target list
warning: removing libvdpau from target list
warning: removing vid.stab from target list
warning: removing libwebp from target list
warning: removing libx11 from target list
warning: removing libxcb from target list
warning: removing libxext from target list
warning: removing libxv from target list
warning: removing zimg from target list
warning: removing ocl-icd from target list
warning: removing onevpl from target list
warning: removing openjpeg2 from target list
warning: removing sdl2 from target list
warning: removing speex from target list
warning: removing v4l-utils from target list
warning: removing vmaf from target list
warning: removing vulkan-icd-loader from target list
warning: removing perl from target list
warning: removing perl-error from target list
warning: removing perl-mailtools from target list
warning: removing pcre2 from target list
warning: removing libusb from target list
warning: removing sqlite from target list
warning: removing mesa from target list
warning: removing mpg123 from target list
warning: removing libpng from target list
warning: removing harfbuzz from target list
warning: removing giflib from target list
warning: removing gperftools from target list
warning: removing libjpeg-turbo from target list
warning: removing openexr from target list
warning: removing portaudio from target list
warning: removing cairo from target list
warning: removing gdk-pixbuf2 from target list
warning: removing pango from target list
warning: removing libxfixes from target list
warning: removing wayland from target list
warning: removing libtiff from target list
warning: removing xorgproto from target list
warning: removing libxdmcp from target list
warning: removing libxau from target list
warning: removing libxdamage from target list
warning: removing libxxf86vm from target list
warning: removing lcms2 from target list
warning: removing perl-timedate from target list
warning: removing libxrender from target list
warning: removing libxcursor from target list
warning: removing hidapi from target list
warning: removing speexdsp from target list
warning: removing hicolor-icon-theme from target list
warning: removing pixman from target list
warning: removing default-cursors from target list
warning: removing imath from target list
warning: removing libthai from target list
warning: removing libxft from target list
 there is nothing to do
sh-5.2# pacman -Rnsu $(pacman -Qdtq)
error: no targets specified (use -h for help)
sh-5.2# pacman -Rnsu < pacman -Qdtq
sh: pacman: No such file or directory
sh-5.2# pacman -Qdtq
sh-5.2# pacman -Scc

Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache...

Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories...
sh-5.2# ffmpeg
ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.1 (GCC) 20230801
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
sh-5.2# pacman -S yt-dlp
resolving dependencies...
looking for conflicting packages...

Package (2)           New Version   Net Change  Download Size

extra/python-certifi  2023.07.22-1    0.02 MiB       0.01 MiB
extra/yt-dlp          2023.11.16-1   31.73 MiB       4.75 MiB

Total Download Size:    4.76 MiB
Total Installed Size:  31.75 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 yt-dlp-2023.11.16-1-any downloading...
 python-certifi-2023.07.22-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing python-certifi...
installing yt-dlp...
Optional dependencies for yt-dlp
    ffmpeg: for video post-processing [installed]
    rtmpdump: for rtmp streams support
    atomicparsley: for embedding thumbnails into m4a files
    aria2: for using aria2 as external downloader
    python-mutagen: for embedding thumbnail in certain formats
    python-pycryptodomex: for decrypting AES-128 HLS streams and various other data
    python-websockets: for downloading over websocket
    python-brotli: brotli content encoding support
    python-brotlicffi: brotli content encoding support
    python-xattr: for writing xattr metadata
    python-pyxattr: for writing xattr metadata (alternative option)
    phantomjs: for extractors with javascript code
    python-secretstorage: For -cookies-from-browser to access the GNOME keyring while decrypting cookies of Chromium-based browsers
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
sh-5.2# pacman -S neofetch
resolving dependencies...
looking for conflicting packages...

Package (1)     New Version  Net Change  Download Size

extra/neofetch  7.1.0-2        0.33 MiB       0.08 MiB

Total Download Size:   0.08 MiB
Total Installed Size:  0.33 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 neofetch-7.1.0-2-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing neofetch...
Optional dependencies for neofetch
    catimg: Display Images
    chafa: Image to text support
    feh: Wallpaper Display
    imagemagick: Image cropping / Thumbnail creation / Take a screenshot
    jp2a: Display Images
    libcaca: Display Images
    nitrogen: Wallpaper Display
    w3m: Display Images
    xdotool: See https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal
    xorg-xdpyinfo: Resolution detection (Single Monitor)
    xorg-xprop: Desktop Environment and Window Manager
    xorg-xrandr: Resolution detection (Multi Monitor + Refresh rates)
    xorg-xwininfo: See https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
sh-5.2# neofetch
                   -`root@a89f6516d9a2 
                  .o+`----------------- 
                 `ooo/OS: Arch Linux on Windows 10 x86_64 
                `+oooo:Kernel: 5.15.133.1-microsoft-standard-WSL2 
               `+oooooo:Uptime: 32 mins 
               -+oooooo+:Packages: 247 (pacman) 
             `/:-:++oooo+:Shell: bash 5.2.15 
            `/++++/+++++++:CPU: AMD Ryzen 5 5500U with Radeon Graphics (12) @ 2.095GHz 
           `/++++++++++++++:GPU: aeb4:00:00.0 Microsoft Corporation Basic Render Driver 
          `/+++ooooooooooooo/`Memory: 1308MiB / 6859MiB 
         ./ooosssso++osssssso+`
        .oossssso-````/ossssss+`                        
       -osssssso.      :ssssssso.                        
      :osssssss/        osssso+++.
     /ossssssss/        +ssssooo/-
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `/

sh-5.2# pacman -Rcnsu --noconfirm cairo alsa-lib default-cursors fontconfig freetype2 \
    gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath \
    jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl \
    libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva \
    libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp \
    libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd \
    onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate \
    perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils \
    vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg
checking dependencies...
:: e2fsprogs optionally requires util-linux: for e2scrub
:: glibc optionally requires perl: for mtrace
:: openssl optionally requires perl
:: python optionally requires sqlite: for a default database integration
:: yt-dlp optionally requires ffmpeg: for video post-processing
warning: dependency cycle detected:
warning: harfbuzz will be removed after its freetype2 dependency
warning: dependency cycle detected:
warning: mesa will be removed after its libglvnd dependency
warning: pacman is designated as a HoldPkg.
:: HoldPkg was found in target list. Do you want to continue? [y/N] 
sh-5.2# pacman -Rcnsu --noconfirm cairo alsa-lib default-cursors fontconfig freetype2     gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath     jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl     libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva     libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp     libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd     onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate     perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils     vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg --noconfirm
checking dependencies...
:: e2fsprogs optionally requires util-linux: for e2scrub
:: glibc optionally requires perl: for mtrace
:: openssl optionally requires perl
:: python optionally requires sqlite: for a default database integration
:: yt-dlp optionally requires ffmpeg: for video post-processing
warning: dependency cycle detected:
warning: harfbuzz will be removed after its freetype2 dependency
warning: dependency cycle detected:
warning: mesa will be removed after its libglvnd dependency
warning: pacman is designated as a HoldPkg.
:: HoldPkg was found in target list. Do you want to continue? [y/N] 
sh-5.2# pacman -Rcnsu --noconfirm cairo alsa-lib default-cursors fontconfig freetype2     gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath     jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl     libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva     libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp     libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd     onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate     perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils     vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg
checking dependencies...
:: e2fsprogs optionally requires util-linux: for e2scrub
:: glibc optionally requires perl: for mtrace
:: openssl optionally requires perl
:: python optionally requires sqlite: for a default database integration
:: yt-dlp optionally requires ffmpeg: for video post-processing
warning: dependency cycle detected:
warning: harfbuzz will be removed after its freetype2 dependency
warning: dependency cycle detected:
warning: mesa will be removed after its libglvnd dependency
warning: pacman is designated as a HoldPkg.
:: HoldPkg was found in target list. Do you want to continue? [y/N] 
sh-5.2# pacman -Rcnsu cairo alsa-lib default-cursors fontconfig freetype2     gdk-pixbuf2 giflib gperftools gsm harfbuzz hicolor-icon-theme hidapi imath     jack2 lcms2 libass libbluray libbs2b libjpeg-turbo libiec61883 libjxl     libopenmpt libpng libpulse librsvg libthai libtheora libtiff libusb libva     libvdpau libwebp libxcursor libx11 libxau libxcb libxdamage libxdmcp     libxext libxfixes libxft libxrender libxv libxxf86vm mesa mpg123 ocl-icd     onevpl openexr openjpeg2 pango pcre2 perl-mailtools perl-error perl-timedate     perl pixman portaudio sdl2 speex speexdsp sqlite v4l-utils     vid.stab vmaf vulkan-icd-loader wayland xorgproto zimg
checking dependencies...
:: e2fsprogs optionally requires util-linux: for e2scrub
:: glibc optionally requires perl: for mtrace
:: openssl optionally requires perl
:: python optionally requires sqlite: for a default database integration
:: yt-dlp optionally requires ffmpeg: for video post-processing
warning: dependency cycle detected:
warning: harfbuzz will be removed after its freetype2 dependency
warning: dependency cycle detected:
warning: mesa will be removed after its libglvnd dependency
warning: pacman is designated as a HoldPkg.
:: HoldPkg was found in target list. Do you want to continue? [y/N] y

Package (172)           Old Version              Net Change 

alsa-topology-conf      1.2.5.1-3                  -0.33 MiB
alsa-ucm-conf           1.2.10-2                   -0.33 MiB
aom                     3.7.0-1                    -9.07 MiB
archlinux-keyring       20231113-1                 -1.63 MiB
argon2                  20190702-5                 -0.10 MiB
base                    3-2                         0.00 MiB
cryptsetup              2.6.1-3                    -2.66 MiB
dav1d                   1.3.0-1                    -1.77 MiB
db                      6.2.32-1                   -7.16 MiB
db5.3                   5.3.28-4                   -6.52 MiB
dbus                    1.14.10-1                  -0.89 MiB
device-mapper           2.03.22-2                  -0.75 MiB
ffmpeg                  2:6.0-13                  -37.42 MiB
file                    5.45-1                     -8.33 MiB
flac                    1.4.3-1                    -1.12 MiB
fribidi                 1.0.13-2                   -0.24 MiB
gawk                    5.3.0-1                    -3.32 MiB
gettext                 0.22.3-1                   -7.26 MiB
git                     2.42.1-1                  -26.32 MiB
glib2                   2.78.1-1                  -24.20 MiB
gnupg                   2.2.41-2                   -8.59 MiB
gnutls                  3.8.1-2                    -5.56 MiB
gpgme                   1.23.1-1                   -1.48 MiB
graphite                1:1.3.14-3                 -0.20 MiB
grep                    3.11-1                     -0.87 MiB
gzip                    1.13-2                     -0.15 MiB
highway                 1.0.7-1                    -6.11 MiB
hwdata                  0.376-1                    -8.91 MiB
icu                     73.2-2                    -41.48 MiB
iproute2                6.6.0-2                    -2.92 MiB
iptables                1:1.8.9-1                  -2.38 MiB
iputils                 20221126-2                 -0.43 MiB
jbigkit                 2.1-7                      -0.16 MiB
json-c                  0.17-1                     -0.18 MiB
kbd                     2.6.3-1                    -3.14 MiB
kmod                    31-1                       -0.29 MiB
l-smash                 2.14.5-3                   -1.04 MiB
lame                    3.100-4                    -1.19 MiB
libarchive              3.7.2-1                    -1.16 MiB
libassuan               2.5.6-1                    -0.22 MiB
libasyncns              1:0.8+r3+g68cd5af-2        -0.05 MiB
libavc1394              0.5.4-6                    -0.12 MiB
libbpf                  1.2.2-1                    -0.76 MiB
libdatrie               0.2.13-4                   -0.48 MiB
libdeflate              1.19-1                     -0.12 MiB
libdrm                  2.4.117-1                  -1.20 MiB
libedit                 20230828_3.1-1             -0.28 MiB
libglvnd                1.7.0-1                    -3.70 MiB
libksba                 1.6.4-1                    -0.31 MiB
libmnl                  1.0.5-1                    -0.03 MiB
libmodplug              0.8.9.0-5                  -0.36 MiB
libnetfilter_conntrack  1.0.9-1                    -0.15 MiB
libnfnetlink            1.0.2-1                    -0.04 MiB
libnftnl                1.2.6-1                    -0.25 MiB
libnl                   3.8.0-1                    -2.11 MiB
libogg                  1.3.5-1                    -0.44 MiB
libomxil-bellagio       0.9.3-4                    -0.58 MiB
libpcap                 1.10.4-1                   -0.63 MiB
libpciaccess            0.17-1                     -0.06 MiB
libraw1394              2.1.2-3                    -0.16 MiB
libsamplerate           0.2.2-2                    -1.55 MiB
libseccomp              2.5.4-2                    -0.24 MiB
libsecret               0.21.1-1                   -1.15 MiB
libsndfile              1.2.2-2                    -1.03 MiB
libsoxr                 0.1.3-3                    -0.21 MiB
libssh                  0.10.5-1                   -0.58 MiB
libsysprof-capture      45.1-1                     -0.24 MiB
libunwind               1.7.2-1                    -0.26 MiB
libutempter             1.2.1-4                    -0.03 MiB
libvorbis               1.3.7-3                    -1.44 MiB
libvpx                  1.13.1-1                   -3.44 MiB
libxml2                 2.11.5-1                   -3.56 MiB
libxshmfence            1.3.2-1                    -0.02 MiB
licenses                20231011-1                 -1.67 MiB
llvm-libs               16.0.6-1                 -131.52 MiB
lm_sensors              1:3.6.0.r41.g31d1f125-2    -0.47 MiB
lzo                     2.10-5                     -0.38 MiB
nettle                  3.9.1-1                    -1.04 MiB
npth                    1.6-4                      -0.07 MiB
opencore-amr            0.1.6-1                    -0.28 MiB
opus                    1.4-1                      -0.53 MiB
pacman                  6.0.2-8                    -4.72 MiB
pacman-mirrorlist       20231001-1                 -0.05 MiB
pciutils                3.10.0-1                   -0.31 MiB
pinentry                1.2.1-3                    -0.51 MiB
popt                    1.19-1                     -0.23 MiB
procps-ng               4.0.4-2                    -2.50 MiB
psmisc                  23.6-1                     -0.71 MiB
rav1e                   0.6.6-3                    -7.46 MiB
sed                     4.9-3                      -0.70 MiB
shadow                  4.14.2-1                   -3.83 MiB
shared-mime-info        2.4-1                      -4.55 MiB
srt                     1.5.3-1                    -3.77 MiB
svt-av1                 1.7.0-1                    -7.35 MiB
systemd                 254.6-2                   -29.91 MiB
systemd-sysvcompat      254.6-2                     0.00 MiB
tar                     1.35-2                     -2.80 MiB
tpm2-tss                4.0.1-1                    -3.61 MiB
util-linux              2.39.2-2                  -13.57 MiB
x264                    3:0.164.r3108.31e19f9-1    -3.78 MiB
x265                    3.5-3                     -19.13 MiB
xcb-proto               1.16.0-1                   -1.04 MiB
xvidcore                1.3.7-2                    -0.68 MiB
alsa-lib                1.2.10-2                   -1.70 MiB
cairo                   1.18.0-1                   -1.59 MiB
default-cursors         2-1                         0.00 MiB
fontconfig              2:2.14.2-1                 -1.09 MiB
freetype2               2.13.2-1                   -1.63 MiB
gdk-pixbuf2             2.42.10-2                  -2.96 MiB
giflib                  5.2.1-2                    -0.30 MiB
gperftools              2.13-2                     -2.36 MiB
gsm                     1.0.22-1                   -0.10 MiB
harfbuzz                8.3.0-1                    -3.90 MiB
hicolor-icon-theme      0.17-3                     -0.05 MiB
hidapi                  0.14.0-2                   -0.13 MiB
imath                   3.1.9-2                   -26.85 MiB
jack2                   1.9.22-1                   -1.89 MiB
lcms2                   2.15-1                     -0.66 MiB
libass                  0.17.1-1                   -0.25 MiB
libbluray               1.3.4-1                    -1.29 MiB
libbs2b                 3.1.0-8                    -0.07 MiB
libiec61883             1.2.0-7                    -0.12 MiB
libjpeg-turbo           3.0.1-1                    -2.39 MiB
libjxl                  0.8.2-2                   -10.50 MiB
libopenmpt              0.7.3-1                    -2.18 MiB
libpng                  1.6.40-2                   -0.57 MiB
libpulse                16.1-6                     -1.51 MiB
librsvg                 2:2.57.0-1                 -9.69 MiB
libthai                 0.1.29-3                   -1.22 MiB
libtheora               1.1.1-6                    -1.68 MiB
libtiff                 4.6.0-1                    -5.06 MiB
libusb                  1.0.26-2                   -0.21 MiB
libva                   2.20.0-1                   -0.88 MiB
libvdpau                1.5-2                      -0.28 MiB
libwebp                 1.3.2-1                    -1.07 MiB
libx11                  1.8.7-1                    -9.79 MiB
libxau                  1.0.11-2                   -0.02 MiB
libxcb                  1.16-1                     -3.86 MiB
libxcursor              1.2.1-3                    -0.06 MiB
libxdamage              1.1.6-1                    -0.02 MiB
libxdmcp                1.1.4-2                    -0.13 MiB
libxext                 1.3.5-1                    -0.30 MiB
libxfixes               6.0.1-1                    -0.04 MiB
libxft                  2.3.8-1                    -0.13 MiB
libxrender              0.9.11-1                   -0.10 MiB
libxv                   1.0.12-1                   -0.06 MiB
libxxf86vm              1.1.5-1                    -0.03 MiB
mesa                    1:23.2.1-2                -93.01 MiB
mpg123                  1.32.3-1                   -1.18 MiB
ocl-icd                 2.3.2-1                    -0.45 MiB
onevpl                  2023.3.1-1                 -3.46 MiB
openexr                 3.2.1-1                    -7.16 MiB
openjpeg2               2.5.0-3                   -13.57 MiB
pango                   1:1.51.1-1                 -2.26 MiB
pcre2                   10.42-2                    -6.18 MiB
perl                    5.38.0-1                  -75.91 MiB
perl-error              0.17029-5                  -0.04 MiB
perl-mailtools          2.21-7                     -0.10 MiB
perl-timedate           2.33-5                     -0.08 MiB
pixman                  0.42.2-1                   -0.72 MiB
portaudio               1:19.7.0-2                 -0.33 MiB
sdl2                    2.28.5-1                   -4.45 MiB
speex                   1.2.1-1                    -0.62 MiB
speexdsp                1.2.1-1                    -0.54 MiB
sqlite                  3.44.0-1                   -7.92 MiB
v4l-utils               1.24.1-2                   -5.04 MiB
vid.stab                1.1.1-1                    -0.14 MiB
vmaf                    2.3.1-1                    -6.53 MiB
vulkan-icd-loader       1.3.269-1                  -0.52 MiB
wayland                 1.22.0-1                   -0.78 MiB
xorgproto               2023.2-1                   -1.43 MiB
zimg                    3.0.5-1                    -0.93 MiB

Total Removed Size:  830.65 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
removing base...
removing tar...
removing psmisc...
removing procps-ng...
removing pciutils...
removing licenses...
removing iputils...
removing iproute2...
removing libbpf...
removing archlinux-keyring...
removing systemd-sysvcompat...
removing pacman...
removing pacman-mirrorlist...
removing libarchive...
removing gettext...
removing gawk...
removing gpgme...
removing gzip...
removing sed...
removing gnupg...
removing npth...
removing libksba...
removing pinentry...
removing libassuan...
removing libsecret...
removing tpm2-tss...
removing git...
/tmp/alpm_3XSssC/.INSTALL: line 13: sed: command not found
error: command failed to execute correctly
removing grep...
removing ffmpeg...
removing xvidcore...
removing x265...
removing x264...
removing l-smash...
removing svt-av1...
removing srt...
removing rav1e...
removing opencore-amr...
removing libvpx...
removing libssh...
removing libsoxr...
removing libmodplug...
removing libavc1394...
removing gnutls...
removing nettle...
removing dav1d...
removing aom...
removing zimg...
removing vmaf...
removing vid.stab...
removing v4l-utils...
removing sqlite...
removing speex...
removing speexdsp...
removing sdl2...
removing perl-error...
removing perl-mailtools...
removing perl-timedate...
removing perl...
removing db...
removing openjpeg2...
removing onevpl...
removing ocl-icd...
removing libxv...
removing libxcursor...
removing libwebp...
removing libvdpau...
removing libva...
removing libglvnd...
removing mesa...
removing lm_sensors...
removing llvm-libs...
removing libedit...
removing libxshmfence...
removing libomxil-bellagio...
removing libdrm...
removing libpciaccess...
removing vulkan-icd-loader...
removing libxxf86vm...
removing libxdamage...
removing wayland...
removing libxfixes...
removing libusb...
removing libtheora...
removing librsvg...
removing pango...
removing libxft...
removing libthai...
removing libdatrie...
removing libopenmpt...
removing portaudio...
removing libpulse...
removing libasyncns...
removing systemd...
removing util-linux...
removing libutempter...
removing file...
removing shadow...
removing libseccomp...
removing kmod...
removing kbd...
removing iptables...
removing libpcap...
removing libnl...
removing libnftnl...
removing libnetfilter_conntrack...
removing libmnl...
removing libnfnetlink...
removing hwdata...
removing cryptsetup...
removing popt...
removing device-mapper...
removing argon2...
removing json-c...
removing libjxl...
removing highway...
removing openexr...
removing libdeflate...
removing libiec61883...
removing libraw1394...
removing libbs2b...
removing libsndfile...
removing lame...
removing libvorbis...
removing flac...
removing libogg...
removing mpg123...
removing libbluray...
removing libass...
removing fribidi...
removing lcms2...
removing jack2...
removing opus...
removing libsamplerate...
removing dbus...
removing db5.3...
removing imath...
removing hidapi...
removing hicolor-icon-theme...
removing gsm...
removing gperftools...
removing libunwind...
removing giflib...
removing gdk-pixbuf2...
removing shared-mime-info...
removing libxml2...
removing icu...
removing libtiff...
removing jbigkit...
removing libjpeg-turbo...
removing default-cursors...
removing alsa-lib...
removing alsa-ucm-conf...
removing alsa-topology-conf...
removing cairo...
removing lzo...
removing pixman...
removing libxrender...
removing libxext...
removing libx11...
removing libxcb...
removing xcb-proto...
removing libxdmcp...
removing libxau...
removing xorgproto...
removing fontconfig...
removing freetype2...
removing libpng...
removing harfbuzz...
removing graphite...
removing glib2...
removing libsysprof-capture...
removing pcre2...
sh-5.2# 
EDM115 commented 6 months ago

maybe instead of removing small packages, it would be better to do other adjustments
one I see is creating a volume, for downloading files and thumbs. may speed up I/O operations