I have deleted Avahi

I have deleted Avahi and now everything is gone

I just installed EndeavourOS Gnome DE
I found in my mene there ary many applications i don’t even know and want.
I have deleted some.
But when i deleted Avahi Everything gone
I have used

sudo pacman -Rcns avahi

Please help i only have my terminal.

I have tried reinstalling avahi didn’t worked!!!

2 Likes

Please show the output of the command you used to install it.

And you can see in /var/log/pacman.log which packages have been deleted and reinstall all of them.

You need to get acquainted with the the commands you run in the terminal.

Passing the -c flag has removed a lot of your system packages.

You have been “warned” by pacman that it will break a lot of stuff and yet you have said yes to remove those packages. Why?

see for yourself
sudo pacman -Rnsc avahi
checking dependencies...
:: apparmor optionally requires python-notify2: for aa-notify
:: firejail optionally requires xdg-dbus-proxy: for D-Bus filtering
:: gdk-pixbuf2 optionally requires libwmf: Load .wmf and .apm
:: gdk-pixbuf2 optionally requires libavif: Load .avif
:: gdk-pixbuf2 optionally requires libheif: Load .heif, .heic, and .avif
:: git optionally requires openssh: ssh transport and crypto
:: git optionally requires org.freedesktop.secrets: keyring credential helper
:: glib2 optionally requires gvfs: most gio functionality
:: glibc optionally requires gd: for memusagestat
:: gperftools optionally requires graphviz: pprof graph generation
:: groff optionally requires netpbm: for use together with man -H command interaction in browsers
:: grub optionally requires fuse3: For grub-mount usage
:: gssdp optionally requires gtk4: gssdp-device-sniffer
:: heimdall optionally requires qt5-base: GUI support for heimdall-frontend
:: imagemagick optionally requires ghostscript: PS/PDF support
:: imagemagick optionally requires libheif: HEIF support
:: imagemagick optionally requires libraw: DNG support
:: imagemagick optionally requires libwmf: WMF support
:: imagemagick optionally requires djvulibre: DJVU support
:: imlib2 optionally requires libheif: HEIF loader (for AVIF)
:: imlib2 optionally requires libspectre: PS loader
:: inxi optionally requires mdadm: -Ra advanced mdraid data
:: inxi optionally requires upower: -sx attached device battery info
:: inxi optionally requires xorg-xprop: xprop: -S (X) desktop data
:: libde265 optionally requires qt5-base: for sherlock265
:: libde265 optionally requires sdl: dec265 YUV overlay output
:: libdecor optionally requires gtk3: gtk3 support
:: libjxl optionally requires gimp: for gimp plugin
:: libmpeg2 optionally requires sdl: mpeg2dec command
:: libpulse optionally requires pulse-native-provider: PulseAudio backend
:: libsecret optionally requires org.freedesktop.secrets: secret storage backend
:: neofetch optionally requires xorg-xprop: Desktop Environment and Window Manager
:: networkmanager-openvpn optionally requires libnma-gtk4: GUI support (GTK 4)
:: networkmanager-openvpn optionally requires libnma: GUI support (GTK 3)
:: openal optionally requires qt5-base: alsoft-config GUI Configurator
:: openmpi optionally requires openssh: for execution on remote hosts via plm_ssh_agent
:: pinentry optionally requires gtk2: gtk2 backend
:: pinentry optionally requires qt5-x11extras: qt backend
:: pinentry optionally requires gcr: gnome3 backend
:: pipewire optionally requires pipewire-pulse: PulseAudio replacement
:: pipewire optionally requires rtkit: realtime privileges with rtkit module
:: powertop optionally requires xorg-xset: for the --calibrate function
:: prrte optionally requires openssh: for execution on remote hosts via plm_ssh_agent
:: python-fonttools optionally requires python-pyqt5: for drawing glyphs with Qt’s QPainterPath
:: python-matplotlib optionally requires python-pyqt5: Qt5{Agg,Cairo} backends
:: python-matplotlib optionally requires python-cairo: {GTK{3,4},Qt{5,6},Tk,WX}Cairo backends
:: python-matplotlib optionally requires ghostscript: usetex dependencies
:: systemd optionally requires libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote
:: systemd optionally requires libpwquality: check password quality
:: v4l-utils optionally requires qt5-base: for qv4l2 and qvidcap
:: ventoy-bin optionally requires gtk3: GTK3 GUI
:: ventoy-bin optionally requires qt5-base: Qt5 GUI
:: zbar optionally requires gtk3: for zbar-gtk
:: zbar optionally requires qt5-x11extras: for zbar-qt

Package (356)             Old Version                Net Change 

