You are not logged in.
Hi, i'm having issues with pacman and i can't find anything one the internet that seems to solve my problem.
It's simple: "pacman -Qtdq | pacman -Rns - " tries to uninstall 471 packages, including Xorg, archlinux-keyring, sudo and many others that are very important to Arch work properly.
What can i do? Thank you.
Last edited by Papito2588 (2023-12-13 16:36:32)
Offline
First off, post text, not pictures of text.
Now, is this an older installation, and maybe you missed https://archlinux.org/news/base-group-r … -required/ ? Based on that list, maybe https://archlinux.org/news/switch-to-th … ervention/ as well?
After you make sure you have that, take a look at the list. See what's there that you actually use. If you need more help, post the list.
Online
Just reinstalled base and base-devel, it didn't change anything.
Packages (471) a52dec-0.8.0-2 abseil-cpp-20230802.1-1 android-tools-34.0.4-3 android-udev-20231124-1 appstream-1.0.0-5 archlinux-keyring-20231207-1 aribb24-1.0.3-3 atkmm-2.28.3-1 autoconf-2.71-4 automake-1.16.5-2 binutils-2.41-3 bison-3.8.2-6 bluez-libs-5.70-2 boost-libs-1.83.0-2 cairo-perl-1.109-3 cairomm-1.14.5-1 cpio-2.14-1 cppdap-1.58.0-1 cups-1:2.4.7-2 cups-filters-2.0.0-1 dbus-python-1.3.2-2 debugedit-5.0-5 diffutils-3.10-1 docbook-xml-4.5-9 docbook-xsl-1.79.2-7 double-conversion-3.3.0-1 dracut-059-4 exo-4.18.0-1 faad2-2.11.1-1 fakeroot-1.32.2-1 ffmpeg4.4-4.4.4-3 flex-2.6.4-5 freeglut-3.4.0-1 fuse-common-3.16.2-1 fuse2-2.9.9-4 fuse3-3.16.2-1 gc-8.2.4-1 gcc-13.2.1-3 gd-2.3.3-7 geoclue-2.7.1-1 ghostscript-10.02.1-1 git-2.43.0-1 glew-2.2.0-6 glfw-x11-3.3.8-1 glib-perl-1.329.3-4 glib2-docs-2.78.3-1 glibmm-2.66.6-1 glibmm-2.68-2.78.0-1 glu-9.0.3-1 gobject-introspection-runtime-1.78.1-1 goocanvas-3.0.0-4 graphene-1.10.8-1 graphviz-9.0.0-1 groff-1.23.0-5 gsfonts-20200910-3 gtk-doc-1.33.2-3 gtk2-2.24.33-3 gtk4-1:4.12.4-1 gtkmm3-3.24.8-1 gts-0.7.6.121130-2 guile-3.0.9-1 gzip-1.13-2 hdparm-9.65-1 ijs-0.35-5 imagemagick-7.1.1.23-1 iproute2-6.6.0-2 iptables-1:1.8.10-1 iputils-20221126-2 iw-5.19-2 jansson-2.14-2 jasper-4.0.0-1 java-environment-common-3-5 java-runtime-common-3-5 jbig2dec-0.20-1 jdk11-openjdk-11.0.21.u9-3 jemalloc-1:5.3.0-3 jre11-openjdk-11.0.21.u9-3 jre11-openjdk-headless-11.0.21.u9-3 jsoncpp-1.9.5-2 less-1:643-1 libaio-0.3.113-2 libb2-0.98.1-2 libb64-1.2.1-4 libbpf-1.2.2-1 libbsd-0.11.7-1 libcamera-0.1.0-2 libcamera-ipa-0.1.0-2 libcdio-2.1.0-3 libcdio-paranoia-10.2+2.0.1-3 libconfig-1.7.3-2 libcpuid-0.6.4-2 libcupsfilters-2.0.0-1 libdca-0.0.7-2 libde265-1.0.14-1 libdispatch-5.5.0-1 libdvbpsi-1:1.3.3-3 libdvdnav-6.1.1-2 libdvdread-6.1.3-2 libebml-1.4.4-1 libev-4.33-2 libfontenc-1.1.7-1 libgirepository-1.78.1-1 libgphoto2-2.5.31-1 libgtop-2.41.2-1 libheif-1.17.5-2 libid3tag-0.15.1b-12 libidn-1.41-1 libieee1284-0.2.11-15 libimagequant-4.2.2-2 libinput-1.24.0-1 libisl-0.26-1 liblqr-0.4.2-3 libmad-0.15.1b-10 libmatroska-1.7.1-1 libmd-1.1.0-1 libmfx-23.2.2-2 libmm-glib-1.22.0-1 libmng-2.0.3-3 libmnl-1.0.5-1 libmpc-1.3.1-1 libmpcdec-1:0.1+r475-4 libmpeg2-0.5.1-8 libmspack-1:0.11alpha-1 libmtp-1.1.21-1 libnatpmp-20230423-2 libndp-1.8-1 libnet-2:1.3-1 libnetfilter_conntrack-1.0.9-1 libnewt-0.52.23-2 libnfnetlink-1.0.2-1 libnftnl-1.2.6-1 libnm-1.44.2-3 libnotify-0.8.3-1 libpaper-2.1.2-1 libpcap-1.10.4-1 libpgm-5.3.128-3 libpipeline-1.5.7-1 libpipewire-1:1.0.0-2 libppd-2.0.0-1 libraqm-0.10.1-1 libsigc++-2.12.1-1 libsigc++-3.0-3.6.0-1 libsodium-1.0.19-2 libtar-1.2.20-6 libteam-1.32-1 libtorrent-rasterbar-1:2.0.9-3 libupnp-1.14.18-1 libusb-compat-0.1.8-1 libuv-1.47.0-1 libwacom-2.9.0-2 libwnck3-43.0-3 libxaw-1.0.15-1 libxcvt-0.1.2-1 libxfce4ui-4.18.4-1 libxfce4util-4.18.1-1 libxfont2-2.0.6-2 libxkbfile-1.1.2-1 libxmlb-0.3.14-1 libxpm-3.5.17-1 libxpresent-1.0.1-1 libxres-1.2.2-1 libxss-1.2.4-1 libyaml-0.2.5-2 libzip-1.10.1-1 licenses-20231011-1 lua-5.4.6-2 luajit-2.1.1702233742-1 m4-1.4.19-3 make-4.4.1-2 man-db-2.12.0-1 mbedtls-3.4.1-1 md4c-0.4.8-1 miniupnpc-2.2.5-1 minizip-1:1.3-2 mkinitcpio-37.1-1 mkinitcpio-busybox-1.36.1-1 mobile-broadband-provider-info-20230416-1 mtdev-1.1.6-2 mujs-1.3.4-1 net-snmp-5.9.1-8 netpbm-10.73.43-2 networkmanager-1.44.2-3 ninja-1.11.1-3 openal-1.23.1-1 p7zip-1:17.05-2 pango-perl-1.227-16 pangomm-2.46.3-1 patch-2.7.6-10 pciutils-3.10.0-1 pcre-8.45-4 pcsclite-2.0.1-1 perl-cairo-gobject-1.005-2 perl-carp-always-0.16-4 perl-cgi-4.59-1 perl-class-method-modifiers-2.15-2 perl-clone-0.46-2 perl-data-optlist-0.114-2 perl-devel-globaldestruction-0.14-9 perl-encode-locale-1.05-11 perl-error-0.17029-5 perl-file-basedir-0.09-3 perl-file-copy-recursive-0.45-6 perl-file-listing-6.16-2 perl-file-slurp-tiny-0.004-9 perl-file-which-1.27-3 perl-glib-object-introspection-0.050-3 perl-goocanvas2-0.06-6 perl-goocanvas2-cairotypes-0.001-7 perl-gtk3-0.038-4 perl-gtk3-imageview-10-3 perl-html-form-6.11-2 perl-html-parser-3.81-2 perl-html-tagset-3.20-14 perl-http-cookiejar-0.014-1 perl-http-cookies-6.10-4 perl-http-daemon-6.16-2 perl-http-date-6.06-1 perl-http-message-6.45-1 perl-http-negotiate-6.01-12 perl-http-response-encoding-0.06-7 perl-http-server-simple-0.52-5 perl-import-into-1.002005-9 perl-io-html-1.004-4 perl-ipc-system-simple-1.30-5 perl-json-4.10-1 perl-json-maybexs-1.004005-1 perl-libwww-6.72-1 perl-locale-gettext-1.07-14 perl-lwp-mediatypes-6.04-4 perl-mailtools-2.21-7 perl-module-runtime-0.016-3 perl-moo-2.005005-2 perl-net-dbus-1.2.0-5 perl-net-http-6.23-2 perl-number-bytes-human-0.11-7 perl-params-util-1.102-4 perl-proc-processtable-0.636-1 perl-proc-simple-1.32-9 perl-readonly-2.05-4 perl-role-tiny-2.002004-4 perl-sort-naturally-1.03-9 perl-sub-exporter-0.991-1 perl-sub-exporter-progressive-0.001013-9 perl-sub-install-0.928-9 perl-sub-quote-1:2.006008-2 perl-sub-uplevel-0.2800-4 perl-test-warn-0.37-1 perl-text-iconv-1.7-23 perl-timedate-2.33-5 perl-tree-dag-node-1.32-1 perl-try-tiny-0.31-3 perl-uri-5.21-1 perl-www-mechanize-2.17-1 perl-www-robotrules-6.02-12 perl-x11-protocol-0.56-14 perl-xml-namespacesupport-1.12-5 perl-xml-parser-2.46-5 perl-xml-sax-1.02-1 perl-xml-sax-base-1.09-5 perl-xml-sax-expat-0.51-7 perl-xml-simple-2.25-8 perl-xml-twig-3.52-11 pipewire-1:1.0.0-2 pkgconf-2.1.0-2 poppler-23.12.0-1 poppler-data-0.4.12-1 poppler-glib-23.12.0-1 protobuf-25.1-1 psmisc-23.6-1 python-annotated-types-0.6.0-1 python-autocommand-2.2.2-4 python-charset-normalizer-3.3.2-1 python-fastjsonschema-2.19.0-1 python-gobject-3.46.0-1 python-gpgme-1.23.2-1 python-idna-3.4-3 python-inflect-7.0.0-2 python-jaraco.context-4.3.0-3 python-jaraco.functools-3.9.0-1 python-jaraco.text-3.11.1-3 python-lxml-4.9.2-3 python-mako-1.2.4-3 python-markdown-3.5.1-1 python-markupsafe-2.1.3-1 python-more-itertools-10.1.0-1 python-ordered-set-4.1.0-4 python-pillow-10.1.0-2 python-platformdirs-4.1.0-1 python-pydantic-2.5.2-1 python-pydantic-core-1:2.14.5-1 python-pygments-2.17.2-1 python-pyqt5-5.15.10-1 python-pyqt5-sip-12.13.0-1 python-pysocks-1.7.1-8 python-requests-2.31.0-1 python-setuptools-1:69.0.0-1 python-tomli-2.0.1-3 python-tqdm-4.66.1-2 python-trove-classifiers-2023.11.29-1 python-typing_extensions-4.9.0-1 python-urllib3-1.26.18-1 python-validate-pyproject-0.13-1 qpdf-11.6.4-1 qt5-base-5.15.11+kde+r147-1 qt5-svg-5.15.11+kde+r6-1 qt5-translations-5.15.11-1 qt5-x11extras-5.15.11-1 qt6-base-6.6.1-1 qt6-declarative-6.6.1-1 qt6-imageformats-6.6.1-1 qt6-svg-6.6.1-1 qt6-translations-6.6.1-1 qt6-wayland-6.6.1-1 rhash-1.4.4-1 rnnoise-0.4.1-1 samsung-unified-driver-common-1.00.39-7 samsung-unified-driver-printer-1.00.39-7 samsung-unified-driver-scanner-1.00.39-7 sane-1.2.1-5 scrot-1.10-1 sed-4.9-3 slang-2.3.3-2 slop-7.6-3 soundtouch-2.3.2-1 startup-notification-0.12-8 sudo-1.9.15.p2-1 systemd-sysvcompat-255-1 taglib-1.13.1-1 texinfo-7.1-2 tlp-1.6.1-1 tor-0.4.8.10-1 tslib-1.22-1 ttf-opensans-1.101-2 uchardet-0.0.8-2 usbutils-017-1 vte-common-0.74.1-1 vulkan-headers-1:1.3.269-1 which-2.21-6 wpa_supplicant-2:2.10-8 wxwidgets-common-3.2.4-2 wxwidgets-gtk3-3.2.4-2 xcb-util-0.4.1-1 xcb-util-cursor-0.1.5-1 xcb-util-image-0.4.1-2 xcb-util-keysyms-0.4.1-4 xcb-util-renderutil-0.3.10-1 xcb-util-wm-0.4.2-1 xdg-desktop-portal-1.18.2-1 xdg-utils-1.2.0r25+g0f49cf5-1 xf86-input-libinput-1.4.0-1 xfconf-4.18.3-1 xorg-fonts-alias-100dpi-1.0.5-1 xorg-fonts-alias-75dpi-1.0.5-1 xorg-fonts-encodings-1.0.7-1 xorg-server-common-21.1.9-1 xorg-setxkbmap-1.3.4-1 xorg-util-macros-1.20.0-2 xorg-xauth-1.1.2-1 xorg-xkbcomp-1.4.6-1 xorg-xmodmap-1.0.11-1 xorg-xrandr-1.5.2-1 xorg-xrdb-1.2.2-1 xorg-xset-1.2.5-1 xxhash-0.8.2-1 zeromq-4.3.5-2 zsh-5.9-4 adobe-source-han-sans-cn-fonts-2.004-1 alsa-oss-1.1.8-5 alsa-utils-1.2.10-1 android-file-transfer-4.2-3 ant-1.10.14-1 appstream-glib-0.8.2-3 apulse-0.1.13-1 archlinux-appstream-data-20231203-1 asciidoc-10.2.0-4 base-3-2 base-devel-1-1 btop-1.2.13-1 calc-2.15.0.2-1 cli-visualizer-1.8-10 cmake-3.28.0-1 cpu-x-5.0.2-1 cpupower-6.5-1 discord-0.0.38-1 firefox-120.0.1-1 gmtp-1.3.11-3 go-2:1.21.5-1 gobject-introspection-1.78.1-1 gperf-3.1-5 gradle7-7.6.3-2 grub-2:2.12rc1-6 gscreenshot-3.4.2-1 htop-3.2.2-1 itstool-1:2.0.7-1 joyutils-1.8.1-1 jstest-gtk-git-0.1.0.r125.g60fe6eb-1 libadwaita-1:1.4.2-1 libhandy-1.8.2-1 linux-zen-6.6.6.zen1-1 lyrics-in-terminal-1.5.0-1 meson-1.3.0-1 mpv-1:0.36.0-1 neofetch-7.1.0-2 obs-studio-30.0.0-1 odin4-cli-1.2.1.dc05e3ea0-1 p7zip-gui-16.02-8 pacman-contrib-1.9.1-1 parcellite-1.2.2-1 pavucontrol-1:5.0+r64+geba9ca6-1 pcsx2-1.7.5243-1 picom-10.2-1 qbittorrent-4.6.2-2 rmlint-2.10.2-1 samsung-unified-driver-1.00.39-7 shutter-0.99.4-2 telegram-desktop-4.12.2-1 thunar-4.18.8-1 tlp-rdw-1.6.1-1 torbrowser-launcher-0.3.6-3 transmission-cli-4.0.4-1 ttf-font-awesome-6.5.1-1 ttf-hack-3.003-6 ttf-hack-nerd-3.1.1-1 universal-android-debloater-bin-0.5.1-1 unzip-6.0-20 vala-0.56.14-1 vlc-3.0.20-2 vte3-0.74.1-1 wget-1.21.4-1 xcompmgr-1.1.9-1 xf86-video-vesa-2.6.0-1 xorg-bdftopcf-1.1.1-1 xorg-docs-1.7.2-2 xorg-font-util-1.4.1-1 xorg-fonts-100dpi-1.0.4-2 xorg-fonts-75dpi-1.0.4-1 xorg-iceauth-1.0.9-1 xorg-mkfontscale-1.2.2-1 xorg-server-21.1.9-1 xorg-server-devel-21.1.9-1 xorg-server-xephyr-21.1.9-1 xorg-server-xnest-21.1.9-1 xorg-server-xvfb-21.1.9-1 xorg-sessreg-1.1.3-1 xorg-smproxy-1.0.7-1 xorg-x11perf-1.6.2-1 xorg-xbacklight-1.2.3-3 xorg-xclipboard-1.1.4-1 xorg-xcmsdb-1.0.6-1 xorg-xcursorgen-1.0.8-1 xorg-xdriinfo-1.0.7-1 xorg-xev-1.2.5-1 xorg-xgamma-1.0.7-1 xorg-xhost-1.0.9-1 xorg-xinit-1.4.2-1 xorg-xinput-1.6.4-1 xorg-xkbevd-1.1.5-1 xorg-xkbutils-1.0.5-1 xorg-xkill-1.0.6-1 xorg-xlsatoms-1.1.4-1 xorg-xlsclients-1.1.5-1 xorg-xpr-1.1.0-1 xorg-xrefresh-1.0.7-1 xorg-xsetroot-1.1.3-1 xorg-xvinfo-1.1.5-1 xorg-xwayland-23.2.2-1 xorg-xwd-1.0.9-1 xorg-xwud-1.0.6-1 yay-12.2.0-1 zip-3.0-11 zsh-completions-0.35.0
Last edited by Papito2588 (2023-12-13 00:56:01)
Offline
Something is very wrong here. What does `pacman -Qi base base-devel` give you?
Edit: wait, they're both in the list, so you have them installed as dependencies? Have you been using --asdeps for everything? Use -D --asexplicit to get them right.
If you post your pacman log, we can figure out where things went wrong.
Last edited by Scimmia (2023-12-13 02:01:44)
Online
God, thank you. I totally forgot about pacman.log. I'm new to Arch, so there are some things that i'm still not used to.
Turns 2 months ago i've set --asdeps to a lot of things (maybe i was trying to fix this issue) and this happened. Now it's working perfecly.
Thank you.
Offline