# Trouble updating

**URL:** <https://forum.endeavouros.com/t/trouble-updating/63884>\
**Category:** EndeavourOS installation\
**Created:** [December 3, 2024, 7:34pm UTC](https://forum.endeavouros.com/t/trouble-updating/63884 "2024-12-03T19:34:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snowarch](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/s/ecc23a/32.png) [@Snowarch](https://forum.endeavouros.com/u/Snowarch)\
**Post date:** [December 3, 2024, 7:34pm UTC](https://forum.endeavouros.com/t/trouble-updating/63884/1 "2024-12-03T19:34:43Z")

</div>

-syyu and hitting enter till it updates leaves me in a broken package loop. How do i update my system? I use a combonation of “yay” and “flatpak”. But yay no longer works either. I got bluetooth to work finally a few weeks ago after months so i do not want to reinstall that and all my games again. Any suggestions for an update? Also i forgot how to view installed yay packages and remove some. I think its something like

Yay -R or Rm package-name

But unsure. I need this update cause suddenly my openXR install is too old for beatsaber even tho it worked fine pre steam vr update. So need help updating and cleaning my systsm

---

<div class="post-metadata">

**Author:** ![chikenf00t](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/chikenf00t/32/70638_2.png) [@chikenf00t](https://forum.endeavouros.com/u/chikenf00t)\
**Post date:** [December 3, 2024, 7:43pm UTC](https://forum.endeavouros.com/t/trouble-updating/63884/2 "2024-12-03T19:43:52Z")

</div>

[How to include system logs in your post](https://discovery.endeavouros.com/forum-log-tool-options/how-to-include-systemlogs-in-your-post/2021/03/)  
Also need you to post the full output of your commands so that we can understand what exactly is wrong.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [December 3, 2024, 10:11pm UTC](https://forum.endeavouros.com/t/trouble-updating/63884/3 "2024-12-03T22:11:07Z")

</div>

never use -Syyu by default to update… if unsure … go use the buttons from welcome app…

And in case it does not get till the end… post the exact error it shows in terminal.

---

<div class="post-metadata">

**Author:** ![Bink](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bink/32/87216_2.png) [@Bink](https://forum.endeavouros.com/u/Bink)\
**Post date:** [December 3, 2024, 10:56pm UTC](https://forum.endeavouros.com/t/trouble-updating/63884/4 "2024-12-03T22:56:42Z")

</div>

In addition to the good advice @chikenf00t and @joekamprad have offered, `eos-update` is a useful script created by the Endeavour team, for updating your system.

See @manuel’s topic about it here:

> [@Eos-update news](https://forum.endeavouros.com/t/eos-update-news/52951):
>
> eos-update is an app for updating the EndeavourOS system. It uses pacman and yay or paru in its operation. Please note that eos-update is not a replacement for pacman/yay/paru nor a requirement in any way, but can make life a bit easier at times. The purpose of eos-update is to add some useful features on top of the mentioned tools, for example: Has options (--clear-databases and --keyrings-reset) for dealing with update failures due to package database or keyring issues. Can clear pacman d…

An example of how to run it:

```auto
eos-update --yay

```

To list installed packages, use the query argument `Q`:

```auto
yay -Q

```

- `Q` : Query.

You can pipe that to `grep` if you’d like to filter that list. Useful if checking for particular packages:

```auto
yay -Q | grep package-name

```

As for removing packages, to remove just the package, use the `R` argument:

```auto
yay -R package-name

```

- `R` : Remove.

Doing that is fine, but it may leave some orphans (dependencies that no longer have any parent package installed). To clean those up after, you would run:

```auto
yay -Yc

```

- `Y` : Perform `yay` specific operation.
- `c` : Clean.

This one below removes a package and all its dependencies, and also packages that depend on it. It’s very thorough but **be careful with this one** , some packages (eg: ffmpeg) are so intertwined you might end up removing half your system:

```auto
yay -Rcns package-name

```

- `R` : Remove.
- `c` : Cascade, removes packages that depend on this package (be careful!).
- `n` : No-save, ignores backup designations.
- `s` : Recursive, removes dependencies also.
