Giter Site home page Giter Site logo

steadfasterx / arch_uau Goto Github PK

View Code? Open in Web Editor NEW
10.0 5.0 4.0 47 KB

Unattended upgrades are completely against the Arch philosophy! .. but what about if you still want to?

License: GNU Lesser General Public License v3.0

Shell 100.00%
arch linux upgrade unattended

arch_uau's Introduction

uAu - unattended Arch upgrade

Unattended upgrades are completely against the Arch philosophy!

So NEVER ever enable the AUTOUPGRADE of uAu!!! ;) - just kidding. I use the auto-upgrade since 2017 without any issues on 2 desktop PCs.

The usual Arch upgrade flow

Upgrading Arch means you have to follow this:

BEFORE starting any upgrade

1) Read the Arch news site
2) If you use packages from the AUR it is recommended to check the latest comments there
3) Take your time for doing the upgrade

DOING the upgrade

4) Always sync the databases before doing anything else
5) Partial Upgrades are totally unsupported! So never ever use "IgnorePkg" --ignore or --ignoregroup
6) Sit down, answer questions, make the upgrade interactively

AFTER the upgrade

7) Check systemd failure states
8) Check journal for high prio errors

The uAu flow (default)

uAu will by default do for you:

steps 1,2 and 4 and send this by Email so you stay informed in order to do the other steps

The uAu flow (advanced)

uAu CAN do for you (if you change the default setting):

steps 1-8 and send you the results by Email
(means a fully unattended upgrade with all the above)

What this is (excerpt from IRC):

[04-28 10:44] <steadfasterX> before upgrading: 1) read the arch news page 2) read latest AUR comments of your packages 3) upgrading interactively (means you sit for 10min or longer , answering questions, typing password etc)
[04-28 10:44] <steadfasterX> doing all this REGULARY
[04-28 10:44] <steadfasterX> no one actually will do this
[04-28 10:45] <steadfasterX> they all tell you u have to do it this way
[04-28 10:45] <steadfasterX> but..
[04-28 10:45] <steadfasterX> at the end they install updates and when something fails they google the errors
[04-28 10:45] <steadfasterX> so
[04-28 10:45] <steadfasterX> why not just doing it automatically?
[04-28 10:45] <steadfasterX> ffs
[04-28 10:46] <steadfasterX> I have made a tool which is doing all the above
[04-28 10:46] <steadfasterX> sending you information by mail and doing the whole upgrade stuff based on a calendar timer etc
[04-28 10:49] <steadfasterX> it checks for the repo packages to upgrade and then parses the Arch News page
[04-28 10:49] <steadfasterX> it check for the AUR packages and show the latest X comments for them
[04-28 10:49] <steadfasterX> it shows the last Arch general News
[04-28 10:49] <steadfasterX> (even when not for a specific pacakge)
[04-28 10:50] <steadfasterX> it upgrades ofc
[04-28 10:50] <steadfasterX> and then it is not the end
[04-28 10:50] <steadfasterX> !
[04-28 10:51] <steadfasterX> it checks systemd failures before and after the upgrade and displays you the diff
[04-28 10:51] <steadfasterX> it checks high prio failures since the upgrade in your journal
[04-28 10:51] <steadfasterX> NO ONE WILL ACTUALLY DO THIS ALL ABOVE MANUALLY - NO ONE!!
[04-28 10:51] <steadfasterX> only when there is a problem ofc
[04-28 10:52] <steadfasterX> but uAu does this all.. every time .. automatically
[04-28 10:52] <steadfasterX> i forgot to mention that the whole crap is fully configurable to your needs x)

Normal installation

yay -S uau

Manual installation

read and follow:

https://github.com/steadfasterX/arch_uau-pkg/blob/master/README.md

arch_uau's People

Contributors

modprog avatar steadfasterx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

arch_uau's Issues

egrep is obsolescent;

When I launch uau I see the following message:

fetching the latest news (and AUR comments) before upgrading
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
starting the unattended system upgrade!

Probably it's something to fix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.