Yay seems installing everything!

[limo@asus ~]$ sudo pacman -Rs guestfs-tools

[sudo] password for limo: 
error: target not found: guestfs-tools 
[limo@asus ~]$ 


How is that!!!

[limo@asus ~]$ yay -Rns grub
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing grub breaks dependency 'grub' required by libguestfs
 -> exit status 1
[limo@asus ~]$ 

It is libguestfs not guestfs-tools
So, is libguestfs required by VirtualBox!

Don’t think so.

Required By (1)

:eye: https://archlinux.org/packages/extra/x86_64/libguestfs/

Check:

sudo pacman -Rs libguestfs

1 Like

The output you posted is from a single AUR package being built from source

You manually created that hook so removing the package won’t remove it. You need to manually delete it.

2 Likes

I saw Dependencies (74) augeas btrfs-progs at https://archlinux.org/packages/extra/x86_64/libguestfs/

So, would it affect my BTRFS I am on if I just did sudo pacman -Rs libguestfs

I am a bit more anxious now as it is related to BTRFS, and booting the system.

It seems to me it was ventoy. Everything went fine after I uninstalled it.

I just removed it as it is not needed as I am on systemd-boot.

In theory it shouldn’t because it is probably a dependency of something else as well.

It is easy to check though. Simply run the command and carefully review the list before confirming to ensure it is doing what you expect.

1 Like

The only package requiring libguestfs is guestfs-tools:

You must have had guestfs-tools installed at one point and then removed it with only -R so it has left behind its dependency, namely libguestfs.

If you want to make sure nothing is dependent on libguestfs, run:

pactree -r libguestfs

1 Like

Done! Reviewed packages and I think (hopefully correct) it was OK to uninstall! https://pastebin.com/hk5dnhEQ
and

[limo@asus ~]$ yay -Rns grub
error: target not found: grub
 -> exit status 1
[limo@asus ~]$ yay grub

No Grub anymore! :pray: :+1: :partying_face:
I will reboot in a few minutes and hopefully I will be back alive!
Reboooted.
Everything is as perfect as usual, the distro and the community.
Thank you all.
Thank you @pebcak @chromian @SearingSunrazeSmash @dalto

2 Likes

@limotux

You might want considering my suggestion to invest some time in studying package management and system maintenance in ArchWiki.

These are excellent articles with a lot of useful information:

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

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

You may need some time to plow through the information but I am sure it is very beneficial in the long run.

Also, I recommend looking into pactree command line tool. It is a very useful tool for learning about the dependencies of a package X (pactree X) and also its reverse dependencies, that is what other packages are dependent on X (pactree -r X).

pactree --help
man pactree

Thank you very much @pebcak
I will try and study as much as I can. (but you know I am not that techie but I will do my best.)

I really appreciate your guidance.

1 Like

Yay isn’t installing everything. You are the only one in control of that. :wink:

I thought just updates everything and installs whatever packages whether in Main repos or in AUR.
The reason seems to be something related to ventoy, as soon I uninstalled it, everything went back to normal.

I don’t have any like for ventoy myself.

After the initial installation, every single thing you install you know about. You can be ignorant to it, but you have to accept it install every time. I’ve read you saying this more than once.

STOP running this. You’ve been told dozens of times by literally half this forum now.

5 Likes

I knew about it from some friend here. It was so interesting as I could distrohop as I wish just from a flash disk. And I can experiment whatever I want. But recently it was not working fine as expected, some ISOs didn’t boot from the flash disk. So, what happened today with me was the end with it.

In a previous discussion I remember we discussed it and since then I am using only yay.
I just did it this time just to see if everything will be OK. Just once.

By the way, it could be run as you mentioned:

So, running it once is not a really serious crime!
You can see my previous post:

I see typing just yay is for sure much easier!
Again I repeat, this is what I actually do since our last discussion.

Nothing out of the ordinary happened today. There was no error. Yay wasn’t reinstalling all the packages on your computer. As @dalto pointed out, you were building a package from source code. When you build big projects from source code, you often get a lot of output, it is supposed to do that.

If you didn’t want to do that, you should have installed ventoy-bin instead. This is where someone else has already built the binary for you.

You panicked over nothing, again. :rofl:

2 Likes

Did you update your mirror list?

I had to panic! Seeing Grub! With all my due respect, no, not again.
If something is related to boot loader or file system, it scares me to end up with a non bootable system! Why I am on a rolling release initially! So not to have to install again!
Why I am on EndeavourOS, for many reasons everybody knows. Amazing distro, amazing community.

Not today, but a while ago I did.
Again I just was trying to be sure everything is fine.
Again, since our last discussion I am only using yay.

@limotux with all do respect, Arch base OS or even Linux isn’t for everybody. Use what works for you.

2 Likes