# How to know if there are updates

**URL:** <https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866>\
**Category:** Newbie\
**Created:** [November 15, 2023, 7:59pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866 "2023-11-15T19:59:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fo0rte](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/f/ed8c4c/32.png) [@Fo0rte](https://forum.endeavouros.com/u/Fo0rte)\
**Post date:** [November 15, 2023, 7:59pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/1 "2023-11-15T19:59:24Z")

</div>

I dont know if someone has asked this specific question, but if you disable the notifier in EOS how do you know if you have any kind of update? Because ive seen that people disable it because they get maybe multiple updates everyday and they dont want to see it

---

<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:** [November 15, 2023, 8:02pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/2 "2023-11-15T20:02:53Z")

</div>

There are updates every day.

The theory is that you don’t need a notifier. If you do updates daily or weekly you will always have updates.

---

<div class="post-metadata">

**Author:** ![Fo0rte](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/f/ed8c4c/32.png) [@Fo0rte](https://forum.endeavouros.com/u/Fo0rte)\
**Post date:** [November 15, 2023, 8:06pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/3 "2023-11-15T20:06:04Z")

</div>

Ive been an ubuntu user in the past and i know that there you can do “sudo apt-get update” and then use “sudo apt-get upgrade” and then reboot the system, but as i want a more “challenging” distro now, how would i do it here?

---

<div class="post-metadata">

**Author:** ![thefrog](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thefrog/32/114250_2.png) [@thefrog](https://forum.endeavouros.com/u/thefrog)\
**Post date:** [November 15, 2023, 8:15pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/4 "2023-11-15T20:15:53Z")

</div>

I have a simple conky that shows me the number of updates that are available. Unlike the notifier it doesn’t do anything but display 🙂 you can also run the command  
`checkupdates`  
this will display a list of the available updates

---

<div class="post-metadata">

**Author:** ![LDC](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/l/ecae2f/32.png) [@LDC](https://forum.endeavouros.com/u/LDC)\
**Post date:** [November 15, 2023, 8:16pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/5 "2023-11-15T20:16:18Z")

</div>

if you don’t use any ‘extended repository’ you can just type:

```auto
sudo pacman -Syu

```

and this will update everything.

---

<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:** [November 15, 2023, 8:17pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/6 "2023-11-15T20:17:23Z")

</div>

> [@Fo0rte](#):
>
> how would i do it here?

You just type `yay`

That will update all your repo and AUR packages as well as update your local databases.

---

<div class="post-metadata">

**Author:** ![thingsiplay](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/ecd19e/32.png) [@thingsiplay](https://forum.endeavouros.com/u/thingsiplay)\
**Post date:** [November 15, 2023, 8:21pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/7 "2023-11-15T20:21:05Z")

</div>

`checkupdates` (in case its not installed on your system, it can be installed with `yay pacman-contrib` .)

---

<div class="post-metadata">

**Author:** ![freebird54](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/freebird54/32/83106_2.png) [@freebird54](https://forum.endeavouros.com/u/freebird54)\
**Post date:** [November 15, 2023, 8:35pm UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/8 "2023-11-15T20:35:23Z")

</div>

All the points made here so far are completely valid - it is entirely up to you, and your ‘need to know’ combined with your ‘distractability’.

Approaches like “It’s Saturday morning, I’m too old for cartoons, so I’ll run updates now” work well - and then there are those like myself who keep running track of the situation at all times. I am not bothered by a quietly and calmly smooth scrolling display of the upcoming updates (both pacman and AUR), along with a top corner reminder that “208 + 10 new | 0 ignored”, and the fact that can lead to updating MORE than once a day is my only problem 😁

Whatever you feel comfortable with - which can be different as you go along! - is the best way to handle it… for you. Enjoy!

---

<div class="post-metadata">

**Author:** ![anon4913548](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ad7895/32.png) [@anon4913548](https://forum.endeavouros.com/u/anon4913548)\
**Post date:** [November 16, 2023, 2:56am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/9 "2023-11-16T02:56:08Z")

</div>

> [@freebird54](#):
>
> the fact that can lead to updating MORE than once a day is my only problem

Instead of letting Conky notify me of available updates, I let it show me the date and time of the last update. I found this to be a good way to avoid updating too often when I’m bored 😅

---

<div class="post-metadata">

**Author:** ![thingsiplay](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/ecd19e/32.png) [@thingsiplay](https://forum.endeavouros.com/u/thingsiplay)\
**Post date:** [November 16, 2023, 3:31am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/10 "2023-11-16T03:31:22Z")

</div>

You could even go one step further and alarm you quickly if its a package you really want to be updated all the time (like Firefox). And otherwise it will notify you only once per day. That’s something I want to do with a custom script, but didn’t found time to do.

---

<div class="post-metadata">

**Author:** ![anon4913548](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ad7895/32.png) [@anon4913548](https://forum.endeavouros.com/u/anon4913548)\
**Post date:** [November 16, 2023, 6:28am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/11 "2023-11-16T06:28:12Z")

</div>

Done something like that! 😇

Here is my approach for a Conky message in case of Firefox and/or Kernel update:

> #${color green}${alignc}${if\_existing /home/denonom/.conky/checkupdates.txt firefox}Firefox Update verfügbar!${else}${if\_existing /home/denonom/.conky/checkupdates.txt linux-zen}Kernel Update verfügbar!${endif}${endif}

The prerequisite for this is to have a checkupdates.txt (created by a small autostart script) to query from, but I guess grepping the checkupdates command directly might also be a way.

However, I’m currently not using it, because I need to declutter my Conky stuff. Simply too much fun!

---

<div class="post-metadata">

**Author:** ![thingsiplay](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/ecd19e/32.png) [@thingsiplay](https://forum.endeavouros.com/u/thingsiplay)\
**Post date:** [November 16, 2023, 6:37am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/12 "2023-11-16T06:37:29Z")

</div>

Nice, I like such self created solutions with a script. And I just wrote such a script grepping from checkupdates directly. But need an actual update to test it, before posting it into the public. Currently my system is up to date and I forgot what the exact output of checkupdates actually is. 😃

Edit: I warned you: [Check Updates List - Report and notify only when specific packages needs an update on Archlinux](https://forum.endeavouros.com/t/check-updates-list-report-and-notify-only-when-specific-packages-needs-an-update-on-archlinux/47893)

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [November 16, 2023, 6:42am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/13 "2023-11-16T06:42:05Z")

</div>

> [@Fo0rte](#):
>
> how do you know if you have any kind of update?

Unless you’ve just updated, the answer is yes.

---

<div class="post-metadata">

**Author:** ![freebird54](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/freebird54/32/83106_2.png) [@freebird54](https://forum.endeavouros.com/u/freebird54)\
**Post date:** [November 16, 2023, 6:43am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/14 "2023-11-16T06:43:19Z")

</div>

To make it easier for any of you thinking of this, here’s the ‘driver’ for my conky display:

> **Updates driver**
>
> ```auto
> #!/bin/bash
> 
> # A program to safely check for updates and
> # ouput counts of new and ignored packages
> # if any updates are available
> # pacman hook rm's chk files on update
> 
> # create vars
> NEWPKG=0
> IGNPKG=0
> NEWAUR=0
> OUTPUT="System up-to-date"
> 
> # check is an Arch system!
> if [[-f /usr/bin/pacman]]; then
> ISONARCH="True"
> else
> echo "Not an Arch system"
> exit 1This text will be hidden
> fi
> 
> # count AUR updates
> NEWAUR=`yay -Qua | wc -l`
> 
> # run checkupd to create file in /tmp
> # or run checkupdates if checkupd not there
> # (ignored count not available from checkupdates)
> if [[-f /usr/bin/checkupd]]; then
> checkupd > /tmp/conky-update-check
> else
> checkupdates > /tmp/conky-update-check
> IGNPKG="?"
> fi
> # if file not zero length, count pkgs
> # else OUTPUT "System up-to-date"
> # and remove 'list' file for scroller
> if [[-s /tmp/conky-update-check]]; then
> while IFS=$'\n' read -r line;
> do
> ((++NEWPKG))
> if [["$line" == *"[ignored]"* ]]; then
> ((--NEWPKG))
> ((++IGNPKG))
> fi
> done < /tmp/conky-update-check
> # Also create list of packages for scroll
> if [[-f /usr/bin/checkupdext]]; then
> checkupdext > /tmp/conky-update-list
> else
> checkupdates > /tmp/conky-update-list
> fi
> if [[${NEWAUR} > 0]]; then
> echo " " >> /tmp/conky-update-list
> echo "AUR Packages" >> /tmp/conky-update-list
> echo "------------" >> /tmp/conky-update-list
> yay -Qua | column -t -N Name,Current,"->",New >> /tmp/conky-update-list
> fi
> if [[${NEWPKG} == 0]]; then rm /tmp/conky-update-list; fi
> else
> echo ${OUTPUT} > /tmp/conky-update-report
> rm /tmp/conky-update-list
> exit 0
> fi
> 
> # output RESULT
> RESULT=$NEWPKG" + "$NEWAUR" new | "$IGNPKG" ignored"
> echo $RESULT > /tmp/conky-update-report
> exit 0
> 
> ```

You might find a useful piece in there, although the ‘styles’ aren’t needed if you aren’t displaying the update file lists onscreen!

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [November 16, 2023, 6:44am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/15 "2023-11-16T06:44:09Z")

</div>

What’s the point of any of that?

To me it seems like a very complicated way for your computer to tell you: “Yes, indeed, there are updates available, because there are always updates available.”

Do you also have a conky that tells you that, today specifically, 2+2=4? Do you connect to some server to check if that is true?

---

<div class="post-metadata">

**Author:** ![freebird54](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/freebird54/32/83106_2.png) [@freebird54](https://forum.endeavouros.com/u/freebird54)\
**Post date:** [November 16, 2023, 6:47am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/16 "2023-11-16T06:47:06Z")

</div>

Completely unnecessary, but done for fun - and saves effort anytime I wonder about what updates might be waiting! Sometimes I want to know if (for instance) a ZFS capable kernel is waiting, so I know whether to update now rather than later…

Is everything on your system there for a sensible reason? If so, I guess you haven’t been infected by conky fever yet 🐸

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [November 16, 2023, 6:47am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/17 "2023-11-16T06:47:24Z")

</div>

> [@freebird54](#):
>
> Is everything on your system there for a sensible reason?

Yes. 👀

---

<div class="post-metadata">

**Author:** ![freebird54](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/freebird54/32/83106_2.png) [@freebird54](https://forum.endeavouros.com/u/freebird54)\
**Post date:** [November 16, 2023, 6:52am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/18 "2023-11-16T06:52:31Z")

</div>

Avoid conky then - you can get used to having everything you want to know immediately at hand without even having to type in an alias…

As for updates - I might know there is LIKELY to be some, but are there enough to do it now, or do I have time to do it now, or what specifically, or…

---

<div class="post-metadata">

**Author:** ![vazicebon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/vazicebon/32/81098_2.png) [@vazicebon](https://forum.endeavouros.com/u/vazicebon)\
**Post date:** [November 16, 2023, 8:38am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/19 "2023-11-16T08:38:06Z")

</div>

> [@Fo0rte](#):
>
> if you disable the notifier in EOS how do you know if you have any kind of update?

For the official repos :

```auto
checkupdates

```

For the AUR :

```auto
yay -Qu

```

---

<div class="post-metadata">

**Author:** ![Fo0rte](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/f/ed8c4c/32.png) [@Fo0rte](https://forum.endeavouros.com/u/Fo0rte)\
**Post date:** [November 16, 2023, 11:31am UTC](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866/20 "2023-11-16T11:31:48Z")

</div>

wait, i know its really a newbie question, but every time you mean package you mean the applications you got or the modifications you made to your DE?

[Next page](https://forum.endeavouros.com/t/how-to-know-if-there-are-updates/47866.md?page=2)
