# What are your daily startup/update commands?

**URL:** <https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117>\
**Category:** Pacman & AUR helpers\
**Created:** [September 3, 2023, 6:03pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117 "2023-09-03T18:03:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [September 3, 2023, 6:03pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/1 "2023-09-03T18:03:46Z")

</div>

Two months into this bitchin’ distro. After a lot of initial reading (here) I have settled into this daily startup routine:

`sudo pacman -Fy`  
`sudo pacman -Syyu` (I still don’t know the diff between `yy` and `y`)  
`yay -Syu --aur`

that’s it. once a week I add:  
`pacman -Qdt` for the orphans and `pacman -Sc`

anything unsound here? be glad to know your as well. thanks and Happy Sunday.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [September 3, 2023, 6:08pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/2 "2023-09-03T18:08:12Z")

</div>

Daily? Nothing. I usually update weekly - ish.

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [September 3, 2023, 6:10pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/3 "2023-09-03T18:10:02Z")

</div>

that’s interesting. is that preference? there always seems to be daily updates and I always assume they are important.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [September 3, 2023, 6:11pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/4 "2023-09-03T18:11:02Z")

</div>

Arch is updated all the time. You can update several times a day if you wanted to. I’ve done as much as daily, and as little as monthly without issues. It’s up to you.

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [September 3, 2023, 6:12pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/5 "2023-09-03T18:12:51Z")

</div>

> [@drunkenvicar](#):
>
> (I still don’t know the diff between `yy` and `y`)

You need to do `-Syu` on usual updates.

`-Syyu` only needed after you change something in mirrors, this command means it will force re-sync everything.

* * *

Correct command would be:

```bash
yay -Sua

```

Because when you issue command for updating only aur you don’t need `-y`

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [September 3, 2023, 6:15pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/6 "2023-09-03T18:15:19Z")

</div>

> [@drunkenvicar](#):
>
> `sudo pacman -Syyu` (I still don’t know the diff between `yy` and `y`)  
> `yay -Syu --aur`

You can just do `yay` instead of both these commands. That will first update the repos and then AUR in a single command. It is also easy to remember since it requires no options, just `yay`

> [@drunkenvicar](#):
>
> yay -Syu --aur

Don’t use this command. If you only want to update AUR, instead do `yay -Sua`

> [@drunkenvicar](#):
>
> sudo pacman -Fy

There should be no need to do this daily. Do you often use `pacman -F`? If not, there is no reason to update this.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [September 3, 2023, 6:19pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/7 "2023-09-03T18:19:38Z")

</div>

> [@drunkenvicar](#):
>
> `sudo pacman -Syyu` (I still don’t know the diff between `yy` and `y`)

> **[pacman(8)](https://pacman.archlinux.page/pacman.8.html)**

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [September 3, 2023, 8:09pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/8 "2023-09-03T20:09:35Z")

</div>

from your link:  
" **-y, --refresh**  
Download a fresh copy of the master package database from the server(s) defined in [pacman.conf(5)](https://archlinux.org/pacman/pacman.conf.5.html). This should typically be used each time you use _–sysupgrade_ or _-u_. **Passing two _–refresh_ or _-y_ flags will force a refresh of all package databases, even if they appear to be up-to-date**." [emphasis mine]

ok that is clearer, thank you. ‘seems’ like no harm will be done if I keep my `-Syyu` then. I think:).

> [@dalto](#):
>
> Don’t use this command. If you only want to update AUR, instead do `yay -Sua`

–I will adjust this, appreciate that. is the -`aur` redundant, or inviting trouble? As far as `-Fy` that does seem redundant considering Syu I think

> [@keybreak](#):
>
> `-Syyu` only needed after you change something in mirrors, this command means it will force re-sync everything.

ah, I’ve had to update mirrors twice (according to an update error in the output) so this makes sense.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [September 3, 2023, 8:12pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/9 "2023-09-03T20:12:26Z")

</div>

> [@drunkenvicar](#):
>
> ok that is clearer, thank you. ‘seems’ like no harm will be done if I keep my `-Syyu` then. I think:).

You should only pass it on rare occurances. If nothing else, the people who pay for the mirrors you use are quite literally paying more every time you pass the full -yy flag. It’s just a waste of someone else’s money if you do it everytime.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [September 3, 2023, 8:13pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/10 "2023-09-03T20:13:13Z")

</div>

> [@drunkenvicar](#):
>
> I will adjust this, appreciate that. is the -`aur` redundant, or inviting trouble?

`--aur` is the same as `-a`.

The issue is including `-y`. Never use `-Sy` unless you are updating the repo packages.

Although, again, it is pointless to run pacman and yay separately unless you have some extremely specialized use case.

Just run `yay` with no arguments, that is all you need to update both your repo and AUR packages.

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [September 3, 2023, 8:21pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/11 "2023-09-03T20:21:31Z")

</div>

> [@dalto](#):
>
> Just run `yay` with no arguments, that is all you need to update both your repo and AUR packages.

thanks. I will adjust my daily routine to `pacman -Syu` and `yay` by its lonesome. I am glad I asked, I had some un-necessary moves in there.  
–and keep my weekly/bi-weekly debris removal (a whole other thread 🫠)

---

<div class="post-metadata">

**Author:** ![bitterhalt](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bitterhalt/32/77623_2.png) [@bitterhalt](https://forum.endeavouros.com/u/bitterhalt)\
**Post date:** [September 3, 2023, 8:23pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/12 "2023-09-03T20:23:41Z")

</div>

I run update between one week or month and that is usually same time when I do reboot. I use suspend so my “uptimes” tend to be longer even when I don’t use my computer at all. Some folk recommend do updates more often but I never had any bigger issues 😶

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [September 3, 2023, 8:28pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/13 "2023-09-03T20:28:14Z")

</div>

> [@drunkenvicar](#):
>
> thanks. I will adjust my daily routine to `pacman -Syu` and `yay` by its lonesome.

I think you are missing the point, that would try to update the repo packages twice.

You can skip `pacman -Syu` and only do `yay`. That is all you need.

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [September 3, 2023, 8:35pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/14 "2023-09-03T20:35:33Z")

</div>

yay has more update superpowers than pacman?  
that sailed over my head when I read `man yay` but I don’t read every word:)

I like how my routine just gets shorter, though 😀

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [September 3, 2023, 8:39pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/15 "2023-09-03T20:39:27Z")

</div>

> [@drunkenvicar](#):
>
> yay has more update superpowers than pacman?

`yay` is a wrapper. It calls `pacman` to update the repo packages and also does other things.

Basically, the entire system update for both repo and AUR packages can be handled simply by typing `yay`.

Try it out.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [September 3, 2023, 8:52pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/16 "2023-09-03T20:52:56Z")

</div>

If you’re interested in a starting point for maintenance, one of our members wrote this up a while back to get people a jumping off point.

> [@A Complete Idiot's Guide To Endeavour OS Maintenance / Update / Upgrade](https://forum.endeavouros.com/t/a-complete-idiots-guide-to-endeavour-os-maintenance-update-upgrade/25184):
>
> I’m a complete idiot - so here’s my guide for you! It has been asked a lot, and fairly frequently recently it seems, especially by new Endeavour/new to Linux users. It was recently asked that I post how I update - so here it is. “How do I maintain / update / upgrade my system?!? Help!!” This is my maintenance plan. I have been using the same install for almost 2 years now without any major issue. I’m VERY aware there’s more than one way to do this. And most importantly - Many of these c…

---

<div class="post-metadata">

**Author:** ![r0ckhopper](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/r0ckhopper/32/51768_2.png) [@r0ckhopper](https://forum.endeavouros.com/u/r0ckhopper)\
**Post date:** [September 3, 2023, 8:58pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/17 "2023-09-03T20:58:00Z")

</div>

> [@anon63071375](#):
>
> one of our members wrote this up a while back

What happened to the guy who wrote that?

/s

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [September 3, 2023, 8:59pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/18 "2023-09-03T20:59:43Z")

</div>

Probably went off the rails, and is either in a clinic somewhere with white rooms or drunk in the corner of some dive bar and no one even knows he’s there.

---

<div class="post-metadata">

**Author:** ![r0ckhopper](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/r0ckhopper/32/51768_2.png) [@r0ckhopper](https://forum.endeavouros.com/u/r0ckhopper)\
**Post date:** [September 3, 2023, 9:08pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/19 "2023-09-03T21:08:01Z")

</div>

Probably the safest places for him… and for the rest of us 😉

---

<div class="post-metadata">

**Author:** ![drunkenvicar](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/drunkenvicar/32/112222_2.png) [@drunkenvicar](https://forum.endeavouros.com/u/drunkenvicar)\
**Post date:** [September 3, 2023, 9:35pm UTC](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117/20 "2023-09-03T21:35:28Z")

</div>

bookmarked for beer reading later. hopefully a good jukebox in your dive. watch that barkeep, he tends to bring back less change as the hours go.

[Next page](https://forum.endeavouros.com/t/what-are-your-daily-startup-update-commands/45117.md?page=2)