accountsservice           23.13.9-1                    -0.99 MiB
adwaita-color-schemes     0.9.1-8                      -0.01 MiB
adwaita-qt5               1.4.2-1                      -0.68 MiB
adwaita-qt6               1.4.2-1                      -0.76 MiB
alacarte                  1:3.50.0-1                   -0.43 MiB
appstream                 1.0.2-1                     -18.24 MiB
archlinux-appstream-data  20240306-1                  -19.83 MiB
arcolinux-pamac-all       11.6.0-4                      0.00 MiB
at-spi2-core              2.50.1-1                     -3.85 MiB
atkmm                     2.28.4-1                     -0.54 MiB
audacious                 4.3.1-1                      -2.31 MiB
audacious-plugins         4.3.1-2                      -6.85 MiB
babl                      0.1.108-1                    -3.68 MiB
baobab                    45.0-1                       -1.53 MiB
bleachbit                 4.6.0-1                      -3.75 MiB
bolt                      0.9.7-1                      -0.43 MiB
botan                     3.3.0-1                      -9.24 MiB
btrfs-assistant           1.9-1                        -0.58 MiB
btrfs-progs               6.7.1-1                      -6.48 MiB
bubblewrap                0.8.0-1                      -0.08 MiB
cairomm                   1.14.5-1                     -0.40 MiB
cairomm-1.16              1.18.0-1                     -0.41 MiB
cdparanoia                10.2-9                       -0.18 MiB
celluloid                 0.26-1                       -1.68 MiB
chromium                  122.0.6261.111-1           -315.83 MiB
cifs-utils                7.0-3                        -0.25 MiB
cinnamon-desktop          6.0.0-1                      -1.40 MiB
clutter                   1.26.4-2                    -17.50 MiB
clutter-gtk               1.8.4-3                      -0.25 MiB
cogl                      1.22.8-2                     -4.59 MiB
colord                    1.4.7-2                      -5.06 MiB
colord-gtk                0.3.0-2                      -0.05 MiB
colord-gtk-common         0.3.0-2                      -0.12 MiB
colord-gtk4               0.3.0-2                      -0.03 MiB
confuse                   3.3-4                        -0.14 MiB
cpupower-gui              1.0.0-6                      -0.18 MiB
cracklib                  2.9.11-1                     -0.90 MiB
cups-pk-helper            0.2.7-1                      -0.35 MiB
darktable                 2:4.6.1-2                   -30.92 MiB
dbus-glib                 0.112-3                      -0.80 MiB
dbus-python               1.3.2-2                      -0.63 MiB
dconf-editor              45.0.1-1                     -3.09 MiB
djvulibre                 3.5.28-5                     -3.05 MiB
dkms                      3.0.12-1                     -0.11 MiB
double-conversion         3.3.0-1                      -0.18 MiB
enchant                   2.6.5-1                      -0.22 MiB
evince                    45.0-1                      -11.75 MiB
exempi                    2.6.5-1                      -1.44 MiB
exiv2                     0.28.2-1                     -7.61 MiB
file-roller               43.1-1                       -4.14 MiB
firefox                   123.0.1-1                  -235.00 MiB
flameshot                 12.1.0-3                     -2.80 MiB
flatpak                   1:1.15.6-2                   -7.19 MiB
flickcurl                 1.26-12                      -2.31 MiB
fuse3                     3.16.2-1                     -0.46 MiB
gcc                       13.2.1-5                   -184.18 MiB
gcr                       3.41.2-1                     -3.93 MiB
gcr-4                     4.2.1-1                      -2.86 MiB
gd                        2.3.3-7                      -0.67 MiB
gdm                       45.0.1-1                     -4.73 MiB
gegl                      0.4.48-1                    -20.05 MiB
geoclue                   2.7.1-2                      -1.55 MiB
geocode-glib-2            3.26.4-4                     -0.79 MiB
geocode-glib-common       3.26.4-4                     -0.06 MiB
ghostscript               10.03.0-1                   -42.50 MiB
gimp                      2.10.36-5                  -112.71 MiB
gjs                       2:1.78.4-1                   -1.41 MiB
glibmm                    2.66.6-1                     -5.87 MiB
gmic                      3.3.4-1                     -19.64 MiB
gnome-autoar              0.4.4-1                      -0.53 MiB
gnome-bluetooth-3.0       42.8-1                       -1.19 MiB
gnome-break-timer         2.1.0-1                      -0.56 MiB
gnome-calculator          45.0.2-1                     -9.41 MiB
gnome-color-manager       3.36.0+r51+gcf7ee2b5-1       -3.06 MiB
gnome-control-center      45.3-1                      -21.96 MiB
gnome-desktop             1:44.0-1                     -0.54 MiB
gnome-desktop-4           1:44.0-1                     -0.57 MiB
gnome-desktop-common      1:44.0-1                     -2.84 MiB
gnome-disk-utility        45.1-1                       -6.41 MiB
gnome-keyring             1:46.1-1                     -3.30 MiB
gnome-menus               3.36.0-2                     -0.62 MiB
gnome-nettool             42.0-2                       -1.94 MiB
gnome-online-accounts     3.48.0-2                     -1.57 MiB
gnome-power-manager       43.0-1                       -0.88 MiB
gnome-screenshot          41.0+r25+g45f08f0-1          -0.83 MiB
gnome-session             45.0-1                       -1.44 MiB
gnome-settings-daemon     45.1-1                       -5.78 MiB
gnome-shell               1:45.4-1                    -14.04 MiB
gnome-terminal            3.50.1-1                     -8.31 MiB
gnome-tweaks              45.1-1                       -1.59 MiB
gnote                     45.1-1                      -18.41 MiB
gnu-free-fonts            20120503-8                   -6.65 MiB
gparted                   1.6.0-1                      -7.08 MiB
gpaste                    45-1                         -1.54 MiB
gpodder                   3.11.4-1                     -4.80 MiB
graphene                  1.10.8-1                     -2.49 MiB
graphicsmagick            1.3.42-3                    -13.91 MiB
graphviz                  10.0.1-1                     -9.54 MiB
grsync                    1.3.1-1                      -0.59 MiB
gsfonts                   20200910-3                   -3.11 MiB
gsound                    1.0.3-3                      -0.27 MiB
gspell                    1.12.2-2                     -0.72 MiB
gst-plugin-gtk            1.24.0-1                     -0.11 MiB
gst-plugins-base          1.24.0-1                     -0.94 MiB
gthumb                    3.12.5-2                    -12.16 MiB
gtk2                      2.24.33-3                   -36.58 MiB
gtk3                      1:3.24.41-1                 -51.99 MiB
gtk4                      1:4.12.5-1                  -33.25 MiB
gtkd                      3.10.0-11                   -30.17 MiB
gtkmm-4.0                 4.12.0-1                     -9.39 MiB
gtkmm3                    3.24.8-1                     -9.42 MiB
gtksourceview3            1:3.24.11+r28+g73e57b57-1    -3.92 MiB
gtksourceview4            4.8.4-1                      -7.43 MiB
gtksourceview5            5.10.0-1                     -6.05 MiB
gts                       0.7.6.121130-2               -0.67 MiB
gufw                      24.04-1                      -3.52 MiB
gvfs                      1.52.2-2                     -5.23 MiB
gvfs-mtp                  1.52.2-2                     -0.16 MiB
harfbuzz-icu              8.3.0-2                      -0.02 MiB
hyphen                    2.8.8-5                      -0.03 MiB
iio-sensor-proxy          3.5-2                        -0.10 MiB
ijs                       0.35-6                       -0.12 MiB
jasper                    4.2.1-1                      -0.64 MiB
jbig2dec                  0.20-1                       -0.15 MiB
keepassxc                 2.7.6-3                     -26.21 MiB
kguiaddons5               5.115.0-2                    -0.69 MiB
ldb                       2:2.8.0-1                    -0.85 MiB
lensfun                   1:0.3.4-3                    -4.29 MiB
libadwaita                1:1.4.4-1                    -3.91 MiB
libatasmart               0.19-6                       -0.10 MiB
libavif                   1.0.4-1                      -0.39 MiB
libb2                     0.98.1-2                     -0.12 MiB
libblockdev               3.1.0-2                      -3.38 MiB
libblockdev-crypto        3.1.0-2                      -0.07 MiB
libblockdev-fs            3.1.0-2                      -0.13 MiB
libblockdev-loop          3.1.0-2                      -0.02 MiB
libblockdev-mdraid        3.1.0-2                      -0.03 MiB
libblockdev-nvme          3.1.0-2                      -0.08 MiB
libblockdev-part          3.1.0-2                      -0.04 MiB
libblockdev-swap          3.1.0-2                      -0.02 MiB
libbytesize               2.8-2                        -0.09 MiB
libcanberra               1:0.30+r2+gc0620e4-3         -0.43 MiB
libcddb                   1.3.2-7                      -0.15 MiB
libcloudproviders         0.3.5-1                      -0.47 MiB
libcolord                 1.4.7-2                      -1.24 MiB
libcue                    2.3.0-1                      -0.04 MiB
libcups                   1:2.4.7-2                    -0.82 MiB
libdbusmenu-glib          16.04.0.r498-2               -0.68 MiB
libdbusmenu-gtk3          16.04.0.r498-2               -0.23 MiB
libepoxy                  1.5.10-2                     -2.78 MiB
libexif                   0.6.24-2                     -2.70 MiB
libfontenc                1.1.8-1                      -0.03 MiB
libftdi                   1.5-5                        -0.53 MiB
libgdm                    45.0.1-1                     -0.63 MiB
libgee                    0.20.6-1                     -1.86 MiB
libgexiv2                 0.14.2-1                     -1.13 MiB
libgnomekbd               1:3.28.1-1                   -0.69 MiB
libgoa                    3.48.0-2                     -3.56 MiB
libgphoto2                2.5.31-1                     -6.61 MiB
libgtop                   2.41.3-1                     -1.27 MiB
libgusb                   0.4.8-1                      -2.64 MiB
libgweather-4             4.4.0-2                     -22.76 MiB
libgxps                   0.3.2-4                      -0.59 MiB
libhandy                  1.8.3-1                      -2.43 MiB
libheif                   1.17.6-3                     -1.22 MiB
libibus                   1.5.29-3                   -108.97 MiB
libice                    1.1.1-2                      -0.36 MiB
libidn                    1.42-1                       -0.77 MiB
libimobiledevice          1.3.0-10                     -2.94 MiB
libinput                  1.25.0-1                     -1.08 MiB
libisl                    0.26-1                       -5.71 MiB
liblphobos                3:1.36.0-3                  -88.03 MiB
liblzf                    3.6-4                        -0.05 MiB
libmalcontent             0.11.1-4                     -0.20 MiB
libmanette                0.2.7-1                      -0.39 MiB
libmicrohttpd             1.0.1-1                      -0.59 MiB
libmms                    0.6.4-4                      -0.08 MiB
libmng                    2.0.3-3                      -0.67 MiB
libmpc                    1.3.1-1                      -0.17 MiB
libmypaint                1.6.1-1                      -1.09 MiB
libnetfilter_queue        1.0.5-1                      -0.04 MiB
libnma                    1.10.6-2                     -0.47 MiB
libnma-common             1.10.6-2                     -1.08 MiB
libnma-gtk4               1.10.6-2                     -0.45 MiB
libnotify                 0.8.3-1                      -0.14 MiB
libpamac                  11.6.2+6+ge74fe0e-4          -3.70 MiB
libpamac-flatpak-plugin   11.6.2+6+ge74fe0e-4          -0.07 MiB
libpamac-snap-plugin      11.6.2+6+ge74fe0e-4          -0.06 MiB
libpaper                  2.1.3-1                      -0.10 MiB
libplist                  2.4.0-1                      -0.51 MiB
libportal                 0.7.1-2                      -0.47 MiB
libportal-gtk3            0.7.1-2                      -0.04 MiB
libportal-gtk4            0.7.1-2                      -0.04 MiB
libpwquality              1.4.5-3                      -0.41 MiB
libraw                    0.21.2-1                     -2.67 MiB
librest                   0.9.1-2                      -0.42 MiB
libsidplayfp              2.6.0-1                      -0.53 MiB
libsigc++                 2.12.1-1                     -1.14 MiB
libsm                     1.2.4-1                      -0.26 MiB
libsoup                   2.74.3-1                     -2.66 MiB
libspectre                0.2.12-1                     -0.09 MiB
libspiro                  1:20221101-2                 -0.04 MiB
libstemmer                2.2.0-2                      -0.79 MiB
libsynctex                2023.66984-19                -0.14 MiB
libtpms                   0.9.6-1                      -1.01 MiB
libusb-compat             0.1.8-1                      -0.04 MiB
libusbmuxd                2.0.2-3                      -0.09 MiB
libwacom                  2.10.0-1                     -0.72 MiB
libwbclient               4.19.5-1                     -0.12 MiB
libwmf                    0.2.13-1                     -3.19 MiB
libwpe                    1.14.2-1                     -0.30 MiB
libxcomposite             0.4.6-1                      -0.02 MiB
libxcvt                   0.1.2-1                      -0.03 MiB
libxfont2                 2.0.6-2                      -0.23 MiB
libxinerama               1.1.5-1                      -0.02 MiB
libxkbfile                1.1.3-1                      -0.20 MiB
libxklavier               5.4-5                        -0.36 MiB
libxmlb                   0.3.15-1                     -1.24 MiB
libxmu                    1.1.4-1                      -0.33 MiB
libxnvctrl                550.54.14-1                  -0.45 MiB
libxpm                    3.5.17-1                     -0.16 MiB
libxt                     1.3.0-1                      -2.04 MiB
libyuv                    r2426+464c51a0-1             -1.85 MiB
lirc                      1:0.10.2-3                   -3.73 MiB
mailcap                   2.1.54-1                     -0.11 MiB
malcontent                0.11.1-4                     -0.70 MiB
md4c                      0.5.2-1                      -0.25 MiB
mdadm                     4.3-2                        -0.92 MiB
minizip                   1:1.3.1-1                    -0.08 MiB
mousepad                  0.6.2-1                      -2.03 MiB
mtdev                     1.1.6-2                      -0.05 MiB
mutter                    45.4-1                      -14.19 MiB
mypaint-brushes1          1.3.1-1                      -2.32 MiB
nemo                      6.0.2-1                      -3.97 MiB
netpbm                    10.86.40-1                   -6.92 MiB
nm-connection-editor      1.36.0-1                     -4.46 MiB
noto-fonts                1:24.3.1-1                 -108.66 MiB
onetbb                    2021.11.0-1                  -1.93 MiB
opencv                    4.9.0-2                     -97.45 MiB
openmp                    17.0.6-1                    -21.81 MiB
opensnitch                1.6.4-1                     -17.13 MiB
openssh                   9.6p1-3                      -5.50 MiB
opusfile                  0.12-3                       -0.20 MiB
osm-gps-map               1.2.0-1                      -0.62 MiB
ostree                    2024.4-1                     -4.37 MiB
pacmanlogviewer           1.5.1-1                      -0.16 MiB
pamac-cli                 11.6.0-2                     -0.18 MiB
pamac-gtk                 11.6.0+2+g5ac9b28-1          -0.54 MiB
pangomm                   2.46.4-1                     -0.49 MiB
pangomm-2.48              2.50.2-1                     -0.54 MiB
parted                    3.6-1                        -2.42 MiB
patch                     2.7.6-10                     -0.18 MiB
pavucontrol               1:5.0+r64+geba9ca6-1         -1.01 MiB
pipewire-pulse            1:1.0.3-1                    -0.48 MiB
poppler                   24.01.0-1                    -6.23 MiB
poppler-data              0.4.12-1                    -12.34 MiB
poppler-glib              24.01.0-1                    -3.09 MiB
psensor                   1.2.1-4                      -1.52 MiB
pugixml                   1.14-1                       -0.30 MiB
python-cairo              1.26.0-1                     -0.42 MiB
python-grpcio             1.62.1-1                     -7.66 MiB
python-mygpoclient        1.9-2                        -0.45 MiB
python-notify2            0.3.1-8                      -0.07 MiB
python-podcastparser      0.6.10-2                     -0.14 MiB
python-protobuf           25.3-1                       -2.41 MiB
python-pyinotify          0.9.6-12                     -0.30 MiB
python-pyqt5              5.15.10-1                   -28.50 MiB
python-pyqt5-sip          12.13.0-1                    -0.21 MiB
python-pyxdg              0.28-2                       -0.59 MiB
python-slugify            8.0.4-1                      -0.05 MiB
python-text-unidecode     1.3-9                        -0.30 MiB
qgnomeplatform-qt5        0.9.1-8                      -0.51 MiB
qgnomeplatform-qt6        0.9.1-8                      -0.45 MiB
qt5-base                  5.15.12+kde+r151-1          -62.71 MiB
qt5-declarative           5.15.12+kde+r32-1           -22.97 MiB
qt5-imageformats          5.15.12+kde+r10-1            -0.20 MiB
qt5-quickcontrols2        5.15.12+kde+r5-1             -8.73 MiB
qt5-svg                   5.15.12+kde+r6-1             -0.49 MiB
qt5-tools                 5.15.12+kde+r4-2            -15.20 MiB
qt5-translations          5.15.12-1                   -14.71 MiB
qt5-wayland               5.15.12+kde+r61-1            -6.12 MiB
qt5-x11extras             5.15.12-1                    -0.04 MiB
qt6-base                  6.6.2-4                     -55.12 MiB
qt6-declarative           6.6.2-1                     -81.56 MiB
qt6-translations          6.6.2-1                     -13.00 MiB
qt6-wayland               6.6.2-1                      -6.90 MiB
re2                       1:20240301-1                 -0.39 MiB
rmlint-shredder           2.10.2-1                     -0.58 MiB
rtkit                     0.13-2                       -0.08 MiB
sdl12-compat              1.2.68-1                     -0.64 MiB
signal-desktop            7.1.1-1                    -411.15 MiB
smbclient                 4.19.5-1                    -26.87 MiB
smplayer                  23.12.0-1                   -15.48 MiB
smplayer-skins            1:20.11.0-2                  -0.98 MiB
smplayer-themes           1:20.11.0-1                  -3.69 MiB
snapd                     2.61-2                      -64.83 MiB
snapd-glib                1.64-1                       -5.52 MiB
sound-theme-freedesktop   0.8-5                        -0.45 MiB
startup-notification      0.12-8                       -0.06 MiB
suitesparse               7.6.1-1                    -181.44 MiB
systemd-ui                3-5                          -0.20 MiB
talloc                    2.4.1-1                      -0.16 MiB
tdb                       1.4.9-1                      -0.23 MiB
tecla                     45.0-1                       -0.09 MiB
tevent                    1:0.15.0-1                   -0.20 MiB
tilix                     1.9.6-2                      -5.70 MiB
tracker3                  3.6.0-3                      -3.20 MiB
tslib                     1.23-1                       -0.47 MiB
ttf-liberation            2.1.5-1                      -4.16 MiB
udisks2                   2.10.1-4                    -14.57 MiB
ufw                       0.36.2-2                     -0.93 MiB
uget                      2.2.3-6                      -1.27 MiB
unzip                     6.0-20                       -0.30 MiB
upower                    1.90.2-1                     -0.76 MiB
usbmuxd                   1.1.1-3                      -0.08 MiB
verdict                   1.4.2-1                      -0.23 MiB
virtualbox                7.0.14-2                   -217.32 MiB
virtualbox-ext-oracle     7.0.14-1                     -2.14 MiB
virtualbox-host-dkms      7.0.14-2                    -11.07 MiB
volume_key                0.3.12-8                     -0.69 MiB
vte-common                0.74.2-1                     -0.18 MiB
vte3                      0.74.2-1                     -1.08 MiB
vulkan-headers            1:1.3.279-1                 -25.83 MiB
webkit2gtk                2.42.5-2                   -102.27 MiB
webkit2gtk-4.1            2.42.5-2                   -102.31 MiB
webkitgtk-6.0             2.42.5-2                    -98.86 MiB
whois                     5.5.21-1                     -0.24 MiB
woff2                     1.0.2-4                      -0.17 MiB
wpebackend-fdo            1.14.2-1                     -0.13 MiB
xapp                      2.8.2-1                      -1.21 MiB
xcb-util                  0.4.1-1                      -0.04 MiB
xcb-util-cursor           0.1.5-1                      -0.03 MiB
xcb-util-image            0.4.1-2                      -0.05 MiB
xcb-util-keysyms          0.4.1-4                      -0.02 MiB
xcb-util-renderutil       0.3.10-1                     -0.03 MiB
xcb-util-wm               0.4.2-1                      -0.21 MiB
xdg-dbus-proxy            0.1.5-1                      -0.05 MiB
xdg-desktop-portal        1.18.2-1                     -2.28 MiB
xdg-desktop-portal-gnome  45.1-1                       -0.77 MiB
xdg-desktop-portal-gtk    1.15.1-1                     -0.45 MiB
xdg-user-dirs             0.18-1                       -0.14 MiB
xdg-user-dirs-gtk         0.11-2                       -0.18 MiB
xdg-utils                 1.2.1-1                      -0.30 MiB
xf86-input-libinput       1.4.0-1                      -0.10 MiB
xorg-fonts-encodings      1.1.0-1                      -0.61 MiB
xorg-server               21.1.11-1                    -3.73 MiB
xorg-server-common        21.1.11-1                    -0.12 MiB
xorg-setxkbmap            1.3.4-1                      -0.03 MiB
xorg-xhost                1.0.9-1                      -0.03 MiB
xorg-xkbcomp              1.4.7-1                      -0.21 MiB
xorg-xprop                1.2.7-1                      -0.05 MiB
xorg-xrdb                 1.2.2-1                      -0.04 MiB
xorg-xset                 1.2.5-1                      -0.04 MiB
xorg-xwayland             23.2.4-2                     -2.24 MiB
zip                       3.0-11                       -0.55 MiB
avahi                     1:0.8+r194+g3f79789-1        -1.89 MiB

