# 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:** 1\
**Showing post:** 4

<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.

---

_[View the full topic](https://forum.endeavouros.com/t/trouble-updating/63884)._
