# Yay seems installing everything!

**URL:** <https://forum.endeavouros.com/t/yay-seems-installing-everything/42457>\
**Category:** Newbie\
**Created:** [June 26, 2023, 7:43am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457 "2023-06-26T07:43:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 7:43am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/1 "2023-06-26T07:43:59Z")

</div>

As usual, started the day with `yay`, I am seeing something I never saw before. It is taking ages, doing lots of things as if downloading and reinstalling the whole systems.  
The strange thing I saw lots of lines saying Grub, though I am on systemd-boot and NEVER had Grub on this machine!

Anybody has a clue what is going on?  
These are a few lines I could copy → [https://pastebin.com/xx0CBQhP](https://pastebin.com/xx0CBQhP)

---

<div class="post-metadata">

**Author:** ![chromian](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/chromian/32/58593_2.png) [@chromian](https://forum.endeavouros.com/u/chromian)\
**Post date:** [June 26, 2023, 8:21am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/2 "2023-06-26T08:21:09Z")

</div>

What is the command?!

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 8:26am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/3 "2023-06-26T08:26:54Z")

</div>

> [@chromian](#):
>
> What is the command?!

I just did `yay`

I broke the execution (CTL-C), did yay again, broke, rebooted… etc. I noticed the first thing it is trying to update was ventoy several times.

Inner gut gave me a hint and uninstalled ventoy.

Tried update again but this time:

```auto
[limo@asus ~]$ yay -Syyu
:: Synchronizing package databases...
 endeavouros 27.6 KiB 72.7 KiB/s 00:00 [-----------------------] 100%
 core 132.2 KiB 357 KiB/s 00:00 [-----------------------] 100%
 extra 8.3 MiB 3.07 MiB/s 00:03 [-----------------------] 100%
 community 45.0 B 175 B/s 00:00 [-----------------------] 100%
 multilib 140.7 KiB 364 KiB/s 00:00 [-----------------------] 100%
:: Searching AUR for updates...
:: Searching databases for updates...
 -> Flagged Out Of Date AUR Packages: python-coloredlogs
 there is nothing to do
[limo@asus ~]$ 

```

Everything went as expected. I do not know what was ventoy trying to do!

---

<div class="post-metadata">

**Author:** ![SearingSunrazeSmash](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/searingsunrazesmash/32/74433_2.png) [@SearingSunrazeSmash](https://forum.endeavouros.com/u/SearingSunrazeSmash)\
**Post date:** [June 26, 2023, 8:28am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/4 "2023-06-26T08:28:26Z")

</div>

Why using` yay -Syyu` ?

Just doing `yay` is enough, I guess…

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 8:30am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/5 "2023-06-26T08:30:34Z")

</div>

> [@SearingSunrazeSmash](#):
>
> Just doing `yay` is enough, I guess…

I know, this is what I usually do, but I just thought to do it in addition to `yay`. Just to be sure everything is running fine.

Just rebooted now and did `yay` again. everything is working as expected.

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 8:38am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/6 "2023-06-26T08:38:35Z")

</div>

As I was seeing lots of lines with the Grub word, I did:

```auto
yay grub

```

and found:

```auto
1 core/grub 2:2.06.r566.g857af0e17-1 (6.8 MiB 33.2 MiB) (Installed)
    GNU GRand Unified Bootloader (2)
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 

```

I am sure when I made a fresh install on this new laptop ( a bit less than a year) I never installed Grub and selected the default systemd-boot.

May be it came in during that ventoy mess?  
I do not need anything Grub as I am happy with the default systemd-boot.

**Should I uninstall it?** Is it safe to just uninstall it?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 26, 2023, 8:43am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/7 "2023-06-26T08:43:39Z")

</div>

> [@limotux](#):
>
> I am sure when I made a fresh install on this new laptop ( a bit less than a year) I never installed Grub and selected the default systemd-boot.

Run `cat /var/log/pacman.log | grep grub` to see when it was installed on your system.

> [@limotux](#):
>
> I do not need anything Grub as I am happy with the default systemd-boot.
> 
> **Should I uninstall it?** Is it safe to just uninstall it?

If you are using systemd-boot, you could remove Grub.

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 8:57am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/8 "2023-06-26T08:57:18Z")

</div>

> [@pebcak](#):
>
> Run `cat /var/log/pacman.log | grep grub` to see when it was installed on your system.

I got this [https://pastebin.com/NHGzUQnd](https://pastebin.com/NHGzUQnd)  
But I am not sure how to interpret the dates, but I am sure that while I was installing, at least the latest install I never selected Grub, I followed the defaults which was systemd-boot.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 26, 2023, 9:04am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/9 "2023-06-26T09:04:14Z")

</div>

```auto
* 11-18T06:52:52+0200] [ALPM] running 'zz-snap-pac-grub-post.hook'...

* [2022-11-18T06:52:52+0200] [ALPM-SCRIPTLET] Generating grub configuration file ...

* [2022-11-18T06:52:52+0200] [ALPM-SCRIPTLET] Found background: /boot/grub/coralsoceanunderwater.png

* [2022-11-18T06:52:54+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-11-17 10:46:29 | @/.snapshots/1556/snapshot | post | grub libnghttp2 perl-clone perl-http-message python-mako python-setuptoo |

```

A few lines at the top of the log you have posted indicates that at some point in time you have had some Grub in one form or another (grub-btrfs ?).

I can’t tell more since I think you should keep track of what gets installed on your system, when and why.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 26, 2023, 9:08am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/10 "2023-06-26T09:08:52Z")

</div>

You have been doing “stuff” with Grub?

The bottom lines of the log:

```auto
* [2022-12-28T09:14:53+0200] [ALPM] removed grub (2:2.06.r403.g7259d55ff-1)

* [2023-06-09T10:30:48+0300] [ALPM] installed grub (2:2.06.r499.ge67a551a4-1)

* [2023-06-09T10:30:48+0300] [ALPM-SCRIPTLET] $ grub-install ...

* [2023-06-09T10:30:48+0300] [ALPM-SCRIPTLET] $ grub-mkconfig -o /boot/grub/grub.cfg

* [2023-06-09T10:30:50+0300] [ALPM] running 'grub_update.hook'...

* [2023-06-09T10:30:50+0300] [ALPM-SCRIPTLET] /usr/bin/grub-install: error: cannot find EFI directory.

* [2023-06-12T20:17:11+0300] [ALPM] removed grub (2:2.06.r499.ge67a551a4-1)

* [2023-06-26T10:24:06+0300] [ALPM] installed grub (2:2.06.r566.g857af0e17-1)

* [2023-06-26T10:24:06+0300] [ALPM-SCRIPTLET] $ grub-install ...

* [2023-06-26T10:24:06+0300] [ALPM-SCRIPTLET] $ grub-mkconfig -o /boot/grub/grub.cfg

* [2023-06-26T10:24:08+0300] [ALPM] running 'grub_update.hook'...

* [2023-06-26T10:24:08+0300] [ALPM-SCRIPTLET] /usr/bin/grub-install: error: cannot find EFI director

```

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 9:09am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/11 "2023-06-26T09:09:20Z")

</div>

> [@pebcak](#):
>
> A few lines at the top of the log you have posted indicates that at some point in time you have had some Grub in one form or another (grub-btrfs ?).
> 
> I can’t tell more since I think you should keep track of what gets installed on your system, when and why.

Maybe something I installed got a trace or installed Grub. Recoll, Some BTRFS software? Snapper… I do not know, what I am 10000% sure of is that I did not install it on purpose!

Update: The last lines I can say it was because of ventoy somehow! (Ah, maybe ventoy did it somehow when I installed it some time ago to play with different distros from a USB flash disk,)

Would be safe to uninstall and remove eanything and everything Grub? (I uninstalled ventoy as it seems to be the cause of this endless update I encounters this morning… and I am suspicious it was what brought Grub though I never did!)

What command should I do to be sure I completely remove both Grub and ventoy?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 26, 2023, 9:13am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/12 "2023-06-26T09:13:36Z")

</div>

> [@limotux](#):
>
> I am 10000% sure of is that I did not install it on purpose!

` [ALPM] running 'grub_update.hook'..`

Do you have a pacman hook for updating Grub? You don’t need these stuff if you use systemd-boot.  
You can remove it.

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 9:17am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/13 "2023-06-26T09:17:30Z")

</div>

> [@pebcak](#):
>
> `[ALPM] running 'grub_update.hook'..`
> 
> Do you have a pacman hook for updating Grub?

I remember I had a Grub hook some time ago (a hook to automatically manage the Grub stuff so it won’t break), maybe it was copied along with the files I had as backup on an external drive then I copied /home/limo/ from that external drive after I installed EndeavourOS on this new laptop.

UPDATE:  
I checked an old thread [Grub Hook to grub-install and grub-mkconfig?](https://forum.endeavouros.com/t/grub-hook-to-grub-install-and-grub-mkconfig/32585) and found I have grub\_update.hook at /etc/pacman.d/hooks/

Now, I think I should delete it, right?  
What commands to do to completely get rid of Grub and ventoy and any of their traces?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 26, 2023, 9:21am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/14 "2023-06-26T09:21:50Z")

</div>

> [@limotux](#):
>
> I had a Grub hook some time ago

> [@limotux](#):
>
> maybe it was copied along with the files I had as backup

> [@pebcak](#):
>
> You don’t need these stuff if you use systemd-boot.  
> You can remove it.

You could uninstall Grub and remove the hook.

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 9:24am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/15 "2023-06-26T09:24:17Z")

</div>

> [@pebcak](#):
>
> You could ninstall Grub and remove the hook.

What commands to do to completely get rid of Grub and ventoy and any of their traces? Just to be sure I won’t break my system, this is not just an app, it is related to boot loader so it is serious for me. I do not want to do something wrong and end up with a non bootable system, so I better ask the experts.

Just did

```auto
[limo@asus hooks]$ sudo rm *.*
[sudo] password for limo: 
[limo@asus hooks]$ 

```

deleted the hook

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 26, 2023, 9:25am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/16 "2023-06-26T09:25:52Z")

</div>

`sudo pacman -Rs grub ventoy` should do it.

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 9:33am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/17 "2023-06-26T09:33:48Z")

</div>

> [@pebcak](#):
>
> sudo pacman -Rs grub ventoy

```auto
[limo@asus ~]$ sudo pacman -Rs grub ventoy
[sudo] password for limo: 
error: target not found: ventoy
[limo@asus ~]$ sudo pacman -Rs grub
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing grub breaks dependency 'grub' required by libguestfs
[limo@asus ~]$ 

```

Dependency?!!  
Is it related to VirtualBox?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 26, 2023, 9:42am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/18 "2023-06-26T09:42:26Z")

</div>

> [@limotux](#):
>
> `error: target not found: ventoy`

Seems to have been removed previously.

> [@limotux](#):
>
> `:: removing grub breaks dependency 'grub' required by libguestfs`

`libguestfs` is a dependency of `guestfs-tools`, which is a tool “for accessing and modifying guest disk images”

> **pacman -Si guestfs-tools**
>
> ```auto
> Repository : extra
> Name : guestfs-tools
> Version : 1.48.3-1
> Description : Tools for accessing and modifying guest disk images
> Architecture : x86_64
> URL : http://libguestfs.org/
> Licenses : GPL2 LGPL2.1
> Groups : None
> Provides : None
> Depends On : gcc-libs glibc jansson openssl perl-libintl-perl libguestfs libguestfs.so=0-64 libvirt libvirt.so=0-64 libxml2 libxml2.so=2-64 ncurses libncursesw.so=6-64 pcre2 libpcre2-8.so=0-64 xz liblzma.so=5-64
> Optional Deps : None
> Conflicts With : None
> Replaces : None
> Download Size : 3.37 MiB
> Installed Size : 28.05 MiB
> Packager : David Runge <dvzrv@archlinux.org>
> Build Date : Wed 11 Jan 2023 04:55:39 PM CET
> Validated By : MD5 Sum SHA-256 Sum Signature
> 
> ```

If you use `guestfs-tools` then you would need to keep around `grub` since it is a dependency for its dependency. Grub won’t be interfering with your boot process.

If you don’t use `guestfs-tools` then you could remove it:

`sudo pacman -Rs guestfs-tools`

---

<div class="post-metadata">

**Author:** ![limotux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/limotux/32/35347_2.png) [@limotux](https://forum.endeavouros.com/u/limotux)\
**Post date:** [June 26, 2023, 9:56am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/19 "2023-06-26T09:56:31Z")

</div>

> [@pebcak](#):
>
> If you don’t use `guestfs-tools` then you could remove it:
> 
> `sudo pacman -Rs guestfs-tools`

I believe it is required by VirtualBox. Right?  
If so, I just have to leave it

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 26, 2023, 10:01am UTC](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457/20 "2023-06-26T10:01:46Z")

</div>

> [@limotux](#):
>
> I believe it is required by VirtualBox. Right?

No, it’s not.

> ### Required By (0)
> 
> 👁 [https://archlinux.org/packages/extra/x86\_64/guestfs-tools/](https://archlinux.org/packages/extra/x86_64/guestfs-tools/)

[Next page](https://forum.endeavouros.com/t/yay-seems-installing-everything/42457.md?page=2)