Total Removed Size:  3825.62 MiB

:: Do you want to remove these packages? [Y/n] 

You could try reinstalling all your native packages again.

Try:

sudo pacman -S - $(pacman -Qqn) --overwrite '*'

If your pacman still works.

4 Likes

Yes but i thought i can because of this optionally tag,

Now i am reinstalling EndeavourOS

1 Like

I understand. That is a bit misleading and unfortunate.

pacman seems to list only the packages that would still remain in the system after the removal of all the other listed packages.

These remaining packages would have otionally required one or some of the removed packages.

You could still give the command I posted above a try, if you want, before reinstalling and see if that would resolve the issue.

As a new user, a good rule of thumb to follow is to always check the man pages if you are unfamiliar with an option or flag of a particular command. This approach has two advantages:

  1. it prevents system breakages like what you’re experiencing now
  2. you will learn in the process.

Having said that, I’m rather curious about what prompted you to use the -c flag in the first place?

1 Like

By the way, I rectify:

I don’t think the command I posted above will work but something like:

eos-packagelist Desktop-Base\ +\ Common\ packages > reinstall-pkg.list 
eos-packagelist GNOME-Desktop >> reinstall-pkg.list 
sudo pacman -S - --needed < reinstall-pkg.list

may.

Perhaps reinstalling the system is the “Path of Least Resistance” anyways.

