You are not logged in.
My KDE desktop is so messed up. I cannot open most icons or interact. Browsers dont allow me to type so I am typing in Kate and pasting it via my mouse into my browser to write this so apologies for the poor formatting. I installed Wine but instead of installing binaries it compiled it to my disk which I think may have caused this issue because I have uninstalled other packages before with no drama.I did not think much of it at the time and wanted to test my Windows programme. It behaved poorly and I was hoping to instead try Wine-Bottles but figured I would remove Wine and the programme in case there was any conflict.
This is where the problem started.
I initially went to ChatGPT (I am sorry I am a massive newb and was hoping this would fix it as it has most of my problems)
sudo pacman -R wine
sudo pacman -Rs $(pacman -Qqdt)
it then asked me to remove winetricks and directory as the terminal said there was an error
sudo pacman -R wine winetricks
rm -rf ~/.wine
After this I did sudo
pacman -R wine
and it did not respond to which I told it it may have been compiled. It said to find the directory and put in this command saying it was in /usr/ or /opt/
sudo rm -rf /path/to/wine
I could not find it in either so searched and found it in
/usr/src/debug/wine-stable
So I put in the terminal
sudo rm -rf /usr/src/debug/wine-stable
Which I thought would solve the problem. But Wine still appeared in my start menu folder. Annoyed I asked how to remove it properly
it advised me to do these commands
sudo rm /usr/share/applications/wine*.desktop
rm ~/.local/share/applications/wine*.desktop
And a few more here:
cd /usr/share/applications
ls wine*.desktop
sudo rm wine*.desktop
cd ~/.local/share/applications
rm wine*.desktop
ls ~/.local/share/applications/wine*.desktop
rm ~/.local/share/applications/wine*.desktop
rm -r ~/.cache
But Wine was still on my start menu. I would reboot to no avail. And so I asked it to help and it gave this command
sudo find / -name '*wine*' -type f
which spat out a long list of files in /usr/ /home/ and /var/ that mentioned Wine. I spat it back to GPT and it told me to do the following commands (THIS IS WHERE I THINK THINGS WENT WRONG)
#Remove Wine Configuration and Cache Files:
rm -rf ~/.wine64.[windowsprogramme]
#Remove Wine-related Binaries and Libraries:
sudo rm -rf /usr/lib/libkwineffects.so*
sudo rm -rf /usr/lib/debug/usr/bin/wine*
sudo rm -rf /usr/lib/debug/usr/lib/wine*
#Remove Wine-related MIME Types and Desktop Entries:
rm -rf ~/.local/share/mime/application/x-wine*
rm -rf ~/.local/share/mime/packages/x-wine*
rm -rf ~/.local/share/desktop-directories/wine*
#Remove Flatpak Wine-related Entries (if applicable):
sudo rm -rf /var/lib/flatpak/appstream/*/*/*/icons/*/*wine*
#Remove Pacman Package Cache:
sudo pacman -Sc
After this happened...It seemed like the Wine on the start menu went away..kinda...the icon went away but instead had a folder called 'wine-wine' in its place. I decided to reboot thinking it would wipe it on reboot. This is where the real trouble started. Upon reboot my KDE desktop (x11 because Wayland doesnt work with my Nvidia GPU) is no longer responsive and buggy. I tried to undo the things I did but its not helping.
I have checked the GPU and it seems fine. ChatGPT asked me to test with making a new user. The issues persist with the new user. It sometimes does not even recognise my password in the terminal- despite it being the same password upon login. I have restored KDE to factory settings: the problem persists.
I have done
sudo pacman -Scc
sudo pacman -Syu
in a vain attempt to fix this: the problem persists.
I really dont know what I am doing to be frank and I dont wish to tinker any further lest I dig myself deeper.
I am sorry, this is entirely on account of me being a newb but I am wanting to see if there is any cautious remedy for this as I do not wish to reinstall KDE lest further issues arise and I have to end up reinstalling Arch from scratch. I have been using Arch for the past month and have configured a lot of things that I do not wish to do all over again. All in all I really enjoy using Arch as I am sick of Windows and would rather see if I can salvage this disaster.
Many thanks!
Swagapino1337
Last edited by swagapino1337 (2024-02-18 15:16:38)
Offline
ChatGPT got you into this mess, you say? What does ChatGPT say about getting you out of this mess?
Personally, after the installing, removing, and generally just *blind* panicking, I would have no clue how to go about undoing what was done to the UI and the resulting, unknown impact system-wide.
But I know that the Arch Wiki knows more correct information about Arch Linux than ChatGPT does. Maybe that would be a place to search how to save your data and special configuration settings in the process of undoing ChatGPT's (and your own) damage?
And how does restoring "KDE to factory settings" work, anyway?
And read my tag line at the bottom. Welcome to the club, brother. ![]()
Last edited by c00ter (2024-02-18 14:09:58)
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn
Offline
# LC_ALL=C pacman -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/broken_packages.txtThen inspect / post /tmp/broken_packages.txt.
Offline
# LC_ALL=C pacman -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/broken_packages.txtThen inspect / post /tmp/broken_packages.txt.
Thank you I have done this. There is a very long list so I dont wish to copy and paste it all here as I think that might be rude - unless of course it is necessary
All I will say is there is a vast number of logs that more or less appear with varying paths in this manner:
warning: wine-stable-debug: /usr/src/debug/wine-stable/wine/dlls/mmdevapi (No such file or directory)
at the end of the logs came this message:
wine-stable-debug: 913 total files, 648 altered files
A few libvirt logs at the top as well but miniscule in comparison to wine logs.also heres the pacman logs cause it may be relevant
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
backup file: pacman: /etc/pacman.conf (MD5 checksum mismatch)
backup file: pacman: /etc/pacman.conf (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (MD5 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
ppp: 87 total files, 4 altered files
Last edited by swagapino1337 (2024-02-18 14:30:34)
Offline
well get rid of wine-stable-debug as well, but that wouldn't have anything to do with your problem. That package list shouldn't be all that long, but anything that's there and isn't about backup files will likely need reinstalled.
Offline
The output is needed. If the output will not fit in code tags use a pastebin:
curl -F 'file=@-' 0x0.st < /tmp/broken_packages.txtThen post the URL that command should generate.
Offline
Okay I have uninstalled wine so the logs are shorter. Here they are
[swagapino1337@archlinux ~]$ LC_ALL=C pacman -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/broken_packages.txt
warning: audit: /etc/libaudit.conf (failed to calculate MD5 checksum)
warning: audit: /etc/libaudit.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/audisp-remote.conf (failed to calculate MD5 checksum)
warning: audit: /etc/audit/audisp-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/zos-remote.conf (failed to calculate MD5 checksum)
warning: audit: /etc/audit/zos-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/plugins.d/af_unix.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/au-remote.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/audispd-zos-remote.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/syslog.conf (Permission denied)
warning: audit: /usr/share/factory/etc/libaudit.conf (failed to calculate MD5 checksum)
warning: audit: /usr/share/factory/etc/libaudit.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/audisp-remote.conf (failed to calculate MD5 checksum)
warning: audit: /usr/share/factory/etc/audit/audisp-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/zos-remote.conf (failed to calculate MD5 checksum)
warning: audit: /usr/share/factory/etc/audit/zos-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/plugins.d/af_unix.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/au-remote.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/audispd-zos-remote.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/syslog.conf (Permission denied)
warning: dbus: /usr/lib/dbus-1.0/dbus-daemon-launch-helper (failed to calculate MD5 checksum)
warning: dbus: /usr/lib/dbus-1.0/dbus-daemon-launch-helper (failed to calculate SHA256 checksum)
audit: 229 total files, 14 altered files
dbus: 91 total files, 1 altered file
dbus-gwarning: filesystem: /etc/crypttab (failed to calculate MD5 checksum)
warning: filesystem: /etc/crypttab (failed to calculate SHA256 checksum)
warning: filesystem: /etc/gshadow (failed to calculate MD5 checksum)
warning: filesystem: /etc/gshadow (failed to calculate SHA256 checksum)
warning: filesystem: /etc/shadow (failed to calculate MD5 checksum)
warning: filesystem: /etc/shadow (failed to calculate SHA256 checksum)
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (MD5 checksum mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (MD5 checksum mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (MD5 checksum mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
backup file: filesystem: /etc/subgid (Modification time mismatch)
backupwarning: filesystem: /root (Permissions mismatch)
warning: filesystem: /usr/share/factory/etc/crypttab (failed to calculate MD5 checksum)
warning: filesystem: /usr/share/factory/etc/crypttab (failed to calculate SHA256 checksum)
warning: filesystem: /usr/share/factory/etc/gshadow (failed to calculate MD5 checksum)
warning: filesystem: /usr/share/factory/etc/gshadow (failed to calculate SHA256 checksum)
warning: filesystem: /usr/share/factory/etc/shadow (failed to calculate MD5 checksum)
warning: filesystem: /usr/share/factory/etc/shadow (failed to calculate SHA256 checksum)
file: filesystem: /etc/subgid (Size mismatch)
backup file: filesystem: /etc/subgid (MD5 checksum mismatch)
backup file: filesystem: /etc/subgid (SHA256 checksum mismatch)
backup file: filesystem: /etc/subuid (Modification time mismatch)
backup file: filesystem: /etc/subuid (Size mismatch)
backup file: filesystem: /etc/subuid (MD5 checksum mismatch)
backup file: filesystem: /etc/subuid (SHA256 checksum mismatch)
filesystem: 121 total files, 7 altered files
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
backup file: glibc: /etc/locale.gen (MD5 checksum mismatch)
backup file: glibc: /etc/locale.gen (SHA256 checksum mismatch)
backup file: grub: /etc/default/grub (Modification time mismatch)
backup file: grub: /etc/default/grub (Size mismatch)
backup file: grub: /etc/default/grub (MD5 checksum mismatch)
backup file: grub: /etc/default/grub (SHA256 checksum mismatch)
guile: 929 total files,warning: intel-ucode: /boot/intel-ucode.img (Permissions mismatch)
warning: intel-ucode: /boot/intel-ucode.img (Modification time mismatch)
0 altered files
intel-ucode: 156 total files, 1 altered file
kjobwidgets5: 352 total files, 0 altered warning: kwin: /usr/lib/libkwineffects.so (No such file or directory)
warning: kwin: /usr/lib/libkwineffects.so.14 (No such file or directory)
warning: kwin: /usr/lib/libkwineffects.so.5.27.10 (No such file or directory)
files
kwin: 2297 total files, 3 altered files
libngtcp2: 15 totawarning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
libutempter: 20 total files, 1 altered file
libvpx: 28 total fileswarning: materialx: /usr/share/mime/model/materialx.xml (No such file or directory)
materialx: 1241 total files, 1 altered file
backup file: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (MD5 checksum mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (SHA256 checksum mismatch)
mkinitcpio-buswarning: modemmanager: /usr/share/ModemManager/connection.available.d/99-log-event (failed to calculate MD5 checksum)
warning: modemmanager: /usr/share/ModemManager/connection.available.d/99-log-event (failed to calculate SHA256 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/105b (failed to calculate MD5 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/105b (failed to calculate SHA256 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/1199 (failed to calculate MD5 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/1199 (failed to calculate SHA256 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/1eac (failed to calculate MD5 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/1eac (failed to calculate SHA256 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/2c7c (failed to calculate MD5 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/2c7c (failed to calculate SHA256 checksum)
warning: openssh: /usr/lib/ssh/ssh-keysign (failed to calculate MD5 checksum)
warning: openssh: /usr/lib/ssh/ssh-keysign (failed to calculate SHA256 checksum)
modemmanager: 309 total files, 5 altered files
openssh: 63 total files, 1 altered file
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
backup file: pacman: /etc/pacman.conf (MD5 checksum mismatch)
backup file: pacman: /etc/pacman.conf (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (MD5 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
pciutils: 27 total files, 0 altered filwarning: ppp: /etc/ppp/chap-secrets (failed to calculate MD5 checksum)
warning: ppp: /etc/ppp/chap-secrets (failed to calculate SHA256 checksum)
warning: ppp: /etc/ppp/eaptls-client (failed to calculate MD5 checksum)
warning: ppp: /etc/ppp/eaptls-client (failed to calculate SHA256 checksum)
warning: ppp: /etc/ppp/eaptls-server (failed to calculate MD5 checksum)
warning: ppp: /etc/ppp/eaptls-server (failed to calculate SHA256 checksum)
warning: ppp: /etc/ppp/pap-secrets (failed to calculate MD5 checksum)
warning: ppp: /etc/ppp/pap-secrets (failed to calculate SHA256 checksum)
es
ppp: 87 total files, 4 altered files
sdl2: 112 total files, 0 altewarning: shadow: /etc/default/useradd (failed to calculate MD5 checksum)
warning: shadow: /etc/default/useradd (failed to calculate SHA256 checksum)
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: shadow: /usr/bin/groupmems (failed to calculate MD5 checksum)
warning: shadow: /usr/bin/groupmems (failed to calculate SHA256 checksum)
warning: sudo: /etc/sudoers (failed to calculate MD5 checksum)
warning: sudo: /etc/sudoers (failed to calculate SHA256 checksum)
warning: syslinux: /boot/syslinux/syslinux.cfg (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (MD5 checksum mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (SHA256 checksum mismatch)
red files
shadow: 588 total files, 2 altered files
sudo: 239 total files, 1 altered file
syslinux: 238 total files, 1 altered file
systemd: 1455 total files, 1 altered file
vlc: 1085 total files, 1 altered file
[swagapino1337@archlinux ~]$Last edited by swagapino1337 (2024-02-18 15:11:45)
Offline
Please, code tags! And why is it so garbled?
I do see that you deleted some kwin libraries, reinstall kwin.
Edit: also, that # at the beginning of the command indicates a root prompt. That's why you're getting some false positives in that list without permission.
Last edited by Scimmia (2024-02-18 15:08:03)
Offline
I do see that you deleted some kwin libraries, reinstall kwin.
aha! it looks like it was kwin all along.
problem solved and lesson (hopefully) learned. Will make sure to backup regularly, put code in code format, and check the Wiki instead of GPT.
Thank you all ever so kindly ![]()
Offline