You are not logged in.
I am new to Arch. I just installed it yesterday, and got my system 75% the way I like it. The wiki is outstanding. Also, I have only been on Linux for two years.
Now that that's out of the way, on to my problem. I installed Wine (wine-stable) via yay (AUR, of course), and decided I want Wine Testing (wine-staging). So, I attempted to remove the package and all unneeded dependencies via:
yay -Rs wine-stable
...then
yay -Rns wine-stable
I then tried:
pacman -Rs wine-stable
Each time it errors out with:
error: target not found: wine-stable
I don't know what to do. I admit I didn't search for very long on the net, and the wiki doesn't have a page dedicated to yay.
What can I do to uninstall Wine?
Last edited by malonn (2023-09-30 08:44:34)
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
Moving to AUR issues
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Also, if it helps, I installed yay like so:
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
What I fear I may have to do is uninstall the puppy manually. How can I cleanly do that? That is, if no one has an idea as to how to uninstall via yay or pacman.
Last edited by malonn (2023-09-28 22:56:01)
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
Please post the command you used to install wine. Also, what does yay -Qs wine return?
Offline
To install Wine I used
yay -S wine-stable
yay -Qs wine
returns nothing.
yay -Qs wine-stable
returns nothing
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
Hmmm...last thing I can think up to check if the package was actually installed:
paclog --package=wine-stable
Might want to see if the pacman database is screwed up, too:
yay -Dk
If it's still not found, then I'd post something on yay's Github page: https://github.com/Jguer/yay. What you're describing is far from normal.
Offline
paclog just says that it cannot read the wine-stable. No errors were found on the database check.
It just seems as if the package was not installed. I noticed that the install/build process had some errors (red text—it goes so quick hard to tell what potentially went wrong).
My boneheaded self just thought to search the OS for "wine", and nothing was found. So, something must have happened during the build process.
So, my next question is how can I clean all the dependencies from the system so I have a clean state when I install wine-staging (from "offical" repos)?
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
Wiki explains how to uninstall unused dependencies. Now, to do it...
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
Compare the package builds of wine-stable and wine-staging to see if the build/runtime dependencies are the same; if not, then adjust as necessary.
Offline
The only way I know how to do that is with a browser and scanning the repo sites. That's hard work.
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
If you run yay -Yc, that should remove any unneeded packages; check the list very carefully before proceeding. Since wine-stable was never actually installed, then you'll only have to manually cleanup files in yay's cache directory (defaults to $HOME/.cache/yay).
Offline
Question: that command is mostly full of lib32 packages. Those should be safe to uninstall, right? I just don't want to nuke my system. All packages I installed with yay and pacman are listed with
paman/yay -Qe
Except Wine.
What would you do?
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
Did you have any 32-bit packages installed before trying out wine? If not, then you're good to go. Backup your system first, of course!
Offline
I don't know, honestly. I never explicitly chose a 32 bit package. I just don't know if some package I installed included one.
I'm hesitant to risk it. I don't do full system back ups, instead selective ones. This is from the wiki:
pacman -Qtdq | pacman -Rns -
But, it says it needs to be run as the root account. And, I don't know how to do that.
I'll just have orphaned packages. If I'm lucky, wine-staging uses the exact same dependencies, and this is all moot.
Thanks for your help, @ajgringo619!
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
...you don't know how to run things as root? How do you update your system? How do you install packages? How did you even install the system?
Offline
No, I mean the root account. When you first boot Arch, you have to log in as "root" to do things, and then you create an user account (assuming you don't do all that prior to the first boot out of the live environment, which I didn't). I assume the error the shell gives me means I need to run the command as the "root" account (which I have using a separate password from my administrator account).
I say this because I prepend the above command with "sudo", and it says I need to run it as "root".
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
I prepend the above command with "sudo", and it says I need to run it as "root".
You need to run the second command as root, for example:
pacman -Qtdq | sudo pacman -Rns -
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Don't flail around on what you suspect to be a compromised pacman database where random packages don't show up and post your complete pacman log.
cat /var/log/pacman.log | curl -F 'file=@-' 0x0.st
Offline
You need to run the second command as root, for example:
pacman -Qtdq | sudo pacman -Rns -
Ah. Good stuff, I'll try that. I also thought for a moment and realized that I can log out of my desktop session (KDE) and log in as root.
Don't flail around on what you suspect to be a compromised pacman database where random packages don't show up and post your complete pacman log.
cat /var/log/pacman.log | curl -F 'file=@-' 0x0.st
Last edited by malonn (2023-09-29 08:04:26)
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
I don't understand what that command does, but here is the output (not root):
it uploads your pacman log to the pastebin site 0x0.st where it's visible for all. That type of command (and that specific site) is used a lot on this forum.
[2023-09-28T17:26:44-0400] [PACMAN] Running 'pacman -R -s --config /etc/pacman.conf -- wine-stable'
[2023-09-28T17:29:31-0400] [PACMAN] Running 'pacman -R -n -s --config /etc/pacman.conf -- wine-stable'
[2023-09-28T17:41:44-0400] [PACMAN] Running 'pacman -Rs wine-stable'
Those are the only occurrences of wine in the log. Since yay wraps around pacman to install/remove stuff , it seems you never installed wine-stable .
Other then that wine-stable is an aur package while wine-staging is from official repos.
Note that most people on arch use wine from repos unless they have a specific reason for needing wine-stable.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Note that most people on arch use wine from repos unless they have a specific reason for needing [AUR]
I'll remember that. I just had my first experience as to why that may be. Unless the package one wants is not available from official repos, one should avoid AUR.
Does yay keep a log of actions? I'd like to know what went wrong with the build process.
Either way, I'm more pleased than disappointed, as I don't want the mainline version of Wine; I want the staging version.
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
Unless the package one wants is not available from official repos, one should avoid AUR.
There's no reason to avoid the AUR - but if a repo package will satisfy your needs, that is far better.
I'd like to know what went wrong with the build process.
You used yay. That's what went wrong. Get rid of it. There is no reason to avoid using the AUR, but you should definitely avoid using yay.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You used yay. That's what went wrong. Get rid of it. There is no reason to avoid using the AUR, but you should definitely avoid using yay.
Ah. Good to know. I had trouble building it from source, and just decided to get the binary. Should have been my first clue. However, some sites recommended it.
What would you recommend for AUR needs? I will research it (and others) and make a switch.
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline
What would you recommend for AUR needs?
makepkg
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Right on. Got some review sites up now, time for a switch.
AMD Ryzen 5 5600X
XFX Swift Radeon RX 6800
16GB G.Skill Trident Z Neo
ASRock B550 PG Velocita
Offline