For me it’s very first because i am very new to arch based Linux,
Anyways reinstallation complete,

Again there are many things I don’t want :dizzy_face:

If i count, they are 25 including avahi :smile:,
I know how to remove some but not all

You can install the package pacman-contrib (if not already installed) and then use the command line tool pactree to see the dependencies and reverse dependencies of a packages.

For example if you want to see what in your system is dependent on a package X, you could use

pactree -r X

I suggest to keep away from -c flag and at most use pacman -Rs to uninstall a package.

Make a judgement on a case per case basis as to what to remove for not breaking your system again.

I won’t recommend removing avahi though.

pactree -r avahi
$ pactree -r avahi 
avahi
├─geoclue
│ ├─gnome-settings-daemon
│ │ ├─gnome-control-center
│ │ ├─gnome-shell
│ │ │ └─gdm
│ │ ├─gnome-tweaks
│ │ └─mutter
│ │   └─gnome-shell
│ └─xdg-desktop-portal
│   ├─flatpak
│   │ ├─libpamac-flatpak-plugin
│   │ │ └─arcolinux-pamac-all
│   │ └─malcontent
│   ├─libportal
│   │ ├─libportal-gtk3
│   │ │ └─file-roller
│   │ └─libportal-gtk4
│   ├─xdg-desktop-portal-gnome
│   └─xdg-desktop-portal-gtk
│     └─xdg-desktop-portal-gnome
├─gvfs
│ ├─evince
│ ├─gvfs-mtp
│ └─nemo
├─libcups
│ ├─chromium
│ ├─cups-pk-helper
│ │ └─gnome-control-center
│ ├─ghostscript
│ │ ├─graphviz
│ │ └─libspectre
│ │   └─evince
│ ├─gnome-control-center
│ ├─gtk2
│ │ └─gimp
│ ├─gtk3
│ │ ├─alacarte
│ │ ├─arcolinux-pamac-all
│ │ ├─bleachbit
│ │ ├─chromium
│ │ ├─cinnamon-desktop
│ │ │ └─nemo
│ │ ├─clutter
│ │ │ └─clutter-gtk
│ │ │   └─gthumb
│ │ ├─colord-gtk
│ │ │ └─darktable
│ │ ├─cpupower-gui
│ │ ├─evince
│ │ ├─firefox
│ │ ├─gcr
│ │ │ ├─gnome-control-center
│ │ │ ├─gnome-keyring
│ │ │ │ └─xdg-desktop-portal-gnome
│ │ │ ├─gnome-online-accounts
│ │ │ │ └─gnome-control-center
│ │ │ └─gvfs
│ │ ├─gnome-autoar
│ │ │ └─gnome-shell
│ │ ├─gnome-break-timer
│ │ ├─gnome-color-manager
│ │ │ └─gnome-control-center
│ │ ├─gnome-control-center
│ │ ├─gnome-desktop
│ │ │ ├─evince
│ │ │ ├─gnome-session
│ │ │ │ ├─gdm
│ │ │ │ └─gnome-shell
│ │ │ └─gnome-settings-daemon
│ │ ├─gnome-disk-utility
│ │ ├─gnome-nettool
│ │ ├─gnome-power-manager
│ │ ├─gnome-screenshot
│ │ ├─gnome-settings-daemon
│ │ ├─gpaste
│ │ ├─gpodder
│ │ ├─grsync
│ │ ├─gspell
│ │ │ └─evince
│ │ ├─gst-plugin-gtk
│ │ │ └─gthumb
│ │ ├─gtkd
│ │ │ └─tilix
│ │ ├─gtkmm3
│ │ │ ├─gparted
│ │ │ └─pavucontrol
│ │ ├─gtksourceview3
│ │ │ └─rmlint-shredder
│ │ ├─gtksourceview4
│ │ │ └─mousepad
│ │ ├─gufw
│ │ ├─libdbusmenu-gtk3
│ │ │ └─xapp
│ │ │   └─nemo
│ │ ├─libgnomekbd
│ │ │ └─xapp
│ │ ├─libhandy
│ │ │ ├─arcolinux-pamac-all
│ │ │ ├─cpupower-gui
│ │ │ ├─dconf-editor
│ │ │ ├─evince
│ │ │ ├─file-roller
│ │ │ ├─gnome-disk-utility
│ │ │ ├─gnome-screenshot
│ │ │ ├─gnome-terminal
│ │ │ └─gnome-tweaks
│ │ ├─libnma
│ │ │ └─nm-connection-editor
│ │ ├─libportal-gtk3
│ │ ├─osm-gps-map
│ │ │ └─darktable
│ │ ├─psensor
│ │ ├─qgnomeplatform-qt5
│ │ ├─qgnomeplatform-qt6
│ │ ├─signal-desktop
│ │ ├─systemd-ui
│ │ ├─uget
│ │ ├─vte3
│ │ │ ├─gnome-terminal
│ │ │ └─tilix
│ │ ├─webkit2gtk
│ │ │ ├─gthumb
│ │ │ └─gufw
│ │ ├─webkit2gtk-4.1
│ │ │ └─gnome-online-accounts
│ │ ├─xdg-desktop-portal-gtk
│ │ └─xdg-user-dirs-gtk
│ ├─gtk4
│ │ ├─baobab
│ │ ├─celluloid
│ │ ├─colord-gtk4
│ │ │ └─gnome-control-center
│ │ ├─gnome-bluetooth-3.0
│ │ │ └─gnome-control-center
│ │ ├─gnome-calculator
│ │ ├─gnome-control-center
│ │ ├─gnome-desktop-4
│ │ │ ├─gnome-control-center
│ │ │ ├─mutter
│ │ │ └─xdg-desktop-portal-gnome
│ │ ├─gnome-shell
│ │ ├─gpaste
│ │ ├─gtkmm-4.0
│ │ │ └─gnote
│ │ ├─gtksourceview5
│ │ │ └─gnome-calculator
│ │ ├─libadwaita
│ │ │ ├─baobab
│ │ │ ├─celluloid
│ │ │ ├─gnome-bluetooth-3.0
│ │ │ ├─gnome-calculator
│ │ │ ├─gnome-control-center
│ │ │ ├─gnome-shell
│ │ │ ├─gpaste
│ │ │ ├─malcontent
│ │ │ ├─pamac-gtk
│ │ │ │ └─arcolinux-pamac-all
│ │ │ ├─tecla
│ │ │ │ └─gnome-control-center
│ │ │ └─xdg-desktop-portal-gnome
│ │ ├─libnma-gtk4
│ │ │ ├─gnome-control-center
│ │ │ └─gnome-shell
│ │ ├─libportal-gtk4
│ │ ├─malcontent
│ │ ├─pamac-gtk
│ │ ├─tecla
│ │ ├─webkitgtk-6.0
│ │ └─xdg-desktop-portal-gnome
│ ├─qt5-base
│ │ ├─audacious
│ │ ├─btrfs-assistant
│ │ ├─pacmanlogviewer
│ │ ├─python-pyqt5
│ │ │ └─opensnitch
│ │ ├─qt5-declarative
│ │ │ ├─qt5-quickcontrols2
│ │ │ │ └─qgnomeplatform-qt5
│ │ │ ├─qt5-wayland
│ │ │ │ ├─kguiaddons5
│ │ │ │ │ └─flameshot
│ │ │ │ └─qgnomeplatform-qt5
│ │ │ ├─smplayer
│ │ │ │ ├─smplayer-skins
│ │ │ │ └─smplayer-themes
│ │ │ └─snapd-glib
│ │ │   └─libpamac-snap-plugin
│ │ │     └─arcolinux-pamac-all
│ │ ├─qt5-imageformats
│ │ │ └─audacious
│ │ ├─qt5-svg
│ │ │ ├─audacious
│ │ │ ├─btrfs-assistant
│ │ │ ├─flameshot
│ │ │ └─keepassxc
│ │ ├─qt5-tools
│ │ │ └─virtualbox
│ │ │   └─virtualbox-ext-oracle
│ │ ├─qt5-x11extras
│ │ │ ├─adwaita-qt5
│ │ │ │ └─qgnomeplatform-qt5
│ │ │ ├─audacious-plugins
│ │ │ │ └─audacious
│ │ │ ├─keepassxc
│ │ │ ├─kguiaddons5
│ │ │ └─virtualbox
│ │ ├─smplayer
│ │ └─virtualbox
│ ├─qt6-base
│ │ ├─adwaita-qt6
│ │ │ └─qgnomeplatform-qt6
│ │ ├─qt6-declarative
│ │ │ └─qt6-wayland
│ │ │   └─qgnomeplatform-qt6
│ │ └─qt6-wayland
│ ├─signal-desktop
│ └─smbclient
│   └─gnome-control-center
├─ostree
│ └─flatpak
└─pipewire-pulse
  └─gnome-settings-daemon

:wink:

2 Likes
2 Likes

Story checks out. -Rcns will definitely land you in some pretty interesting places.

1 Like

I know it is too late now but you avoid combining -Rs with -Rc when using pacman. The result is almost always destructive. Using either one or the other is fine.

Also, just to clarify what happened here, you told pacman to remove a package that other packages depended on. Using -Rc means in plain language, “If any package gets in the way, remove it too”. -Rs in plain language is “For each package you remove, also remove all it’s dependencies”

The end result is, you probably removed your entire graphical environment.

5 Likes

I just don’t understand this. EndeavourOS only install the bare minimum to get you up and running avahi is one of them. I also wouldn’t remove it.

2 Likes

How can i find these means in plain language, i am very new to pacman, i have used apt and dnf (not deep just like normal user)

Don’t suggest pacman documentation :face_with_spiral_eyes:

1 Like

So time to dedicate some time to learn pacman!

I understand that man pacman kan be overwhelming, so in a more digestible format:

https://wiki.archlinux.org/title/Pacman

Well, Arch Linux, and by exetsion EndeavourOS are DIY systems. That means the users need to be willing to put in some effort to read documentation.

Whereas many GNU/Linux distributions attempt to be more user-friendly, Arch Linux has always been, and shall always remain user-centric. The distribution is intended to fill the needs of those contributing to it, rather than trying to appeal to as many users as possible. It is targeted at the proficient GNU/Linux user, or anyone with a do-it-yourself attitude who is willing to read the documentation, and solve their own problems.
https://wiki.archlinux.org/title/Arch_Linux#User_centrality

Take your time and get acquainted with your system, do your homework and if anything is unclear, ask the forum.

6 Likes

Maybe kaushiksahu would like to hide or delete avahi from the gnome menu? Possible in KDE, I assume gnome too…

1 Like

Are you stressed for space? If not, then is this penchant to remove stuff purely to satisfy some idealistic need? Since you are unfamiliar with Arch based systems, would it not be better to simply use the system as delivered for a while and get to know it?

5 Likes